Maybe your script timed out before it could finish. Try
set_time_limit(0)
Another possibility is that your browser gave up. You may need 4GB of
disk cache because browsers usually save all files in cache before
copying them to the place you designate.
Robin
Wei Weng wrote:
First, I am
[-^-!-%- wrote:
Hello everyone,
I'm in the process of revising my db development prices, and was wondering
what the best practices were. I want to keep my prices low, but I often
feel like I'm not charging close to what I should be charging.
1) What is the going rate for Database
why does
? $qty = 0 ; if ($qty != test) print qty is not test; ?
work properly but not the following
? $qty = 0 ; if ($qty != test) print qty is not test; ?
Thanks,
Robin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Thank you, that was it. I needed to test the variable against both an
integer and a string, so I ended up using (string) when I need to
compare a string. Rest of the time, it's an integer.
Robin
Rasmus Lerdorf wrote:
If you set $qty=0; then $qty has no value.
Of course it has a value.
The integer 0 is equal to False, but not Null.
Robin
Kodrik wrote:
If you set $qty=0; then $qty has no value.
Of course it has a value.
No it doesn't have a value.
PHP interprets 0 as null.
A very easy way for you to check:
$value=0;
if(!$value) printf($value doesn't have
?
$required = array('name','address','phone');
$has_empty = 0;
foreach ($required as $var) {
if (!is_set($$var)) $has_empty = 1;
}
if ($has_empty) print 'You left one empty.';
?
You don't need to use the $has_empty variable, but I thought it would be
better to just display the
This is very true. I have a few ideas that I want to sell, but the only
way that I can do it with PHP is to give out the source, and the user is
expected to know how to install PHP and set up the script. If I can
compile the PHP script, then I can sell the executables. The users
would only
Instead of \n try \r\n
Robin
Jamie Thompson wrote:
ok so i got
mail([EMAIL PROTECTED], $message, sms alert, Return-Path: $email
$email\nFrom: $email $email\nReply-To: $email $email\nX-Mailer: .
phpversion());
the email appears as from [EMAIL PROTECTED] istead of [EMAIL PROTECTED]
8 matches
Mail list logo