[PHP] Re: PHP5 + Mysql5 + Apache 2.0.55

2006-01-14 Thread Libit
Erik Gyepes wrote: Hi all. I'm trying to set up mysql 5 with php 5 on my windows machine, but I can't get work it. Also I can't see any loaded extensions with phpinfo(). I have set extensions directory in php.ini, PATH dir in windows, what else I may to do? I used linux a lot of time and now

Re: [PHP] Cookie problem

2006-01-14 Thread Aaron Koning
Try simplifying the problem to determine the error point. For example don't involve $_POST just try setting a cookie with hard coded variables. If that works then add in the $_POST and test for BOTH $_POST['prefs'] and $_POST['filter']. Example of simplification: Aaron On 1/14/06, Al <[EMAIL

[PHP] Re: Help taking a string from a file

2006-01-14 Thread M. Sokolewicz
Lists wrote: Hello List, I made something work, but probably in the most crappy way possible. My goal is to take just the HTML for the image and link from the Flickr badge js script. This is what I did, please help me do in a better way. I'd appreciate good sources to read to learn to st

[PHP] Cookie problem

2006-01-14 Thread Al
Can't get a cookie to set. Below is the code near the file top BEFORE any html output. $_POST['prefs'] comes from a hidden field in the middle of the html output. $_POST['filter'] comes from a select option. A Submit button closes the page and refreshes it. print_r($_POST) shows $_POST['prefs

[PHP] PHP5 + Mysql5 + Apache 2.0.55

2006-01-14 Thread Erik Gyepes
Hi all. I'm trying to set up mysql 5 with php 5 on my windows machine, but I can't get work it. Also I can't see any loaded extensions with phpinfo(). I have set extensions directory in php.ini, PATH dir in windows, what else I may to do? I used linux a lot of time and now I cant remember how

[PHP] Using aliases to have an email trigger a php script

2006-01-14 Thread Sean Lerner
Hello, I'd like an email received to [EMAIL PROTECTED] to trigger a php script. I've configured the following: in /etc/aliases toronto: |/var/www/wq/email_toronto.php in /etc/exim/exim.conf system_aliases: driver = aliasfile file_transport = address_file pipe_transport = address_pipe file

[PHP] Help taking a string from a file

2006-01-14 Thread Lists
Hello List, I made something work, but probably in the most crappy way possible. My goal is to take just the HTML for the image and link from the Flickr badge js script. This is what I did, please help me do in a better way. I'd appreciate good sources to read to learn to strip stuff away

Re: [PHP] Access Client IP address

2006-01-14 Thread PHP Superman
$_SERVER['REMOTE_ADDR'] will give you the proxy ip if they have one, and the browser sends the info, the user might change it to blahblahblah for all we know... On 1/4/06, Jay Blanchard <[EMAIL PROTECTED]> wrote: > > [snip] > Is there any way to client's IP address inside a php document. I am

Re: [PHP] XML-Request

2006-01-14 Thread Björn Bartels
Hi there, try this as your first output line: $this_output = ""; hope that helps... cheers björn >Hi, I gotta send an XML request to a server. In the doc it's defined as >follows: >[request] > > > >dealerName='' > >posName='1234' > >posPassword='1234' > >userName='' > >userPassword='1234' />

Re: [PHP] Regex help

2006-01-14 Thread Curt Zirzow
On Fri, Jan 13, 2006 at 08:25:57AM -0500, Mike Smith wrote: > I'm trying to save myself some time by extracting certain variables > from a string: > > 102-90 E 42 X 42 X 70 3/8 > > I've been testing with: http://www.quanetic.com/regex.php > and have been somewhat successful. Using this pattern: >