. Use
$_POST['table_name'] instead of $_POST[table_name]. The same goed also for
$_POST[field_name], $_POST[field_type] and $_POST[field_length].
HTH
Erwin
?
//indicate the database you want to use
$db_name =testDB;
//connect to database
$connection = mysql_connect(localhost,john,doe99) or
die
Dark Rotter wrote:
Hi,
When i print a date, the format of this date is: 8 nov
2001 0:00
(print ($array[date]))
but i need print this: 08/11/2001
how i print this ?
try
print date( 'd/m/Y', strtotime( $array['date'] ) );
HTH
Erwin
--
PHP General Mailing List (http://www.php.net
setting. As from php version 4.2.2, this setting
defaults to Off, while older versions defaults to On.
Grtz Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
);
$l_cookie_expire2 = (int) date('r', time() + 400*30*12 );
HTH
Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
() + 400;
$l_cookie_expire2 = time() + 400*30*12;
You're right of course, let's say that it was very early when I wrote that
answer ;-))
Grtz Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$string = 'string';
echo $string[0]; // will echo 's'
True, but that's different than the array type. Sometimes you'll just need
an array instead of a string.
Try using
$string = explode( '', 'string' );
Grtz Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
';
preg_split('//', $string, -1, PREG_SPLIT_NO_EMPTY);
?
in this case, right?
Grtz Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
).
Grtz Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Eric Pierce wrote:
Hi there...
Just wondering... when creating a dynamic image, is
there a way/fuction to insert an existing image using
x,y coordiantes for precision?
Yes, there is...use imagecopy (http://www.php.net/imagecopy)
Grtz Erwin
--
PHP General Mailing List (http://www.php.net
.
Grtz Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
string )
Use
a href=javascript:
openWin('email.php?ref=?=urlencode($pageURL);?')this page/a
HTH
Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Oliver Spiesshofer wrote:
Hi,
Is it possible to use mbstring after setting the necessary values in
ini_set() or htaccess without having it enabled during /configure?
Nope...the functions of mb are unknown, because you didn't compile them.
Grtz Erwin
--
PHP General Mailing List (http
not...this is a HREF tag, which can use instead of amp;. amp;
is for displaying purposes only, not for URL's.
Following the tip from Marek, adjust your errormessage mailing thingy...add
all the $_GET variables to it (print_r($_GET)). Some other notices maybe
usefull to...
Erwin
--
PHP General Mailing List (http
on the server of the wolfmp.exe
starting up the game console.
Don't you get any visual output if you use passthru instead of exec???
Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'll let you know what turns up (of course, the problem will stop
occurring once I add this info :-).
As it always does ;-))
Grtz Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
4.1.2 (CLI version)
Erwin Kerk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Bogdan Stancescu wrote:
You probably mis-typed something:
[EMAIL PROTECTED] ~]$ php
?
if (info == 0) echo is 0\n; else echo not 0\n;
?
Content-type: text/html
X-Powered-By: PHP/4.3.11
is 0
Tried that, but notice the PHP Version, it is failing in PHP 4.1.2!
Erwin Kerk
--
PHP General Mailing List
is..
Any help will be greatly appreciated..
Thanks,
/sagar
I guess you're trying to get some data from the server after the page
load (problably by javascript), so this might be of help:
http://www.scss.com.au/family/andrew/webdesign/xmlhttprequest/
Erwin Kerk
--
PHP General Mailing List (http
.
somethinglike:
img src=script_that_show_image_and_deletes_it.php?image=ladieda.jpg /
Erwin Kerk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
= eregi_replace($replace,'',$txt);
What I'm trying to do is match the font-size: and replace everything up
to the ; with '' ie nothing
dont work
Feel I'm so close ;-(
tia
Pete
Try this:
$pattern = 'font\-size:.*?\;';
Erwin Kerk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
pete M wrote:
The pattern
$pattern = 'font\-size:.*?\;';
throwns the error
eregi_replace(): REG_BADRPT
Well, this should work (tested and all )
$pattern=|font\-size:.*?;|si;
$txt = preg_replace( $pattern, , $txt );
Erwin
This should work:
https://url_locaion.org/prev_page.php?SID=$SIDuid=$uidELEM_ID=$id#tag
Erwin
Susan Ator wrote:
I am passing 3 pieces of information on every URL. For example:
https://url_location.org/page.php?SID=$SIDuid=$uidELEM_ID=$id
I need to be able to return to a previous page using
have you tried:
so = window.open('','? echo $callerWin; ?'); ??
Erwin Kerk
Web Developer
Rich Fox wrote:
I have a page with the following code:
?
$callerWin = $_POST['CallerWin'];
?
html
body
script type=text/javascript
!--
so = window.open('','CompanyEdit');
so.location.reload
Try this (as found on php.net)
$str = 'Not Good';
if (($timestamp = strtotime($str)) === -1) {
echo The string ($str) is bogus;
} else {
echo $str == . date('l dS of F Y h:i:s A',$timestamp);
}
Erwin Kerk
Web Developer @ BliXem.nl
Jason Wong wrote:
On Tuesday 25 March 2003 00:39
similar.
check: http://www.php.net/manual/en/features.file-upload.put-method.php
Maybe something is similar is possible for POST, and for GET your could
use a rewrite rule in the httpd.conf file
Erwin Kerk
Web Architect
--
____
| __|_ ___ __ _(_)_ _
| _|| '_\ V V / | ' \ @blixem.nl
- Original Message -
From: Petre Agenbag [EMAIL PROTECTED]
To: Erwin [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, November 05, 2002 8:24 PM
Subject: Re: [PHP] Re: creating and ftp text file
Hi Erwin
OK, my first problem:
your code genrates errors,
it says fwrite
Colin Eldridge wrote:
Question: Is there a simple way for PHP to identify which host a
form has come from?
Do the hosts have fixed ip's?
If Yes, you could use $_SERVER[REMOTE_ADDR] do identify them...
Erwin Kerk
Web Developer
E: [EMAIL PROTECTED]
W: www.blixem.nl
--
PHP General Mailing
uploading and sharing.
http://photos.yahoo.com/
I use HTML-kit all the time. Has a built-in ftp client, lots of plugins
available, in-program previews (via local webserver), and much more.
http://www.htmlkit.com
Erwin Kerk
Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
.
Normal behavior for jultiple windows (or frames) and sessions, is that
they wait for each other to close (not destrow, close) the session.
See http://www.php.net/manual/en/function.session-write-close.php for
more information.
Godd luck with this one.
Erwin Kerk
Web Developer
-BEGIN PGP
quotes around $p
Erwin Kerk
Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Daniel Clark wrote:
p=4.78
I wonder if a dot is a valid character for a URL adderss?
Yup. Just tried it, it works.
Erwin Kerk
Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
= array_merge($_POST,unserialize(stripslashes($_POST['post'])));
Erwin Kerk
Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
script cannot identify the value as x.
Try: fputs($fp, $name=$value\n);
Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
JS)
Seems to be solved...
Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, the CRON daemon won't notice the
every-minute job until 3.01 pm.
Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi All,
I've seen a script somewhere which accepts a crontab file for input, and
then displays all jobs in a calendar-like screen. However, I forgot the
name. Searching Google didn't help me either.
Does anyone know the name (and if possible, an url) of this script?
Thanks in advance,
Erwin
://%{HTTP_HOST}:81$1.php
Erwin Kerk
Webdeveloper
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Interesting problem. I would expect it to work too. I assume it is a bug.
2012/7/2 Nick Chalk n...@loadbalancer.org
Afternoon all.
I seem to be having a little trouble with extending the
SimpleXMLElement class. I would like to add a destructor to the
subclass, but am finding that it is not
Or you could use a regular expression:
$probe = '2000-01-01';
$found = preg_match('/(19|20)\d\d[- \.](0[1-9]|1[012])[-
\.](0[1-9]|[12][0-9]|3[01])/', $probe);
var_dump($found==1);
Erwin
2012/7/3 shiplu shiplu@gmail.com
I want to thank you, Daniel, for this help. - I was looking
Well, I think you are right. Take a look at this graph of the number of
messages posted starting in 1998. The stackoverflow.org effect?
messages -
https://docs.google.com/spreadsheet/ccc?key=0Ak1QF0ijPYbedDNvb19SQl80MHcxUWhhbTZOYm5FUlE
Erwin
2012/7/4 RGraph.net support supp...@rgraph.net
Hi
on the system.
Considering we have the products (in most cases the up-to-date
versions)
it must be some obvious problem - but I have no idea.
Thanks for help in advance,
Erwin
--
Dipl.-Ing. Erwin SRUBAR
Zentraler Informatikdienst, Bereich ,,Zentrale
101 - 141 of 141 matches
Mail list logo