the event
name. I could do the whole event name but it could get quite long.
Thanks,
Dimitri Marshall
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s isn't a usual format, and I tried htmlsecialchars
ENT_QUOTES but it still saves the picture name onto the server like such:
photo\'.jpg.
Can someone help me out?"
Dimitri Marshall
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ame FROM employees WHERE surname =
> '{$_GET['surname']}'"
You might also want to do it this way...
"SELECT firstname, surname FROM employees WHERE surname =
\"{$_GET['surname']}\""
Just in case their name is something like O'Neil,
Sorry, what I mean is...
I have a field in a form where users input text.
If the user inputs something like: Hi there, "this is a quote" and you
should know it.
Then only... get's inserted because of the double quotes.
Is that more clear?
Dimitri Marshall
"Chris Shiflet
Hi there,
I'm sure this is an easy fix, but how do you either prevent users from being
able to input " " in a field or make it so that it doesn't affect the code?
Thanks in advance,
Dimitri Marshall
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
with no success.
Any help is greatly appreciated.
Thanks,
Dimitri Marshall
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
put 'object'$objectNumber together so I just
changed it to simply $objectNumber, so it now works.
This is what the code is now:
$file = $_FILES{$objectNumber};
$fileName = $file['name'];
$filetmp = $file['tmp_name'];
... and everything works.
Dimitri Ma
n do to make it work?
Thanks in advance,
Dimitri Marshall
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
what the HTML is for this. I can't remember.
Thanks a bunch in advance,
Dimitri Marshall
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
way to do this. Could someone enligthin
me?
Greatly appreciate any help in advance,
Dimitri Marshall
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I want to delete the posts after 30 days, and if I
delete the row, then that would mess up the row system.
Any suggestions?
Dimitri Marshall
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hey,
Here's my situation. I'm making a message board and I want posts to be
deleted after 30 days.
Does anyone know of a script, or how, I can delete an entry on my database
after a certain amount of time (ie. 30 days) automatically.
Dimitri Marshall
--
PHP General Mailing
$price = 25;
$f_price = sprintf("%01.2f","$price");
echo "$f_price";
This will give you 25.00 instead of 25. Maybe put your result into a
variable and then convert it into the decimal number using the sprintf()
function.
Dimitri Marshall
"Richard Cook" &
Problem solved... Thanks everyone!
Dimitri Marshall
"Dimitri Marshall" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
> Just wondering what to put for the "resource ftp_stream" in the following:
>
> ftp_delete ( resource ftp_stream, strin
ost in
mysql_connect?
Thanks in advance,
Dimitri Marshall
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Don't know what that is because I don't connect to FTP. The files upload
fine, but I just want to know how to delete them. Is the result of
ftp_connect() the $host in mysql_connect?
Dimitri Marshall
"John W. Holmes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PRO
Hi,
Just wondering what to put for the "resource ftp_stream" in the following:
ftp_delete ( resource ftp_stream, string path)
Thanks in advance,
Dimitri Marshall
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Wicked... Works, thanks.
Dimitri Marshall
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Web server need permission to write to
> /home/unit-dir/public_html/members/memberpix/ directory. Change the
> directory permissions to 777.
&
mepage.php on line 36
Couldn't upload first image
Thanks,
Dimitri Marshall
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi there,
I'm new to this new PHP thing and man it's frusterating. Anyway, I'm not
gonna tell you my life story, but I just need to know how to allow users to
upload files to my server . I've already made a form with the http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
20 matches
Mail list logo