Hi geeks,
i am uploading a file to server. Uploading part is working fine. i
am struggle with minor part. actually before uploading file, i am checking
for existance of a file. If it is not exists, directly i am uploading that
file. If it exists, i sud ask user that "This file is exits.
to me.
Thanks again.
Prabhakaran
Max Belushkin wrote:
>
> Captain wrote:
>> hi,
>> i want to do YES/NO confirmation (like POPUP). If YES, it will upload a
>> file
>
> PHP is server-side, not client-side. You can have the confirmation
> passed as a GET v
hi,
i want to do YES/NO confirmation (like POPUP). If YES, it will upload a file
into server. Otherwise, it won't do anything.
In JavaScript, i can get using confirm(); But i am not able to do
manipulation from that javascript variable.
My Code(partial):
?>
if (file_exists($fullPath)) {
I have a regular expression that's not giving me the results i really need.
I have a bunch of strings coming at me that need to be truncated if they're
over 15 characters... but not to truncate until after it reaches the first
word.
This regular expression just doesn't seem to want to work 100%:
4 matches
Mail list logo