Hello ,
Need to do handle a file upload done via http POST.
I can read the content length and from POST and get the contents.
But, how do I get the exact file ??
Eg. suppose for uploading a .doc file I could see that it sends the
font type and other parameters also..
I am not sure how does i
explode by ","
$output1 = explode(",",$string);
use a loop and explode array $output1 by ":"
Hope this helps.
Saswat
On 4/18/05, Sebastian <[EMAIL PROTECTED]> wrote:
> $string = '4:gaming,5:hardware,3:software,8:security';
>
> what is the best way to explode then loop this string after its t
Richard,
Thanks for the answer.
I understand that I can't do it the way I wanted .
I have changed my design.
Thanks ALL who answered.
-Saswat
On Apr 7, 2005 8:18 AM, Richard Lynch <[EMAIL PROTECTED]> wrote:
> On Wed, April 6, 2005 10:07 am, Saswat Praharaj said:
> >
Hi All,
I need some help in searching string in a file.
My requirement is to search the string,append something to the string .
Write the string back to the file without changing other parts of the file.
e.g
Suppose I have the following string in a file
Set-Cookie: T_COOKIE=127.0.0.1-saswat
Richard,
Thanks for the quick reply.
Here is what I am trying to do :
I am trying to tunnel some http packets from the browser to a PC which
is inside a private network/firewall.
The PC in the pvt. netwok sends a request to my server at regular interval.
When the browser wants to send some pack
Hi All,
I am new to PHP, stuck with a problem and need your help.
I would like to change a variable to type resource.
I searched in php.net and in google but did not find anything helpful.
Now , why I would like to do that...
I am writing a socket application which will accept connection from
b
6 matches
Mail list logo