Re: [PHP] Window close.

2006-02-07 Thread Jason Petersen
On 2/7/06, Miles Thompson <[EMAIL PROTECTED]> wrote: > > > Actually, expand it a little bit, and you avoid the JS Alert. > > function close_opener(){ > parentwin = window.self; // Make handle for current > window named "parentwin" > parentwin.opener = window.self;//

Re: [PHP] absolute vs relative path?

2006-01-28 Thread Jason Petersen
On 1/25/06, William Stokes <[EMAIL PROTECTED]> wrote: > > > I Have a web site on one server and a test site on another. How can I > build > the hyperlinks so that they work on both servers without modification. > The cleanest solution is to use relative paths so that your site will work regardless

Re: [PHP] ID vs NAME in different browsers

2006-01-28 Thread Jason Petersen
On 1/28/06, Niels <[EMAIL PROTECTED]> wrote: when making an input field for submission from a form, I need to put a > name='something' in it. For CSS I often use an id='something'. Some > browsers apparently submit the field properly if name is missing and id is > present. Others might not. Can an

Re: [PHP] Help getting PHP and GPG to work

2006-01-09 Thread Jason Petersen
On 1/9/06, Support <[EMAIL PROTECTED]> wrote: > > > quote for the book- > > "PHP scripts will invoke the encryption process, and the public key has to > be > on the key ring of the user invoking the encryption. On the Web server, > PHP > usually runs as user "nobody" or "www" or as the user for you

Re: [PHP] Help getting PHP and GPG to work

2006-01-09 Thread Jason Petersen
On 1/9/06, zedleon <[EMAIL PROTECTED]> wrote: > > Has anybody had success using PHP and GPG to send encripted email from a > form? > Yes. You're on the right track. The method I used was to create a temp file with my data, encrypt it with GPG, read it back into a string, then mail() it. (Of co

Re: [PHP] What software do you use for writing PHP?

2005-12-06 Thread Jason Petersen
On 12/6/05, Jeff McKeon <[EMAIL PROTECTED]> wrote: > > Hey all, > > Forever now I've been using Frontpage for all my web work including php. > I'm sure there's better software out there that is more suited to > writing and editing PHP pages. What do you all use? > Vim is my editor of preference.

Re: [PHP] Browser Control Help

2005-12-05 Thread Jason Petersen
ote: > > Hi Jason, > > You sound offended...Happy Christmas to you too! > If you really wanted to know what I was addressing please read what Dan > (Parry) wrote. > > Keep smiling after all its Dec, > C > > - Original Message - > *From:* Jason Petersen <

Re: [PHP] FTPS transfers

2005-09-26 Thread Jason Petersen
On 9/26/05, Jim Moseby <[EMAIL PROTECTED]> wrote: > > > Try adding > > ftp_pasv ( $conn, true ); > > JM > Jim, That did the trick! Many thanks.. Jason

[PHP] FTPS transfers

2005-09-26 Thread Jason Petersen
Hello List, I'm having some issues with PHP's FTPS support. I'm using ftp_ssl_connect() to establish a connection (which is successful), however I am unable to retrieve a directory listing or upload files. Does anyone have advice for getting this to work? The uploaded file is created with a filesi

Re: [PHP] Objects in Arrays (without the READ prompt)

2005-05-05 Thread Jason Petersen
Hi, I think you need to serialize your objects. http://us3.php.net/manual/en/language.oop.serialization.php Jason On 5/5/05, Stuart Nielson <[EMAIL PROTECTED]> wrote: > Sorry to everyone about the stupid READ notification on the posting. I > completely forgot that it was enabled. This one s

Re: [PHP] PHP RegExp and HTML tags attributes values etc...

2005-03-10 Thread Jason Petersen
On Thu, 10 Mar 2005 00:18:05 +0100, BlackDex <[EMAIL PROTECTED]> wrote: > Hello ppl, > > I have a question about regex and html parsing. > > I have the following code: > --- > style='font-size:12.0pt;font-family:"Comic Sans MS"'>  I'm guessing that you're writing a function to parse "HTML" that

Re: [PHP] line feed

2005-03-04 Thread Jason Petersen
On Fri, 04 Mar 2005 14:38:20 +, Bruno Santos <[EMAIL PROTECTED]> wrote: > Hello. > > How do i print a line return using the echo command, for when i see the > page source, > i get the code line by line and not all in the same line. > > using double quotes ( " ), i can put \n at the end and i

Re: [PHP] sql query

2005-03-02 Thread Jason Petersen
On Wed, 2 Mar 2005 13:02:39 +0200, William Stokes <[EMAIL PROTECTED]> wrote: > Hello > > Can someone explain this to me. I don't know how to read this. > > if (!$variable = mysql_query("select id,sessid from users where ... > > What is this "if(!" This is a way to run a SQL query, capture the r

Re: [PHP] mysql query

2005-02-17 Thread Jason Petersen
On 17 Feb 2005 19:28:18 -0600, Bret Hughes <[EMAIL PROTECTED]> wrote: > On Thu, 2005-02-17 at 18:24, Sebastian wrote: > > Hello, > > im working on an article system and looking to avoid running three queries. > > example, i have this query: > > > > SELECT id,title FROM articles WHERE id=$_GET[id] >