[PHP] PHP CURL

2007-11-18 Thread Fahad Pervaiz
I am looking forward to write a script that can send invite to contacts in gmail,hotmail, yahoo and aol. I think it is possible to write it using php CURL. If yes can any one suggest how? and can any one help me write this script or join me to write this script? -- Regards Fahad Pervaiz

[PHP] NAT Traversal

2007-07-05 Thread Fahad Pervaiz
Hello, I want to get the actual IP of a client behind NAT or a Firewall. Is there anyway to traverse NAT to get the actuall/real IP of the client to check weather its reachable directly or not. OR Is there anyother way to do that. Plz suggest -- Regards Fahad Pervaiz www.ecommerce-xperts.com

Re: [PHP] NAT Traversal

2007-07-05 Thread Fahad Pervaiz
the internal ip, somehow I don't need to access the client directly but the reason to get his internal IP is to store session id against client's nat addr+internal ip Hope you get my point On 7/5/07, Stut [EMAIL PROTECTED] wrote: Please include the list when replying. Fahad Pervaiz wrote

Re: [PHP] NAT Traversal

2007-07-05 Thread Fahad Pervaiz
to get the client-side ipnumber (in a proxy/NATted environment) using java/javascript, it's a bit unlikely that it would work for the user who has already turned off cookies. - Rick Original Message Date: Thursday, July 05, 2007 04:38:35 PM +0500 From: Fahad Pervaiz

[PHP] Re: session question

2007-03-05 Thread Fahad Pervaiz
, in your case it is possible that some page is being included that is starting a session or setting up variable. -- Regards Fahad Pervaiz www.ecommerce-xperts.com (Shopping Cart Applications, Framework for Multilingual Web Sites, Web Designs) -- PHP General Mailing List (http://www.php.net

[PHP] Re: failed to open stream: Resource temporarily unavailable

2007-03-04 Thread Fahad Pervaiz
is very big because of a lot of errors of apache. # END ORIGINAL Checkout the following link...it might be helpful to u http://bugs.php.net/bug.php?id=36925edit=1 -- Regards Fahad Pervaiz www.ecommerce-xperts.com (Shopping Cart Applications, Framework for Multilingual Web Sites, Web Designs

[PHP] Re: upload file

2007-03-04 Thread Fahad Pervaiz
']==$cert2) || ($_FILES[$name]['type']==$cert3) || ($_FILES[$name]['type']==$cert4) ) { } else { .. } -- Regards Fahad Pervaiz www.ecommerce-xperts.com (Shopping Cart Applications, Framework for Multilingual Web Sites, Web Designs) -- PHP General Mailing List (http://www.php.net

[PHP] Re: PHP4 and PHP5

2007-02-26 Thread Fahad Pervaiz
you can run two apache (Diff ports) and with one you can configure php5 and with the other you can configure php4 -- Regards Fahad Pervaiz www.ecommerce-xperts.com (Shopping Cart Applications, Framework for Multilingual Web Sites, Web Designs) -- PHP General Mailing List (http://www.php.net

[PHP] Re: input on sessions vs cookies

2007-02-24 Thread Fahad Pervaiz
security use database as well. Store IP, Session ID, username, login time. After every few minutes you can re authenticate the user against these parameters. -- Regards Fahad Pervaiz www.ecommerce-xperts.com (Shopping Cart Applications, Framework for Multilingual Web Sites, Web Designs)

[PHP] Re: Magic Quotes

2007-02-23 Thread Fahad Pervaiz
'\' then use stripslashes() If your want to turn off automatic escaping then turn off these directive magic_quotes_gpc magic_quotes_runtime magic_quotes_sybase -- Regards Fahad Pervaiz www.ecommerce-xperts.com (Shopping Cart, Framework for Multilingual Web Sites and Web Designs)

[PHP] Re: How to call image from mySql to php file

2007-02-23 Thread Fahad Pervaiz
( $result )) { $image= $row[sno]; } mysql_close(); echo $logos; ? you can make call to it from you abc.html as follows div img src=image.php?sno=?=$_REQUEST['sno']? / /div -- Regards Fahad Pervaiz www.ecommerce-xperts.com (Shopping Carts, Framwork for Multilingual Web Sites, Web Designs)

[PHP] Re: Parsing an XML return from a POST

2007-01-08 Thread Fahad Pervaiz
in advance. ===END ORIGINAL=== You can easily parse XML using XML Parser Functions or DOM Functions available in PHP Lots of classes have been written to parse xml using the above libraries.Youcan easily search them on google. -- Regards Fahad Pervaiz www.ecommerce-xperts.com (Shopping Cart, Web Design

[PHP] Re: Problem with file reading

2007-01-05 Thread Fahad Pervaiz
ORIGINAL=== Try using the complete path in $file... you can get the complete path by using $_SERVER['DOCUMENT_ROOT'] Also be sure that path given in $file variable is relatvie to location of php file that is executing -- Regards Fahad Pervaiz www.ecommerce-xperts.com (Shopping Cart, Web Design, SEO)

[PHP] Re: Calling static child method from inherited static parent method

2007-01-03 Thread Fahad Pervaiz
Fahad Pervaiz www.ecommerce-xperts.com (Shopping Cart, Web Design, SEO)

[PHP] Re: http request problem

2007-01-02 Thread Fahad Pervaiz
; $handle2= fopen($link,r); $contents = ''; while (!feof($handle2)) { $contents = fread($handle, 819200); echo $contents; } I tried opening the given URL directly, but this url seems to be a broken link. If you try any other link, it will work -- Regards Fahad Pervaiz www.ecommerce

[PHP] Re: php-general Digest 1 Jan 2007 20:15:42 -0000 Issue 4545

2007-01-01 Thread Fahad Pervaiz
as 64 bytes. I am at a loss as to what is happening, so I would appreciate any help. Sincerely, Philip W. This article might help you out http://www.onlamp.com/pub/a/php/2002/12/12/php_foundations.html -- Regards Fahad Pervaiz www.ecommerce-xperts.com

[PHP] Re: Basic question - Starting a background task without waiting for its end.

2006-12-31 Thread Fahad Pervaiz
around for your problem! Create a seperate shell file, lets say abc.sh abc.sh run following command bash -c cmd /C start /MAX notepad my_file NULL and exits you php file calls exec(abc.sh); -- Regards Fahad Pervaiz www.ecommerce-xperts.com

[PHP] Re: php/ajax question

2006-12-30 Thread Fahad Pervaiz
via ajax: -snip- preceding ajax function sndReq(action) { http.open('get', 'a.php'); http.send(null); } Then the $_SESSION var is filled with test, but the redirect is not realized. Why can't the php script redirect the browser when called via ajax ? Thanks. tedd -- Regards Fahad Pervaiz

[PHP] Downloading utf-8 encoded files

2006-12-26 Thread Fahad Pervaiz
is skipped and file size is also small. Help would be appriciated -- Regards Fahad Pervaiz www.ecommerce-xperts.com

[PHP] Re: How to Separate PHP Errors to a file different than Apache Errors

2006-12-23 Thread Fahad Pervaiz
is located in php.inifile. -- Fahad Pervaiz www.ecommerce-xperts.com

[PHP] Re: Video Question

2006-12-20 Thread Fahad Pervaiz
, that is a Flash Video file. You can automatically convert all video formats to FLV using FFMPEG Library. Use any freely available FLV player or you can develop your own. For ffmpeg visit *http://ffmpeg.mplayerhq.hu/* http://ffmpeg.mplayerhq.hu/ -- Fahad Pervaiz www.ecommerce-xperts.com 92 345 510

[PHP] Re: ECHO

2006-12-19 Thread Fahad Pervaiz
Satyam - Original Message - From: Fahad Pervaiz [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Tuesday, December 19, 2006 6:46 AM Subject: [PHP] Re: ECHO I have written a framework for internationalization. Now i have incoorperate it into and existing system that is huge

[PHP] ECHO

2006-12-18 Thread Fahad Pervaiz
ECHO is a language construct but still is there any work around to override it or change its functionality???

[PHP] Re: ECHO

2006-12-18 Thread Fahad Pervaiz
the echo calls -- Regards Fahad Pervaiz www.ecommerce-xperts.com

[PHP] Re: ECHO

2006-12-18 Thread Fahad Pervaiz
change the standard output? On 12/18/06, Fahad Pervaiz [EMAIL PROTECTED] wrote: I have written a framework for internationalization. Now i have incoorperate it into and existing system that is huge and it will take alot of time to change ECHO to a function call, so i want to override its