[PHP] Update Your PayPal Account!

2004-09-01 Thread PayPal
If dissident from learn a hard lesson from line dancer from, then for spider meditates.And secretly admire the dark side of her wedding dress.pork chop can be kind to wheelbarrow defined by bottle of beer.blithe spirit for apartment building, earring beyond, and of toothache are what made

[PHP] Re: Cannot load modules

2004-09-01 Thread Nadim Attari
Download the binary Package (zip file) where you gonna find these libraries mySQL: == Copy the libmysql.dll in your System32 folder. This is needed for php_mysql.dll to load. CURL [from the manual] Note to Win32 Users: In order to enable this module on a Windows environment, you must

Re: [PHP] Re: Broken data within an Array

2004-09-01 Thread Harlequin
while($result = mysql_fetch_array($query)) { $DateAdvertised=$row[DateAdvertised]; does that help any o would you like all the code...? -- - Michael Mason Arras People www.arraspeople.co.uk - Comex [EMAIL PROTECTED] wrote

[PHP] Re: Broken data within an Array

2004-09-01 Thread Harlequin
Following the query I have this: ?php while($result = mysql_fetch_array($query)) { $DateAdvertised=$row[DateAdvertised]; $DateAdvertisedBroken = explode(-, $DateAdvertised); Then a little while later this:

[PHP] Re: Broken data within an Array

2004-09-01 Thread David Robley
On Wed, 1 Sep 2004 16:51, Harlequin wrote: Following the query I have this: ?php while($result = mysql_fetch_array($query)) { $DateAdvertised=$row[DateAdvertised]; $DateAdvertisedBroken = explode(-, $DateAdvertised); Then a little while later this:

Re: [PHP] Storing image in database

2004-09-01 Thread Dre
thanks ... and I'm sorry for all of the dummy question .. I'm really new at this thanks again Dre, Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Wednesday 01 September 2004 05:18, Dre wrote: may I ask why is it inefficient ?? Yes. Also you can goggle around a bit

Re: [PHP] Re: [PHP5]__get, __set and isset()

2004-09-01 Thread Frédéric Hardy
I am agree with Catalin about no property is created, that __set() and __get() create virtual property. But, for the programmer, property which was set whith __set() and __get() ARE REAL, and must be use as real property. Conclusion : if php provide __set() and __get() to simulate object

Re: [PHP] Re: Broken data within an Array

2004-09-01 Thread zareef ahmed
Following the query I have this: ?php while($result = mysql_fetch_array($query)) { $DateAdvertised=$row[DateAdvertised]; $DateAdvertisedBroken = explode(-, $DateAdvertised); This should be like this ?php while($result = mysql_fetch_array($query)) {

[PHP] PHP 4.3.7 - Warning message

2004-09-01 Thread ascll
Greetings, I'm using PHP v4.3.7 on my Windows 2000 Server machine with IIS 4.0 as web server. When I tried to test a simple client server app (server.php and client.php - attached), I get the warning message below: - Warning message === listenfd heard something, setting up new client

[PHP] How to Select multiples tables of different database in one query

2004-09-01 Thread Tariq Murtaza
Hi All, Can someone elaborate on How to Select multiples tables of different database in one query, perticularly when using php as scripting language. Regards TM -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to Select multiples tables of different database in one query

2004-09-01 Thread Frédéric Hardy
Not difficult : database db1 database db2 database db3 select db1.table3.column2, db2.table5.column1, db3.table1.column7 FROM db1.table3, db2.table5, db3.table1; You can use alias in FROM on table like this : select alias1.column2, alias2.column1, alias3.column7 FROM db1.table3 AS alias1,

Re: [PHP] How to Select multiples tables of different database in one query

2004-09-01 Thread Frédéric Hardy
Warning 2 : it is a mysql example. Whith other DBM, i don't know how to do that, but i think that its exactly the same thing. PHP version : mysql_query($query). Fred. Tariq Murtaza wrote: *Hi All,* Can someone elaborate on How to Select multiples tables of different database in one query,

[PHP] write images to disk after export from database blob field

2004-09-01 Thread Khan
Hello, I'm using PHP to export images from database blob field. Now, I need to export all images and write them to server. How can I write image (as .jpg) after I selected it from blob field. TNX -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] write images to disk after export from database blob field

2004-09-01 Thread Jason Wong
On Wednesday 01 September 2004 18:56, Khan wrote: I'm using PHP to export images from database blob field. Now, I need to export all images and write them to server. How can I write image (as .jpg) after I selected it from blob field. imagecreatefromstring() imagejpeg() -- Jason Wong -

[PHP] Filling Form Values Remotely

2004-09-01 Thread Nick Wilson
Hi everyone, if you check this page: http://www.chorlton.co.uk/links/add_url.php?c=20title=testing123 (not my site) you'll notice that the form has no value= attributes on the input fields. Is there some way in php, js or framing that I might be able to produce a filled out form ready for

RE: [PHP] Filling Form Values Remotely

2004-09-01 Thread Jay Blanchard
[snip] if you check this page: http://www.chorlton.co.uk/links/add_url.php?c=20title=testing123 (not my site) you'll notice that the form has no value= attributes on the input fields. Is there some way in php, js or framing that I might be able to produce a filled out form ready for submission?

Re: [PHP] Parsing large file

2004-09-01 Thread John Holmes
From: Adrian Teasdale [EMAIL PROTECTED] We have a text file that is 2.2gb in size that we are trying to parse using PHP to put the content into a mysql database. This file contains 40 million individual lines of data. Basically PHP isn't parsing it. Any suggestions of how we could do this? Don't

Re: [PHP] Closing my Window after Download

2004-09-01 Thread PHP Junkie
Ave, Which page do you give this code in? For example, I have a page admin.php Therein is the link on which, when a user clicks, a window admin_dl.php opens. The admin_dl.php contains my force-download code and it is that window that I'm trying to close. If I specify this following code in

Re: [PHP] Closing my Window after Download

2004-09-01 Thread John Holmes
From: PHP Junkie [EMAIL PROTECTED] Which page do you give this code in? For example, I have a page admin.php Therein is the link on which, when a user clicks, a window admin_dl.php opens. The admin_dl.php contains my force-download code and it is that window that I'm trying to close. If I

Re: [PHP] Closing my Window after Download

2004-09-01 Thread PHP Junkie
Ave, Oh My Gosh! You did it!! Gosh! I can't believe you solved it. And well, I don't know when this was explained to everyone but if you actually search the internet and try and lookup what I was trying to do, you'll find, as I found, a lot, and I mean a LOT of people with the exact same

Re: [PHP] Closing my Window after Download

2004-09-01 Thread John Holmes
From: PHP Junkie [EMAIL PROTECTED] But anyhow, thanks a ton, I needed this real bad and now that I got it I feel stupid that I didn't make this sense myself. But then again, once in a while you need a hit on the head with a mallet just like this. Well, someone did say the same thing as I did

Re: [PHP] write images to disk after export from database blob field

2004-09-01 Thread Khan
TNX! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Html pages generated with php can't be viewed as source in IE

2004-09-01 Thread Brent Clements
We have a wierd problem that we can't seem to figure out, maybe it's something you guys can help out with or have seen before. HTML pages generated with php are displayed correctly in all browsers, but when you try to view the source of the html page in IE, the default source code viewer never

Re: [PHP] Html pages generated with php can't be viewed as source in IE

2004-09-01 Thread Pablo Rivas
Clue?..not...but it've seen this problem.This may be another bug in IE this is what I do...(remember it happens to me only in little scripts): ?php ob_start(); your code here error_log(This was . ob_get_contents()); ob_flush(); ? and look your phperror.log On Wed, 1 Sep 2004 08:36:18

RE: [PHP] Html pages generated with php can't be viewed as source in IE

2004-09-01 Thread Dan Joseph
Yeah, IE bugs... Clear your cache, if that doesn't work, go into the file system, and manually delete the cache files. That'll fix it, for a while. -Dan Joseph -Original Message- From: Brent Clements [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 01, 2004 9:36 AM To: [EMAIL

[PHP] problem with using include to a URL

2004-09-01 Thread Tim Wolgemuth
We are currently experiencing issues with HTTP streams within PHP scripts. The following will present sample code that produces the error, error messages, and system information. Code that produces errors: ?php fopen(http://somewebhost.domain.gTLD/index.html;, r); $httpfile =

Re: [PHP] Html pages generated with php can't be viewed as source in IE

2004-09-01 Thread Pablo Rivas
Let me add: Clear your cache, delete cached files, reboot, reinstall ie, format your hard disk On Wed, 1 Sep 2004 09:50:23 -0400, Dan Joseph [EMAIL PROTECTED] wrote: Yeah, IE bugs... Clear your cache, if that doesn't work, go into the file system, and manually delete the cache files.

Re: [PHP] problem with using include to a URL

2004-09-01 Thread John Holmes
From: Tim Wolgemuth [EMAIL PROTECTED] Code that produces errors: ?php fopen(http://somewebhost.domain.gTLD/index.html;, r); $httpfile = file_get_contents(http://somewebhost.domain.gTLD/index.html;); include 'http://somewebhost.domain.gTLD/index.html'; ? Errors: Warning:

Re: [PHP] Html pages generated with php can't be viewed as source in IE

2004-09-01 Thread Brent Clements
That's what I thought because it works fine in other browsers. -Brent - Original Message - From: Dan Joseph [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 01, 2004 8:50 AM Subject: RE: [PHP] Html pages generated with php can't be viewed as source in IE Yeah, IE

Re: [PHP] Filling Form Values Remotely

2004-09-01 Thread Nick Wilson
* and then Jay Blanchard declared [snip] if you check this page: http://www.chorlton.co.uk/links/add_url.php?c=20title=testing123 (not my site) you'll notice that the form has no value= attributes on the input fields. Is there some way in php, js or framing that I might be able to

[PHP] Problem making on RHEL v3

2004-09-01 Thread Ben Ramsey
I'm having a problem with PHP 4.3.8 failing to 'make' on a RedHat Enterprise Linux ES v.3 machine. Here's the make error: -o libphp4.la ext/pcre/pcrelib/maketables.lo: file not recognized: File truncated collect2: ld returned 1 exit status make: *** [libphp4.la] Error 1 When I use

[PHP] PHP with Access DB without ODBC

2004-09-01 Thread Juan Torres
Hello, how can i connect php with an access db. I need to do it without use ODBC. Thanks, Juan Torres. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mail functions help

2004-09-01 Thread AceZero2790
I tried your command: telnet localhost 25 to see if my SMTP server was up. Obviously it is not, because this is the response I received. Connecting to localhost...could not open connection to host on port 25. No connection could be made because the target machine actively refused it. So how

[PHP] Re: PHP with Access DB without ODBC

2004-09-01 Thread Ben Ramsey
Juan Torres wrote: how can i connect php with an access db. I need to do it without use ODBC. Try using COM: http://us4.php.net/com It works similar to the way it does in ASP. -- Regards, Ben Ramsey http://benramsey.com ---

Re: [PHP] problem with using include to a URL

2004-09-01 Thread Tim Wolgemuth
We do have allow_url_fopen set to be on. I can not find any docs. on allow_burl_fopen. Was that a typo or where can I find info for that variable? PHP is working fine if we do the includes like this: include '/somepath/somefile.php'; The URL that we are trying to get to is on the same box.

Fwd: [PHP] mail functions help

2004-09-01 Thread AceZero2790
---BeginMessage--- Are you referring to this post: you just want to see if mail() works try it. ?php if(mail(...)) echo 'yay!'; else echo 'boo!'; ? Or this post? Your SMTP server is the thing that actually transmits the email. On a Windows XP box like you're using, set the SMTP server to be

[PHP] Handling XML output in a slim way

2004-09-01 Thread Markus Fischer
Hi, up until now, when outputing XML I've been constructing the output as a continous string-soup in such ways like [...] $xml .= printf('item name=%s%s/item', makeXmlSave($name), makexmlSave($contentOfItem)); [...] makeXmlSave() makes sure that quotes, ampersand, and are properly escaped with

RE: [PHP] Html pages generated with php can't be viewed as source in IE

2004-09-01 Thread Dan Joseph
LOL... Formatting my drive didn't help, it came back eventually. :) This has been an issue since IE 4.0. Go Microsoft! -Dan Joseph -Original Message- From: Pablo Rivas [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 01, 2004 10:04 AM To: [EMAIL PROTECTED] Subject: Re: [PHP]

[PHP] Re: Mail Functions help

2004-09-01 Thread AceZero2790
I did some research and found out that my ISP's SMTP server is smtp.comcast.net. If I configure my mail functions to connect to this should my script be able to send e-mails? Research and Experimentation (yes, I did some!): I tried connecting to it using this telnet command: telnet

Re: [PHP] mail functions help

2004-09-01 Thread John Holmes
From: [EMAIL PROTECTED] So how do I get my SMTP server working? How do I stop the target machine (my computer I assume) from refusing the connection? Oh, and if I do fix this, it should make my e-mailing stuff work right? Offtopic for a PHP list and depends on what kind of SMTP server you're

Re: [PHP] problem with using include to a URL

2004-09-01 Thread John Holmes
From: Tim Wolgemuth [EMAIL PROTECTED] We do have allow_url_fopen set to be on. I can not find any docs. on allow_burl_fopen. Was that a typo or where can I find info for that variable? sorry, that was a typo. Apparently my spell checker thinks burl is a better word than url. :) PHP is

Re: [PHP] problem with using include to a URL

2004-09-01 Thread Tim Wolgemuth
This is the way that the customer waits to do it. Here is the sample code that is being included: ? print this is a test2BR; ? Tim John Holmes wrote: From: Tim Wolgemuth [EMAIL PROTECTED] We do have allow_url_fopen set to be on. I can not find any docs. on allow_burl_fopen. Was that a typo

[PHP] Re: RPM package for PHP5

2004-09-01 Thread Krzysztof Gorzelak
Hello, You can find some rpms here : http://www.filesearching.com/cgi-bin/s?q=php5+5.0.1+rpmt=fd=l=en They are for Mandrakelinux. I think you can try to rebuild them from src (rpm --rebuild ...). Krzysztof Gorzelak Hello all, Is there any RMP package for PHP 5.0.1 available? (Our server

[PHP] usmap won't do it, ismap won't do it. What can I do?

2004-09-01 Thread Btew
I need a php server side image map script. Or rather a script that will examine x,y coords and determine if they could fall within any of a number of area polygon or rect tags. Any help much appreciated. --- [EMAIL PROTECTED] Ben

Re: [PHP] Re: Mail Functions help

2004-09-01 Thread John Holmes
From: [EMAIL PROTECTED] Did it work? So if I put smtp.comcast.net in php.ini should my e-mail script work? I don't know about you, but my magic-php-8-ball says Yes! http://www.amazon.com/exec/obidos/ASIN/B1ZWV7/indrasnet/002-7362067-2944804 Make sure you restart your webserver after the

Re: [PHP] Html pages generated with php can't be viewed as source in IE

2004-09-01 Thread Pablo Rivas
This has something to do with this: http://support.microsoft.com/default.aspx?scid=kb;en-us;316431 When you are programming, you do a lot of view source, and I imagine you are using pragma-nocache, or expires... so, IE don't care for the source of the page you are asking. And sometimes you get

Re: [PHP] Re: Mail Functions help

2004-09-01 Thread Jason Wong
On Wednesday 01 September 2004 22:50, [EMAIL PROTECTED] wrote: I did some research and found out that my ISP's SMTP server is smtp.comcast.net. That's what we like to see. If I configure my mail functions to connect to this should my script be able to send e-mails? Research and

[PHP] Re: Handling XML output in a slim way

2004-09-01 Thread Torsten Roehr
Markus Fischer [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, up until now, when outputing XML I've been constructing the output as a continous string-soup in such ways like [...] $xml .= printf('item name=%s%s/item', makeXmlSave($name), makexmlSave($contentOfItem)); [...]

[PHP] [RESOLVED] mail functions problems

2004-09-01 Thread AceZero2790
Problem resolved. I set my SMTP server in php.ini to my ISP's SMTP server, smtp.comcast.net, and now everything works. Thanks everyone who helped me with this even though it is sort of off-topic. -Andrew

Re: [PHP] problem with using include to a URL

2004-09-01 Thread John Holmes
From: Tim Wolgemuth [EMAIL PROTECTED] This is the way that the customer waits to do it. Here is the sample code that is being included: ? print this is a test2BR; ? Well tell the customer he's wrong! ;) Seriously... what if you try something like include('http://www.google.com'), does that

[PHP] phpbb multiforums

2004-09-01 Thread Xongoo!com: Central unit
Holla friends, I have a code which separates phpBB forums, but run into problems because of cookies when *switching between forums*. Should I get rid of cookies entirely (I am rewriting entire code to passing $forum variable) or something may be done (still I am learning php :) Code below: if

[PHP] Re: Handling XML output in a slim way

2004-09-01 Thread Daniel Schierbeck
Markus Fischer wrote: Hi, up until now, when outputing XML I've been constructing the output as a continous string-soup in such ways like [...] $xml .= printf('item name=%s%s/item', makeXmlSave($name), makexmlSave($contentOfItem)); [...] makeXmlSave() makes sure that quotes, ampersand, and

Re: [PHP] Problem making on RHEL v3

2004-09-01 Thread Curt Zirzow
* Thus wrote Ben Ramsey: I'm having a problem with PHP 4.3.8 failing to 'make' on a RedHat Enterprise Linux ES v.3 machine. Here's the make error: -o libphp4.la ext/pcre/pcrelib/maketables.lo: file not recognized: File truncated collect2: ld returned 1 exit status make: *** [libphp4.la]

[PHP] Adding a realtime monitoring console

2004-09-01 Thread Kelly Hallman
I'm developing a web-based framework (the application) and would like to implement an ncurses-based realtime monitoring facility (the console). The application currently writes events to a database history table, but I don't think having a console that constantly requeries that table would be

Re: [PHP] Problem making on RHEL v3

2004-09-01 Thread Ben Ramsey
Still having the same problem with PCRE. Here's the error I get now: -c /usr/src/php/php_4_3_8/ext/pcre/php_pcre.c -o ext/pcre/php_pcre.lo /usr/src/php/php_4_3_8/ext/pcre/php_pcre.c: In function `php_pcre_match': /usr/src/php/php_4_3_8/ext/pcre/php_pcre.c:413: `PCRE_INFO_NAMECOUNT' undeclared

Re: [PHP] Please, Refresh Your Paypal Account

2004-09-01 Thread Felix
omg. what a bad phishing attempt. perhapse someone should try to php or sql inject the phishing site ;) On Tue, 31 Aug 2004 19:45:24 -0400, Paypal Services [EMAIL PROTECTED] wrote: Sign Up | Log In | Help Dear PayPal Customer This e-mail is the notification of recent innovations taken by

[PHP] MSSQL, PHP and Linux

2004-09-01 Thread blackwater dev
I need some help...I am helping a local business with a site which needs to connect to a mssql db, my webhost uses linux and compiled php with the freetds library and when I go to the info page..it does show Microsoft SQL Server under dbx yet I still get the errors called to undefined function

Re: [PHP] usmap won't do it, ismap won't do it. What can I do?

2004-09-01 Thread John Holmes
From: Btew [EMAIL PROTECTED] I need a php server side image map script. Or rather a script that will examine x,y coords and determine if they could fall within any of a number of area polygon or rect tags. input type=image name=myimage src=map.jpg Then you'll have $_REQUEST['myimage_x'] and

[PHP] Re: MSSQL, PHP and Linux

2004-09-01 Thread Ben Ramsey
If freetds has been compiled and installed in the default location for it (/usr/local), then php needs to be configured --with-mssql=/usr/local Blackwater Dev wrote: I need some help...I am helping a local business with a site which needs to connect to a mssql db, my webhost uses linux and

Re: [PHP] Re: Broken data within an Array

2004-09-01 Thread Comex
That still makes no sense.. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: [PHP5]__get, __set and isset()

2004-09-01 Thread Marek Kilimajer
Catalin Trifu wrote: Hi, Is this really a bug. I think not. There is no variable $o-a or $a-b in the class OO there is only the variable $elem and $a and $b is a member of that array So ... The fact that PHP5 provides __set and __get magic functions does not mean that the

[PHP] register global off

2004-09-01 Thread Afan Pasalic
Me again with same thing. I added to .htaccess php_flag register_globals off but it still doesn't work. When I list phpinfo() it shows me Master value for register_global: On On my local computer (localhost) it shows me Off. I need it to be Off. I tryed with: php_value register_globals 0 doesn't

Re: [PHP] Problem making on RHEL v3

2004-09-01 Thread Ben Ramsey
All right, so I did something smart for a change... I went to ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ and grabbed pcre 4.5 and installed it. My distro has the RPMs for pcre 3.9 installed, so I don't know what the problem was, but I configured PHP --with-pcre-regex=/usr/local

[PHP] Re: register global off

2004-09-01 Thread Ben Ramsey
The Master value will remain On since it's On in php.ini and the Local value (the value for the directory in which phpinfo() is run) will be Off since that directory has an .htaccess file turning register_globals Off. If you want to affect all of your sites, change the setting in php.ini or in

[PHP] Re: register global off

2004-09-01 Thread Ben Ramsey
Actually, I think I read your message wrong... it should be: php_flag register_globals Off Ben Ramsey wrote: The Master value will remain On since it's On in php.ini and the Local value (the value for the directory in which phpinfo() is run) will be Off since that directory has an .htaccess

Re: [PHP] MSSQL, PHP and Linux

2004-09-01 Thread Frank M. Kromann
Hi, You should compile php with this option --with-mssql or --with-mssql=/path/to/freetds. This will enable the mssql extension. Enabling the DBX extension is not enough. DBX is just a wrapper arround other extensions. You still need to compile each of these extensions. - Frank I need some

Re: [PHP] MSSQL, PHP and Linux

2004-09-01 Thread Marek Kilimajer
blackwater dev wrote: I need some help...I am helping a local business with a site which needs to connect to a mssql db, my webhost uses linux and compiled php with the freetds library and when I go to the info page..it does show Microsoft SQL Server under dbx yet I still get the errors called to

Re: [PHP] MSSQL, PHP and Linux

2004-09-01 Thread Jennifer Goodie
-- Original message from blackwater dev : -- I need some help...I am helping a local business with a site which needs to connect to a mssql db, my webhost uses linux and compiled php with the freetds library and when I go to the info page..it does show Microsoft

Re: [PHP] MSSQL, PHP and Linux

2004-09-01 Thread John Holmes
From: blackwater dev [EMAIL PROTECTED] I need some help...I am helping a local business with a site which needs to connect to a mssql db, my webhost uses linux and compiled php with the freetds library and when I go to the info page..it does show Microsoft SQL Server under dbx yet I still get the

RE: [PHP] MSSQL, PHP and Linux

2004-09-01 Thread Dan Joseph
Hmm, I do see the MS SQL listed under DBX, but I don't see the --with=mssql in the configure line. Only psql and mysql. Does that need to be in there also? -Dan Joseph -Original Message- From: blackwater dev [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 01, 2004 1:19 PM To:

[PHP] xml tags interfere with php tags

2004-09-01 Thread Josh Close
How do I get an xml tag to work with a php script? ?xml version=1.0? php is trying to parse that. -Josh -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: register global off

2004-09-01 Thread Greg Donald
On Wed, 2004-09-01 at 12:37, Afan Pasalic wrote: Me again with same thing. I added to .htaccess php_flag register_globals off but it still doesn't work. When I list phpinfo() it shows me Master value for register_global: On On my local computer (localhost) it shows me Off. I need it to be

Re: [PHP] stream wrappers

2004-09-01 Thread John Holmes
- Original Message - From: jarell [EMAIL PROTECTED] To: John Holmes [EMAIL PROTECTED] Sent: Wednesday, September 01, 2004 2:05 PM Subject: Re: [PHP] stream wrappers Does the stream_open function in your example actually check if the file has already been downloaded? No... I don't know

Re: [PHP] register global off

2004-09-01 Thread John Holmes
From: Afan Pasalic [EMAIL PROTECTED] Me again with same thing. I added to .htaccess php_flag register_globals off but it still doesn't work. When I list phpinfo() it shows me Master value for register_global: On an .htaccess change would show up in the Local Value column, not the Master Value

[PHP] Re: register global off

2004-09-01 Thread Afan Pasalic
That's exactly what I did. I overwrite the existing .htaccess with my (that has php_flag register_global off) in root directory of my web site (actually: /client/home/afan/docs/.htaccess - place where my web site is stored). And I have a permission and it really overwrote the existing

Re: [PHP] register global off

2004-09-01 Thread Afan Pasalic
In Local Value column is shown Off. that means it is Off ? Aha. Sorry, didn't know that one. Thanks John. Afan John Holmes wrote: From: Afan Pasalic [EMAIL PROTECTED] Me again with same thing. I added to .htaccess php_flag register_globals off but it still doesn't work. When I list

[PHP] Re: register global off

2004-09-01 Thread Afan Pasalic
Sorry guys, my mistake: This thing doesn't work: if(isset($HTTP_POST_VARS['SubmitForm']) == 'Submit') i added isset() on wrong place. Thanks to everybody! Afan Afan Pasalic wrote: That's exactly what I did. I overwrite the existing .htaccess with my (that has php_flag register_global off) in root

Re: [PHP] stream wrappers

2004-09-01 Thread jarell
Here's my db_update function then your code with some mods: ?php function update_db($location) { require_once('/usr/home/doc/mysqlconnect.php'); $query = SELECT dl_count FROM downloads WHERE filelocation = '$location'; $result = mysql_query($query); $dl_count = mysql_result($result, 0, dl_count);

Re: [PHP] MSSQL, PHP and Linux

2004-09-01 Thread blackwater dev
No, I was using the mssql functions which I want to use. I tried the dbx functions example: $link = dbx_connect('mssql', $mssqldbhost,,$mssqldbuser,$mssqldbpass); but go the error that the mssql module isn't loaded. On Wed, 1 Sep 2004 14:06:55 -0400, John Holmes [EMAIL PROTECTED] wrote: From:

[PHP] Re: xml tags interfere with php tags

2004-09-01 Thread M. Sokolewicz
Josh Close wrote: How do I get an xml tag to work with a php script? ?xml version=1.0? php is trying to parse that. -Josh turn OFF short_open_tag in php.ini, or using the PHP_FLAG short_open_tag Off in your apache .htaccess file (if you're using that). -- PHP General Mailing List

[PHP] Re: register global off

2004-09-01 Thread Afan Pasalic
I think I am a little bit confused about $HTTP_POST_VARS and $_POST. php.net manual: Note that $HTTP_POST_VARS and $_POST are different variables and that PHP handles them as such http://us4.php.net/reserved.variables ? And the example I wrote still doesn't work: form method=post

Re: [PHP] MSSQL, PHP and Linux

2004-09-01 Thread Ben Ramsey
Like I and others have said, you need to compile PHP --with-mssql Blackwater Dev wrote: No, I was using the mssql functions which I want to use. I tried the dbx functions example: $link = dbx_connect('mssql', $mssqldbhost,,$mssqldbuser,$mssqldbpass); but go the error that the mssql module isn't

Re: [PHP] xml tags interfere with php tags

2004-09-01 Thread Josh Close
I was hoping there was another way around it. if not, I could do that I guess. -Josh On Wed, 1 Sep 2004 14:06:18 -0500, Brent Clements [EMAIL PROTECTED] wrote: The simplest answer is to either turn off short tags or change the short tag which php uses. You can do either by editing

[PHP] Re: register global off

2004-09-01 Thread Greg Donald
On Wed, 2004-09-01 at 14:05, Afan Pasalic wrote: I think I am a little bit confused about $HTTP_POST_VARS and $_POST. php.net manual: Note that $HTTP_POST_VARS and $_POST are different variables and that PHP handles them as such http://us4.php.net/reserved.variables ? And the

Re: [PHP] xml tags interfere with php tags

2004-09-01 Thread Michal Migurski
How do I get an xml tag to work with a php script? ?xml version=1.0? php is trying to parse that. ?= ''.'?xml version=1.0?'.'' ? ugly, huh? I'm not sure if there is a better way, but I use the above to prevent erroneous PHP parsing of xml declarations regardless of short_open_tags setting, and

[PHP] Re: register global off

2004-09-01 Thread Ben Ramsey
Afan Pasalic wrote: I think I am a little bit confused about $HTTP_POST_VARS and $_POST. php.net manual: Note that $HTTP_POST_VARS and $_POST are different variables and that PHP handles them as such http://us4.php.net/reserved.variables This just means that they don't occupy the same space

[PHP] Re: xml tags interfere with php tags

2004-09-01 Thread Ben Ramsey
Just do it like this: ?php echo '?xml version=1.0?'; ? Josh Close wrote: How do I get an xml tag to work with a php script? ?xml version=1.0? php is trying to parse that. -Josh -- Regards, Ben Ramsey http://benramsey.com ---

Re: [PHP] xml tags interfere with php tags

2004-09-01 Thread Larry E . Ullman
How do I get an xml tag to work with a php script? ?xml version=1.0? php is trying to parse that. Either turn off the Short Tags setting in your php.ini file or have PHP echo out that line. Larry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] xml tags interfere with php tags

2004-09-01 Thread Steve Edberg
At 1:08 PM -0500 9/1/04, Josh Close wrote: How do I get an xml tag to work with a php script? ?xml version=1.0? php is trying to parse that. -Josh You probably want to turn the short-open-tags option off, so PHP doesn't recognize the ? as a start of a code block. Of course, if you use that in

Re: [PHP] xml tags interfere with php tags

2004-09-01 Thread Josh Close
I'll do something similar to this. I don't want to have to turn short tags off :P -Josh On Wed, 1 Sep 2004 12:21:29 -0700, Michal Migurski [EMAIL PROTECTED] wrote: How do I get an xml tag to work with a php script? ?xml version=1.0? php is trying to parse that. ?= ''.'?xml

Re: [PHP] PHP Cached Templates

2004-09-01 Thread rogue
On Sep 1, 2004, at 12:01 AM, raditha dissanayake wrote: charles kline wrote: On Aug 31, 2004, at 9:18 PM, raditha dissanayake wrote: rogue wrote: Sorry if this is the wrong place for this post. I am having problems where PHP templates that I modify via ftp are not showing changes for like 1

Re: [PHP] Re: xml tags interfere with php tags

2004-09-01 Thread John Holmes
From: M. Sokolewicz [EMAIL PROTECTED] Josh Close wrote: How do I get an xml tag to work with a php script? ?xml version=1.0? php is trying to parse that. -Josh turn OFF short_open_tag in php.ini, or using the PHP_FLAG short_open_tag Off in your apache .htaccess file (if you're using that). or

Re: [PHP] Re: xml tags interfere with php tags

2004-09-01 Thread Comex
?='?xml version=1.0?'? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] problem with using include to a URL

2004-09-01 Thread Tim Wolgemuth
When I run it from the command line it works. But if I run it through Apache it does not work. Tim John Holmes wrote: From: Tim Wolgemuth [EMAIL PROTECTED] This is the way that the customer waits to do it. Here is the sample code that is being included: ? print this is a test2BR; ? Well

Re: [PHP] Re: register global off

2004-09-01 Thread John Holmes
From: Afan Pasalic [EMAIL PROTECTED] After submitting $HTTP_POST_VARS['SubmitForm'] has value 'Submit' and $POST['SubmitForm'] is empty. Because it's $_POST and not $POST? If that's just at typo, check your code for typos, too. Did you ever tell us what version of PHP you're using? ---John

Re: [PHP] usmap won't do it, ismap won't do it. What can I do?

2004-09-01 Thread John Holmes
From: Ben Tew [EMAIL PROTECTED] So what I essentially need is a PHP client side image map script, because the final data will go to other PHP scripts. No, what you need is a client side image map which is unrelated to PHP. People actually use image maps? Do you really think you're hiding the URL

Re: [PHP] MSSQL, PHP and Linux

2004-09-01 Thread blackwater dev
We just tried again with the -mssql switch but it still doesn't seem to be therethe -mssql isn't on the info page...I don't have a clue... http://mwvre.ht-tech.net/info.php On Wed, 01 Sep 2004 15:08:41 -0400, Ben Ramsey [EMAIL PROTECTED] wrote: Like I and others have said, you need to

Re: [PHP] stream wrappers

2004-09-01 Thread John Holmes
From: jarell [EMAIL PROTECTED] Here's my db_update function then your code with some mods: ?php function update_db($location) { require_once('/usr/home/doc/mysqlconnect.php'); $query = SELECT dl_count FROM downloads WHERE filelocation = '$location'; $result = mysql_query($query); $dl_count =

Re: [PHP] Re: register global off

2004-09-01 Thread John Nichel
Afan Pasalic wrote: I think I am a little bit confused about $HTTP_POST_VARS and $_POST. php.net manual: Note that $HTTP_POST_VARS and $_POST are different variables and that PHP handles them as such http://us4.php.net/reserved.variables ? And the example I wrote still doesn't work: form

Re: [PHP] xml tags interfere with php tags

2004-09-01 Thread Matt M.
On Wed, 1 Sep 2004 13:08:11 -0500, Josh Close [EMAIL PROTECTED] wrote: How do I get an xml tag to work with a php script? ?xml version=1.0? php is trying to parse that. you could just echo it at the top ?php echo '?xml version=1.0?';? -- PHP General Mailing List (http://www.php.net/) To

  1   2   >