Re: [PHP] Re: fopen never ends?

2008-02-19 Thread Paul van Brouwershaven
The timeout is not the problem, the probleem is I'm not getting the ssl (like the peer cert) info into the stream_context_get_options Jim Lucas wrote: Paul van Brouwershaven wrote: Nathan Rixham wrote: I don't think this is a php problem, just load the url up in a browser and you'll see the s

Re: [PHP] More than one values returned?

2008-02-19 Thread Robert Cummings
On Tue, 2008-02-19 at 21:51 -0800, Nick Stinemates wrote: > Robert Cummings wrote: > > On Tue, 2008-02-19 at 21:24 -0800, Nick Stinemates wrote: > > > >> I said, simply, returning an array of objects was usually an indication > >> of poor design. > >> > > > > Please elaborate as to the "wh

Re: [PHP] More than one values returned?

2008-02-19 Thread Robert Cummings
On Tue, 2008-02-19 at 22:26 -0800, Nick Stinemates wrote: > Robert Cummings wrote: > > On Tue, 2008-02-19 at 21:51 -0800, Nick Stinemates wrote: > > > >> Robert Cummings wrote: > >> > >>> On Tue, 2008-02-19 at 21:24 -0800, Nick Stinemates wrote: > >>> > >>> > I said, simply,

Re: [PHP] More than one values returned?

2008-02-19 Thread Nick Stinemates
Robert Cummings wrote: > On Tue, 2008-02-19 at 21:51 -0800, Nick Stinemates wrote: > >> Robert Cummings wrote: >> >>> On Tue, 2008-02-19 at 21:24 -0800, Nick Stinemates wrote: >>> >>> I said, simply, returning an array of objects was usually an indication of poor design.

Re: [PHP] xpath question

2008-02-19 Thread Nick Stinemates
RJO wrote: > Hey guys, > > I have a form accepting a KML file from users and from there I want to > draw polylines based on a KML file's > element. > > > The problem I am having is that sometimes the KML file can have a > or or none of the above, or any > number of random scenarios in the KML fi

Re: [PHP] unsure how to do this any help appreciated

2008-02-19 Thread Nick Stinemates
Michael Seton wrote: > To Whom this may Concern, > > Basically what im try to do is this (please bear with me im a php > noob) > require a remote file, if its blank then instead display a comment or > another file (which ever is easier) > >Example: >*_if "http://launcher.worldof

RE: [PHP] What community software package gets your vote? PHPfox etc...

2008-02-19 Thread TS
Yeah, I noticed the trash talk as well with searching. I'm not a hardcore PHP programmer and it would take me more time to do it than we have. Deadline is in next couple of months. I think finding a package to start with is key. Basically, all the features phpfox has is what we're looking for. We'r

Re: [PHP] More than one values returned?

2008-02-19 Thread Nick Stinemates
Robert Cummings wrote: > On Tue, 2008-02-19 at 21:24 -0800, Nick Stinemates wrote: > >> I said, simply, returning an array of objects was usually an indication >> of poor design. >> > > Please elaborate as to the "why" of it being an indication of poor > design. > > Cheers, > Rob. > I al

[PHP] unsure how to do this any help appreciated

2008-02-19 Thread Michael Seton
To Whom this may Concern, Basically what im try to do is this (please bear with me im a php noob) require a remote file, if its blank then instead display a comment or another file (which ever is easier) Example: *_if "http://launcher.worldofwarcraft.com/alert"; contains

Re: [PHP] More than one values returned?

2008-02-19 Thread Robert Cummings
On Tue, 2008-02-19 at 21:24 -0800, Nick Stinemates wrote: > > I said, simply, returning an array of objects was usually an indication > of poor design. Please elaborate as to the "why" of it being an indication of poor design. Cheers, Rob. -- .---

Re: [PHP] More than one values returned?

2008-02-19 Thread Nick Stinemates
Nathan Nobbe wrote: > On Feb 19, 2008 11:52 PM, Greg Donald <[EMAIL PROTECTED]> wrote: > > >> On Feb 19, 2008 9:27 PM, Nick Stinemates <[EMAIL PROTECTED]> wrote: >> >>> Support != good design habits. >>> >> So you presume to have better design habits than the many language >> designe

Re: [PHP] More than one values returned?

2008-02-19 Thread Nathan Nobbe
On Feb 19, 2008 11:52 PM, Greg Donald <[EMAIL PROTECTED]> wrote: > On Feb 19, 2008 9:27 PM, Nick Stinemates <[EMAIL PROTECTED]> wrote: > > Support != good design habits. > > So you presume to have better design habits than the many language > designers who implemented parallel assignment in their

Re: [PHP] Re: fopen never ends?

2008-02-19 Thread Jim Lucas
Paul van Brouwershaven wrote: Nathan Rixham wrote: I don't think this is a php problem, just load the url up in a browser and you'll see the same, appears to be a misconfigured server at the otherside - probably confused about not being passed a name based "host" header in the request. I know

Re: [PHP] More than one values returned?

2008-02-19 Thread Greg Donald
On Feb 19, 2008 9:27 PM, Nick Stinemates <[EMAIL PROTECTED]> wrote: > Support != good design habits. So you presume to have better design habits than the many language designers who implemented parallel assignment in their respective language? Right. http://en.wikipedia.org/wiki/Assignment_%28co

RE: [PHP] What community software package gets your vote? PHPfox etc...

2008-02-19 Thread Paul Scott
On Tue, 2008-02-19 at 23:21 -0500, TS wrote: > On Feb 19, 2008 8:41 PM, TS <[EMAIL PROTECTED]> wrote: > > Hello everyone. I'm not sure what the budget is but, obviously inexpensive > > would be nice. Someone turned me on to PHPfox. Yet I don't have any others > > to compare it to. If you all woul

RE: [PHP] What community software package gets your vote? PHPfox etc...

2008-02-19 Thread TS
Well security is an issue always IMHO. However, there's no full proof security. I'm hoping for the groups expertise while voting on this to consider all of these things of course. In other words, picking the lesser evil is where I'm stand with your previous question. Thankyou for your comment. --

Re: [PHP] www. not working

2008-02-19 Thread Larry Garfield
On Tuesday 19 February 2008, Daniel Brown wrote: > On Feb 19, 2008 4:43 AM, Christoph <[EMAIL PROTECTED]> wrote: > > > Don't do that. > > > Some sites may or may not use www. for whatever reason... > > > Usually screwed-up A-name records by incompetent sysadmins, but there > > > it is... > > > > Re

Re: [PHP] More than one values returned?

2008-02-19 Thread Nick Stinemates
Greg Donald wrote: > On 2/18/08, Nick Stinemates <[EMAIL PROTECTED]> wrote: > >> I have found, however, that if I ever need to return /multiple/ values, >> it's usually because of bad design and/or the lack of proper encapsulation. >> > > Yeah, that's probably why most popular scripting lan

Re: [PHP] xpath question

2008-02-19 Thread Andrew Ballard
On Feb 19, 2008 8:13 PM, RJO <[EMAIL PROTECTED]> wrote: > Hey guys, > > I have a form accepting a KML file from users and from there I want to > draw polylines based on a KML file's > element. > > > The problem I am having is that sometimes the KML file can have a > or or none of the above, or

Re: [PHP] Converting tab delimited file to CSV

2008-02-19 Thread Richard Lynch
On Mon, February 18, 2008 12:08 pm, Graham Cossey wrote: > proceed accordingly... My biggest gripe with tab delimited files is > that they are quite a bit bigger than comma delimited files so I may > have to split the large files I receive into smaller 'chunks' to allow > them to be uploaded. This

Re: [PHP] Protected ZIP file with password

2008-02-19 Thread Richard Lynch
Use exec() and get any output that may be happening. I also suspect that the PATH you are using isn't a TRUE path, but some hacked up thing from your webhost. Look at the output of in biblioteca and see what PHP thinks is the current working directory. I had one webhost where some kind of chroo

Re: [PHP] Protected ZIP file with password

2008-02-19 Thread Richard Lynch
On Mon, February 18, 2008 4:16 pm, Shawn McKenzie wrote: > In your php code you'll need the full path to biblioteca.php and to > t.zip and the web user will need write permissions to the dir where > you > create t.zip. nitpik: The user needs write permission to just t.zip Unless zip does someth

Re: [PHP] What community software package gets your vote? PHPfox etc...

2008-02-19 Thread Greg Donald
On Feb 19, 2008 8:41 PM, TS <[EMAIL PROTECTED]> wrote: > Hello everyone. I'm not sure what the budget is but, obviously inexpensive > would be nice. Someone turned me on to PHPfox. Yet I don't have any others > to compare it to. If you all would be so kind as to put a shout out and vote > on your f

Re: [PHP] Protected ZIP file with password

2008-02-19 Thread Richard Lynch
You can dig out what 127 means from perror, or you can just go with the "usual" suspects of paths and permissions. PHP does not run as "you" from the command line and does not use "your" shell and does not have "your" environment. Use FULL PATH everywhere. E.g.: exec("/usr/bin/zip /home/www/bast

Re: [PHP] Re: open a secondary window/tab in the browser from php

2008-02-19 Thread Richard Lynch
On Mon, February 18, 2008 1:04 pm, Shawn McKenzie wrote: > julian wrote: >> >> >> Hi, >> >> I have an application that along filling in some forms, it produces >> a >> pdf file, as confirmation of all entered data. >> >> I want to send this pdf file to a different window/tab of the >> browser, >>

Re: [PHP] More than one values returned?

2008-02-19 Thread Greg Donald
On Feb 19, 2008 5:23 PM, Steve Edberg <[EMAIL PROTECTED]> wrote: > For completeness sake, this is pretty much the same in PHP: > > function test() { >return array(1,2); > } > > list($a,$b) = test(); Yup, just a few more keystrokes is all. -- Greg Donald http://destiney.com/

[PHP] What community software package gets your vote? PHPfox etc...

2008-02-19 Thread TS
Hello everyone. I'm not sure what the budget is but, obviously inexpensive would be nice. Someone turned me on to PHPfox. Yet I don't have any others to compare it to. If you all would be so kind as to put a shout out and vote on your favorite, I'd be very grateful. Extendability would also be nic

Re: [PHP] classes

2008-02-19 Thread Richard Lynch
On Mon, February 18, 2008 2:25 pm, nihilism machine wrote: > if i declare an instance of a class in the top of my php file, then > have html, then later on user $myClassInstance->myMethod(); -- > myMethod() does not execute, only when i have the instantiation of the > class right before the call to

Re: [PHP] Re: fopen never ends?

2008-02-19 Thread Richard Lynch
On Tue, February 19, 2008 5:49 pm, Chris wrote: > >>> Perhaps concider moving to fsockopen or stream_socket_client with >>> timeout parameters to solve your issue. >> >> fsockopen has no context > > Maybe I'm missing something but it returns a resource just like fopen. > > http://php.net/fsockopen

[PHP] xpath question

2008-02-19 Thread RJO
Hey guys, I have a form accepting a KML file from users and from there I want to draw polylines based on a KML file's element. The problem I am having is that sometimes the KML file can have a or or none of the above, or any number of random scenarios in the KML file making it hard to parse.

Re: [PHP] Session destruction problem

2008-02-19 Thread Adil Drissi
Hi, Below you'll find my code. I think now that the problem is in my algorithm, because the is created anytime the page is refreshed. But i don't know how to check if the client was logged out or it is a real new connexion to the page. As you will see one can click on logout, then press the back b

Re: [PHP] unable to unset reference

2008-02-19 Thread Chris
Hence my previous gibberish, I would expect a reference to be destroyed when the object is, but obviously it's not. It has nothing specifically to do with objects, it's all about how references are handled. $ php -a Interactive mode enabled http://blog.libssh2.org/index.php?/archives/51-Yo

Re: [PHP] unable to unset reference

2008-02-19 Thread Shawn McKenzie
Chris wrote: > Sylvain Rabot wrote: >> Hello, >> >> First of all I would like to know if one day we will be able to unset >> $this into a class in order to destroy the object. It could really be >> useful to prevent big memory usage. > > I doubt the php-dev's will ever allow something like that, s

Re: [PHP] MySQL Stored Procedures

2008-02-19 Thread Chris
my only wish was that more people wrote more articles about the proper structure. You mean like the example on the mysql website? http://dev.mysql.com/doc/refman/5.0/en/stored-procedures.html -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www

Re: [PHP] unable to unset reference

2008-02-19 Thread Chris
Sylvain Rabot wrote: Hello, First of all I would like to know if one day we will be able to unset $this into a class in order to destroy the object. It could really be useful to prevent big memory usage. I doubt the php-dev's will ever allow something like that, seems rather dangerous to me.

Re: [PHP] Re: fopen never ends?

2008-02-19 Thread Chris
Perhaps concider moving to fsockopen or stream_socket_client with timeout parameters to solve your issue. fsockopen has no context Maybe I'm missing something but it returns a resource just like fopen. http://php.net/fsockopen -- Postgresql & php tutorials http://www.designmagick.com/ --

Re: [PHP] js to php help

2008-02-19 Thread tedd
At 10:18 AM -0800 2/19/08, Brady Mitchell wrote: On Feb 19, 2008, at 712AM, tedd wrote: Hi gang: I have a date picker in javascript working, but I need to take the date selections to php. Here's the link and code: http://www.webbytedd.com/a/calendar/index.php How can I get what is selecte

Re: [PHP] Thread Safety

2008-02-19 Thread Tom Rogers
Hi, Wednesday, February 20, 2008, 3:00:28 AM, you wrote: TP> Not quite sure if this is the right list, but here I am... TP> TP> I'm trying to use zend platform and it requires the Thread Safety option set TP> to off. TP> TP> I just compiled php and I can't find what argument to build php that

Re: [PHP] More than one values returned?

2008-02-19 Thread Steve Edberg
At 4:57 PM -0600 2/19/08, Greg Donald wrote: On 2/18/08, Nick Stinemates <[EMAIL PROTECTED]> wrote: I have found, however, that if I ever need to return /multiple/ values, it's usually because of bad design and/or the lack of proper encapsulation. Yeah, that's probably why most popular scrip

Re: [PHP] More than one values returned?

2008-02-19 Thread Greg Donald
On 2/18/08, Robert Cummings <[EMAIL PROTECTED]> wrote: > I'd just return arrays unless I had a specific need for incurring object > overhead for such simple datatypes. w0rd. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www

Re: [PHP] More than one values returned?

2008-02-19 Thread Greg Donald
On 2/18/08, Nick Stinemates <[EMAIL PROTECTED]> wrote: > I have found, however, that if I ever need to return /multiple/ values, > it's usually because of bad design and/or the lack of proper encapsulation. Yeah, that's probably why most popular scripting languages support it. In Ruby: def foo

Re: [PHP] Re: unable to unset reference

2008-02-19 Thread Wolf
Shawn McKenzie <[EMAIL PROTECTED]> wrote: > Shawn McKenzie wrote: > > Sylvain Rabot wrote: > >> Hello, > >> > >> First of all I would like to know if one day we will be able to unset > >> $this into a class in order to destroy the object. It could really be > >> useful to prevent big memory

[PHP] Re: unable to unset reference

2008-02-19 Thread Shawn McKenzie
Shawn McKenzie wrote: > Sylvain Rabot wrote: >> Hello, >> >> First of all I would like to know if one day we will be able to unset >> $this into a class in order to destroy the object. It could really be >> useful to prevent big memory usage. >> >> As it can't be done I tried to unset an object by

[PHP] Re: unable to unset reference

2008-02-19 Thread Shawn McKenzie
Shawn McKenzie wrote: > Sylvain Rabot wrote: >> Hello, >> >> First of all I would like to know if one day we will be able to unset >> $this into a class in order to destroy the object. It could really be >> useful to prevent big memory usage. >> >> As it can't be done I tried to unset an object by

Re: [PHP] www. not working

2008-02-19 Thread Wolf
Christoph <[EMAIL PROTECTED]> wrote: > > Don't do that. > > Some sites may or may not use www. for whatever reason... > > Usually screwed-up A-name records by incompetent sysadmins, but there > > it is... > > Really? So > > games.yahoo.com > blogreport.salon.com > mirror1.downloads.com >

[PHP] Re: unable to unset reference

2008-02-19 Thread Shawn McKenzie
Sylvain Rabot wrote: > Hello, > > First of all I would like to know if one day we will be able to unset > $this into a class in order to destroy the object. It could really be > useful to prevent big memory usage. > > As it can't be done I tried to unset an object by unsetting a reference > of th

Re: [PHP] www. not working

2008-02-19 Thread Daniel Brown
These new kids have no respect. ;-P On Feb 19, 2008 2:33 PM, Richard Lynch <[EMAIL PROTECTED]> wrote: > > > On Tue, February 19, 2008 3:43 am, Christoph wrote: > >> Don't do that. > >> Some sites may or may not use www. for whatever reason... > >> Usually screwed-up A-name records by incompe

RE: [PHP] mysql input

2008-02-19 Thread Richard Lynch
On Mon, February 18, 2008 10:19 pm, Bastien Koert wrote: > mysql_real_escape_string() Yes. > addslashes() No, not right for different charsets. See above. > htmlentities() Completely and wildly inappropriate. Might as well use a cannon to slice a tomato. -- Some people have a "gift" link he

Re: [PHP] mysql input

2008-02-19 Thread Richard Lynch
On Mon, February 18, 2008 10:05 pm, nihilism machine wrote: > I have a user saving a VARCHAR(255) field in a mysql db which has > single quotes in the text, how can i replace them so that they dont > fuck up my mysql command? http://php.net/mysql_real_escape_string Google for "SQL injection" for

Re: [PHP] www. not working

2008-02-19 Thread Richard Lynch
On Tue, February 19, 2008 3:43 am, Christoph wrote: >> Don't do that. >> Some sites may or may not use www. for whatever reason... >> Usually screwed-up A-name records by incompetent sysadmins, but >> there >> it is... > > Really? So > > games.yahoo.com > blogreport.salon.com > mirror1.downloads

Re: [PHP] System errno in PHP

2008-02-19 Thread Richard Lynch
PHP catches all thsoe and prints nifty error message. I presume the error number is in the guts somewhere, and could be exposed easily enough if you worked at it... But I don't think there is any kind of variable today with it in there. php_errmsg used to have the error message in it, but that d

[PHP] Re: Question about cURL, and iFrames...

2008-02-19 Thread Shawn McKenzie
Jason Pruim wrote: > Happy friday to all of you! > > May the Beer[1] flow freely from the kegs to your lips after work! > > I am trying to think through something, I am writing a simple proxy > script for my own knowledge and to simplify my life :) > > What I want to do is bring in multiple webs

[PHP] RES: [PHP-INSTALL] Re: [PHP] Thread Safety

2008-02-19 Thread Thiago Pojda
-Mensagem original- mailto:[EMAIL PROTECTED] Assunto: [PHP-INSTALL] Re: [PHP] Thread Safety On Feb 19, 2008 1:21 PM, Thiago Pojda <[EMAIL PROTECTED]> wrote: > I was expecting that. I just compiled it to enable oci8 module and the > source is ready for modifications. :) > > Isn't there

Re: [PHP] System errno in PHP

2008-02-19 Thread Richard Lynch
On Tue, February 19, 2008 7:13 am, Michal Maras wrote: > Coud somebody tell me if it is possible to get integer value of > variable > which name in C is errno end in perl $!. > I am PHP beginner so I am sorry if question is 'stupid'. If you use exec() you can get that as a returned value for the

Re: [PHP] Hiding all browser toolbars - how?

2008-02-19 Thread Richard Lynch
With target and JS, yes. It's not PHP. It's not even ASP. It's just HTML and JavaScript. On Tue, February 19, 2008 8:10 am, Matty Sarro wrote: > Greetings everyone! I am currently working on a web application > (aren't we > all?). The main page which users will look at is simply a login > promp

[PHP] unable to unset reference

2008-02-19 Thread Sylvain Rabot
Hello, First of all I would like to know if one day we will be able to unset $this into a class in order to destroy the object. It could really be useful to prevent big memory usage. As it can't be done I tried to unset an object by unsetting a reference of this object but it has no effect on the

Re: [PHP] Re: Call PHP script from MySQL

2008-02-19 Thread Richard Lynch
On Tue, February 19, 2008 5:58 pm, Mário Gamito wrote: > >> Is it possible to call from within MySQL an external PHP script ? > >> I've read "MySQL Stored Procedure Programming" from O'Reilly but > >> found nothing :( > > I'd really like to see an example of why you need this > functionality, >

Re: [PHP] Thread Safety

2008-02-19 Thread Daniel Brown
On Feb 19, 2008 1:21 PM, Thiago Pojda <[EMAIL PROTECTED]> wrote: > I was expecting that. I just compiled it to enable oci8 module and the > source is ready for modifications. :) > > Isn't there any argument you pass to ./configure to disable Thread Safety? I > didn't find any and neither google or

RES: [PHP] Thread Safety

2008-02-19 Thread Thiago Pojda
I was expecting that. I just compiled it to enable oci8 module and the source is ready for modifications. :) Isn't there any argument you pass to ./configure to disable Thread Safety? I didn't find any and neither google or php-install list answer anything. Thanks. -Mensagem original- De

Re: [PHP] js to php help

2008-02-19 Thread Brady Mitchell
On Feb 19, 2008, at 712AM, tedd wrote: Hi gang: I have a date picker in javascript working, but I need to take the date selections to php. Here's the link and code: http://www.webbytedd.com/a/calendar/index.php How can I get what is selected in javascript to POST? Have you tried placin

Re: [PHP] Thread Safety

2008-02-19 Thread Daniel Brown
On Feb 19, 2008 12:00 PM, Thiago Pojda <[EMAIL PROTECTED]> wrote: > Not quite sure if this is the right list, but here I am... > > I'm trying to use zend platform and it requires the Thread Safety option set > to off. > > I just compiled php and I can't find what argument to build php that way, > w

[PHP] MySQL Stored Procedures

2008-02-19 Thread admin
I want to thank all who helped me on this issue. My Problem was when I tried to return a parameter to the C++ script. CREATE PROCEDURE `tracinsert`(CaldNumber varchar(12), CaldTime varchar(50), CallerID varchar(12)) BEGIN INSERT INTO IncCalls (CaldNumber, CaldTime, CallerID) VALUES (CaldNumber,

Re: [PHP] Re: mysql input

2008-02-19 Thread admin
Filter the data $data = str_replace("'", "", $data); I am sure there are many ways to filter the data before insert. (If you are SURE you have "A.D.D." then it wont matter what I say to you.) Rick B. On Feb 18, 2008 11:24 PM, Shawn McKenzie <[EMAIL PROTECTED]> wrote: > nihilism machine w

[PHP] Thread Safety

2008-02-19 Thread Thiago Pojda
Not quite sure if this is the right list, but here I am... I'm trying to use zend platform and it requires the Thread Safety option set to off. I just compiled php and I can't find what argument to build php that way, what am I missing? PHP 4.4.8 Thanks! Atenciosamente,

Re: [PHP] Hiding all browser toolbars - how?

2008-02-19 Thread Daniel Brown
On Feb 19, 2008 9:10 AM, Matty Sarro <[EMAIL PROTECTED]> wrote: > Greetings everyone! I am currently working on a web application (aren't we > all?). The main page which users will look at is simply a login prompt, and > upon logging in a new browser window will be launched. I would like that > win

Re: [PHP] More than one values returned?

2008-02-19 Thread Nick Stinemates
Nathan Rixham wrote: > Robert Cummings wrote: >> On Mon, 2008-02-18 at 21:09 -0600, Larry Garfield wrote: >>> On Monday 18 February 2008, Nick Stinemates wrote: >>> >> I have found, however, that if I ever need to return /multiple/ >> values, >> it's usually because of bad design and/or

Re: [PHP] Re: mysql input

2008-02-19 Thread Daniel Brown
On Feb 18, 2008 11:24 PM, Shawn McKenzie <[EMAIL PROTECTED]> wrote: > nihilism machine wrote: > > I have a user saving a VARCHAR(255) field in a mysql db which has single > > quotes in the text, how can i replace them so that they dont fuck up my > > mysql command? > > > > -e > > > Have you tried:

Re: [PHP] System errno in PHP

2008-02-19 Thread Nick Stinemates
Michal Maras wrote: > I am now using filesystem functions fopen, fread, fclose, ... > > On 19/02/2008, Stut <[EMAIL PROTECTED]> wrote: > >> Michal Maras wrote: >> >>> Coud somebody tell me if it is possible to get integer value of >>> >> variable >> >>> which name in C is errno

Re: [PHP] Question about cURL, and iFrames...

2008-02-19 Thread Dan Joseph
On Feb 19, 2008 9:44 AM, Jason Pruim <[EMAIL PROTECTED]> wrote: > Thanks for the response. Do you think that there is a better way to > pull in another webpage other then curl? I mean, could I simply > include 'HTTP://www.mykillersite.com '; and > have all the link wo

Re: [PHP] www. not working

2008-02-19 Thread Daniel Brown
On Feb 19, 2008 4:43 AM, Christoph <[EMAIL PROTECTED]> wrote: > > Don't do that. > > Some sites may or may not use www. for whatever reason... > > Usually screwed-up A-name records by incompetent sysadmins, but there > > it is... > > Really? So > > games.yahoo.com > blogreport.salon.com > mirror1.

[PHP] Re: js to php help

2008-02-19 Thread tedd
At 3:23 PM + 2/19/08, Nathan Rixham wrote: Nathan Rixham wrote: tedd wrote: Hi gang: I have a date picker in javascript working, but I need to take the date selections to php. Here's the link and code: http://www.webbytedd.com/a/calendar/index.php How can I get what is selected in jav

Re: [PHP] www. not working

2008-02-19 Thread Philip Thompson
On Feb 19, 2008, at 3:43 AM, Christoph wrote: Don't do that. Some sites may or may not use www. for whatever reason... Usually screwed-up A-name records by incompetent sysadmins, but there it is... Really? So games.yahoo.com blogreport.salon.com mirror1.downloads.com are examples of screwed

Re: [PHP] Question about cURL, and iFrames...

2008-02-19 Thread Daniel Brown
On Feb 19, 2008 9:44 AM, Jason Pruim <[EMAIL PROTECTED]> wrote: > Hey Dan, > > Thanks for the response. Do you think that there is a better way to > pull in another webpage other then curl? I mean, could I simply > include 'HTTP://www.mykillersite.com'; and have all the link work? > I'll have to tr

[PHP] Re: js to php help

2008-02-19 Thread Nathan Rixham
Nathan Rixham wrote: tedd wrote: Hi gang: I have a date picker in javascript working, but I need to take the date selections to php. Here's the link and code: http://www.webbytedd.com/a/calendar/index.php How can I get what is selected in javascript to POST? Thanks in advance for any sugg

[PHP] Re: js to php help

2008-02-19 Thread Nathan Rixham
tedd wrote: Hi gang: I have a date picker in javascript working, but I need to take the date selections to php. Here's the link and code: http://www.webbytedd.com/a/calendar/index.php How can I get what is selected in javascript to POST? Thanks in advance for any suggestions. Cheers, ted

[PHP] js to php help

2008-02-19 Thread tedd
Hi gang: I have a date picker in javascript working, but I need to take the date selections to php. Here's the link and code: http://www.webbytedd.com/a/calendar/index.php How can I get what is selected in javascript to POST? Thanks in advance for any suggestions. Cheers, tedd -- ---

Re: [PHP] Re: Call PHP script from MySQL

2008-02-19 Thread Sancar Saran
Hello, you may call external php script someting like that $val = asp's_fopen(http://www.example.com/calculate.php?var=password_field); Regards Sancar On Wednesday 20 February 2008 01:58:48 Mário Gamito wrote: > Hi Nathan, > > >> Is it possible to call from within MySQL an external PHP scri

Re: [PHP] Re: mysql input

2008-02-19 Thread Nathan Rixham
Bastien Koert wrote: thats awesome bastien> To: php-general@lists.php.net> Date: Tue, 19 Feb 2008 11:21:02 +> From: [EMAIL PROTECTED]> Subject: Re: [PHP] Re: mysql input> > Zoltán Németh wrote:> > 2008. 02. 19, kedd keltezéssel 11.03-kor Nathan Rixham ezt írta:> >> Richard Heyes wrote:> >>>

[PHP] Re: Call PHP script from MySQL

2008-02-19 Thread Colin Guthrie
Mário Gamito wrote: > Hi Nathan, > > >>> Is it possible to call from within MySQL an external PHP script ? >>> I've read "MySQL Stored Procedure Programming" from O'Reilly but >>> found nothing :( >> I'd really like to see an example of why you need this functionality, >> if that'd be okay. Not t

RE: [PHP] Re: mysql input

2008-02-19 Thread Bastien Koert
thats awesome bastien> To: php-general@lists.php.net> Date: Tue, 19 Feb 2008 11:21:02 +> From: [EMAIL PROTECTED]> Subject: Re: [PHP] Re: mysql input> > Zoltán Németh wrote:> > 2008. 02. 19, kedd keltezéssel 11.03-kor Nathan Rixham ezt írta:> >> Richard Heyes wrote:> >>> Shawn McKenzie wro

Re: [PHP] Question about cURL, and iFrames...

2008-02-19 Thread Jason Pruim
On Feb 18, 2008, at 9:19 AM, Dan Joseph wrote: On Feb 15, 2008 9:43 AM, Jason Pruim <[EMAIL PROTECTED]> wrote: I am trying to think through something, I am writing a simple proxy script for my own knowledge and to simplify my life :) What I want to do is bring in multiple website by going to

RE: [PHP] mysql input

2008-02-19 Thread Bastien Koert
I agree, but they all provide some level of handling just might not be the 'most correct' way of handling it bastien> Subject: RE: [PHP] mysql input> From: [EMAIL PROTECTED]> To: [EMAIL PROTECTED]> CC: [EMAIL PROTECTED]; php-general@lists.php.net> Date: Mon, 18 Feb 2008 23:31:21 -0500> > > On

RES: [PHP] Hiding all browser toolbars - how?

2008-02-19 Thread Thiago Pojda
[snip] Greetings everyone! I am currently working on a web application (aren't we all?). The main page which users will look at is simply a login prompt, and upon logging in a new browser window will be launched. I would like that window to have no browser bars, etc so all of the space taken up by

RE: [PHP] Hiding all browser toolbars - how?

2008-02-19 Thread Jay Blanchard
[snip] Greetings everyone! I am currently working on a web application (aren't we all?). The main page which users will look at is simply a login prompt, and upon logging in a new browser window will be launched. I would like that window to have no browser bars, etc so all of the space taken up by

[PHP] Hiding all browser toolbars - how?

2008-02-19 Thread Matty Sarro
Greetings everyone! I am currently working on a web application (aren't we all?). The main page which users will look at is simply a login prompt, and upon logging in a new browser window will be launched. I would like that window to have no browser bars, etc so all of the space taken up by the win

RE: [PHP] More than one values returned?

2008-02-19 Thread Andrés Robinet
> -Original Message- > From: Nathan Rixham [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 19, 2008 5:17 AM > To: php-general@lists.php.net > Subject: Re: [PHP] More than one values returned? > > Robert Cummings wrote: > > On Mon, 2008-02-18 at 21:09 -0600, Larry Garfield wrote: > >> O

Re: [PHP] System errno in PHP

2008-02-19 Thread Michal Maras
I am now using filesystem functions fopen, fread, fclose, ... On 19/02/2008, Stut <[EMAIL PROTECTED]> wrote: > > Michal Maras wrote: > > Coud somebody tell me if it is possible to get integer value of > variable > > which name in C is errno end in perl $!. > > I am PHP beginner so I am sorry if

Re: [PHP] System errno in PHP

2008-02-19 Thread Michal Maras
Hi I am asking about errno for Filesystems functions like fopen, fread, fclose, ... On 19/02/2008, Stut <[EMAIL PROTECTED]> wrote: > > Michal Maras wrote: > > Coud somebody tell me if it is possible to get integer value of > variable > > which name in C is errno end in perl $!. > > I am PHP be

[PHP] Re: fopen never ends?

2008-02-19 Thread Paul van Brouwershaven
Nathan Rixham wrote: I don't think this is a php problem, just load the url up in a browser and you'll see the same, appears to be a misconfigured server at the otherside - probably confused about not being passed a name based "host" header in the request. I know that my browser is also waiting

Re: [PHP] System errno in PHP

2008-02-19 Thread Stut
Michal Maras wrote: Coud somebody tell me if it is possible to get integer value of variable which name in C is errno end in perl $!. I am PHP beginner so I am sorry if question is 'stupid'. What function are you calling where you expect to get a system error? Check the manual page for that

Re: [PHP] More than one values returned?

2008-02-19 Thread tedd
At 6:06 PM -0800 2/18/08, Nick Stinemates wrote: Thats a good example, and a good reason for passing values by Reference instead of by Value. I have found, however, that if I ever need to return /multiple/ values, it's usually because of bad design and/or the lack of proper encapsulation. That

[PHP] System errno in PHP

2008-02-19 Thread Michal Maras
Hello everybody Coud somebody tell me if it is possible to get integer value of variable which name in C is errno end in perl $!. I am PHP beginner so I am sorry if question is 'stupid'. By

[PHP] Re: fopen never ends?

2008-02-19 Thread Nathan Rixham
Paul van Brouwershaven wrote: When you run the folling script, it will never ends? I have seen this more then once, I know that there is no service running at the target host, but why is the script not printing the failed message? It's only with a few ip-number I have this problem. if ($fp =

[PHP] fopen never ends?

2008-02-19 Thread Paul van Brouwershaven
When you run the folling script, it will never ends? I have seen this more then once, I know that there is no service running at the target host, but why is the script not printing the failed message? It's only with a few ip-number I have this problem. if ($fp = fopen('https://81.23.227.9', '

Re: [PHP] Re: Call PHP script from MySQL

2008-02-19 Thread Mário Gamito
Hi Nathan, >> Is it possible to call from within MySQL an external PHP script ? >> I've read "MySQL Stored Procedure Programming" from O'Reilly but >> found nothing :( > I'd really like to see an example of why you need this functionality, > if that'd be okay. Not to judge, just to learn :) I'm

Re: [PHP] Re: mysql input

2008-02-19 Thread Nathan Rixham
Nathan Rixham wrote: Zoltán Németh wrote: 2008. 02. 19, kedd keltezéssel 11.03-kor Nathan Rixham ezt írta: Richard Heyes wrote: Shawn McKenzie wrote: nihilism machine wrote: I have a user saving a VARCHAR(255) field in a mysql db which has single quotes in the text, how can i replace them so

Re: [PHP] Re: mysql input

2008-02-19 Thread Nathan Rixham
Zoltán Németh wrote: 2008. 02. 19, kedd keltezéssel 11.03-kor Nathan Rixham ezt írta: Richard Heyes wrote: Shawn McKenzie wrote: nihilism machine wrote: I have a user saving a VARCHAR(255) field in a mysql db which has single quotes in the text, how can i replace them so that they dont fuck u

Re: [PHP] Re: mysql input

2008-02-19 Thread Zoltán Németh
2008. 02. 19, kedd keltezéssel 11.03-kor Nathan Rixham ezt írta: > Richard Heyes wrote: > > Shawn McKenzie wrote: > >> nihilism machine wrote: > >>> I have a user saving a VARCHAR(255) field in a mysql db which has single > >>> quotes in the text, how can i replace them so that they dont fuck up my

Re: [PHP] Re: mysql input

2008-02-19 Thread Nathan Rixham
Richard Heyes wrote: Shawn McKenzie wrote: nihilism machine wrote: I have a user saving a VARCHAR(255) field in a mysql db which has single quotes in the text, how can i replace them so that they dont fuck up my mysql command? -e Have you tried: dont_fuck_up_my_mysql_command() Hrmph, I c

Re: [PHP] www. not working

2008-02-19 Thread Børge Holen
On Tuesday 19 February 2008 10:43:04 Christoph wrote: > > Don't do that. > > Some sites may or may not use www. for whatever reason... > > Usually screwed-up A-name records by incompetent sysadmins, but there > > it is... > > Really? So > > games.yahoo.com > blogreport.salon.com > mirror1.download

  1   2   >