php-general Digest 7 Feb 2009 10:53:34 -0000 Issue 5945

2009-02-07 Thread php-general-digest-help
php-general Digest 7 Feb 2009 10:53:34 - Issue 5945 Topics (messages 287862 through 287890): Re: Clarity needed OT 287862 by: Frank Stanovcak 287863 by: Daniel Brown 287871 by: Ashley Sheridan 287873 by: Shawn McKenzie 287878 by: Daniel Brown

php-general Digest 8 Feb 2009 01:24:58 -0000 Issue 5946

2009-02-07 Thread php-general-digest-help
php-general Digest 8 Feb 2009 01:24:58 - Issue 5946 Topics (messages 287891 through 287914): Re: move_uploaded_file() problem 287891 by: Dušan Novaković 287892 by: Alpár Török 287893 by: Dušan Novaković 287895 by: Chris 287896 by: Carlos Medina

Re: [PHP] Session variables

2009-02-07 Thread Stuart
2009/2/7 Paul M Foster pa...@quillandmouse.com: I'm not too clear on HTTP headers, cookies, and such. So here are questions related to that. Let's say I generate a random number that I want the user to enter in a form. When I generate the number, I store it in a session variable ($_SESSION).

Re: [PHP] Session variables

2009-02-07 Thread German Geek
Yeah i guess the cookie doesn't need to be stored on the server since it's in the header anyway. Thanks for clearing that up. Tim-Hinnerk Heuer http://www.ihostnz.com Charles M. Schulz - I love mankind; it's people I can't stand. 2009/2/7 Stuart stut...@gmail.com 2009/2/7 Paul M Foster

[PHP] move_uploaded_file() problem

2009-02-07 Thread Dušan Novaković
Hi, I'm having problem with function move_uploaded_file() under Linux (Slackware 12.2). It simply want execute only that function in php file. So maybe I should add something to http.config file or ? I tried to execute that php file under Windows and it's working just fine (I've copied

[PHP] Re: move_uploaded_file() problem

2009-02-07 Thread Dušan Novaković
Hi, I'm having problem with function move_uploaded_file() under Linux (Slackware 12.2). It simply won't execute only that function in php file. So maybe I should add something to http.config file or ? I tried to execute that php file under Windows and it's working just fine (I've copied

Re: [PHP] Re: move_uploaded_file() problem

2009-02-07 Thread Alpár Török
2009/2/7 Dušan Novaković ndu...@gmail.com Hi, I'm having problem with function move_uploaded_file() under Linux (Slackware 12.2). It simply won't execute only that function in php file. So maybe I should add something to http.config file or ? I tried to execute that php file under

Re: [PHP] Re: move_uploaded_file() problem

2009-02-07 Thread Dušan Novaković
On Sat, Feb 7, 2009 at 12:29 PM, Alpár Török torokal...@gmail.com wrote: 2009/2/7 Dušan Novaković ndu...@gmail.com Hi, I'm having problem with function move_uploaded_file() under Linux (Slackware 12.2). It  simply won't execute only that function in php file. So maybe I should add

[PHP] Re: Session variables

2009-02-07 Thread Nathan Rixham
Paul M Foster wrote: I'm not too clear on HTTP headers, cookies, and such. So here are questions related to that. Let's say I generate a random number that I want the user to enter in a form. When I generate the number, I store it in a session variable ($_SESSION). When the user submits the

Re: [PHP] Re: move_uploaded_file() problem

2009-02-07 Thread Chris
if($_FILES['file']['name'] $_FILES['file']['size']55){ $file_name = news_.$_FILES['file']['name']; $image=../_img/news/.$file_name;

Re: [PHP] Re: move_uploaded_file() problem

2009-02-07 Thread Carlos Medina
Chris schrieb: if($_FILES['file']['name'] $_FILES['file']['size']55){ $file_name = news_.$_FILES['file']['name']; $image=../_img/news/.$file_name; //Upload file

Re: [PHP] Re: move_uploaded_file() problem

2009-02-07 Thread Ashley Sheridan
On Sat, 2009-02-07 at 14:03 +0100, Carlos Medina wrote: Chris schrieb: if($_FILES['file']['name'] $_FILES['file']['size']55){ $file_name = news_.$_FILES['file']['name']; $image=../_img/news/.$file_name;

Re: [PHP] Email configuration

2009-02-07 Thread Ashley Sheridan
On Sat, 2009-02-07 at 01:58 +, Nathan Rixham wrote: Shawn McKenzie wrote: Nathan Rixham wrote: Shawn McKenzie wrote: Ever heard of RBL or DNSBL? I use it on my email server and so do many lol snap, just sent same message at same time - tis so easy to jump on ash's back cos he's

Re: [PHP] Re: move_uploaded_file() problem

2009-02-07 Thread Alpár Török
2009/2/7 Dušan Novaković ndu...@gmail.com On Sat, Feb 7, 2009 at 12:29 PM, Alpár Török torokal...@gmail.com wrote: 2009/2/7 Dušan Novaković ndu...@gmail.com Hi, I'm having problem with function move_uploaded_file() under Linux (Slackware 12.2). It simply won't execute only that

Re: [PHP] Re: move_uploaded_file() problem

2009-02-07 Thread German Geek
make sure the permissions on the folders are right, so at least read for the httpd in the tmp folder and write in the destination folder. since its moving i would make them both writeable to the webserver daemon user. permissions can be annoying are necessary though... They caught me quite a few

Re: [PHP] Re: Some kind of Popup

2009-02-07 Thread Patrick Moloney
Ashley Sheridan wrote: On Sat, 2008-11-22 at 12:32 -0500, Patrick Moloney wrote: Yeti wrote: Another JavaScript method would be to load the content in a hidden div with position: absolute. I think that's what I was considering doing with CSS except it would be labels only in the content. I

Re: [PHP] Re: Some kind of Popup

2009-02-07 Thread Ashley Sheridan
On Sat, 2009-02-07 at 09:06 -0500, Patrick Moloney wrote: Ashley Sheridan wrote: On Sat, 2008-11-22 at 12:32 -0500, Patrick Moloney wrote: Yeti wrote: Another JavaScript method would be to load the content in a hidden div with position: absolute. I think that's what I was considering

Re: [PHP] Re: Some kind of Popup

2009-02-07 Thread Phpster
No, it's a generic solution, should be pretty much the same across browsers. Why not download more browsers and test? I would also add a window.focus() to the body tag in the popup to bring the window back on top when the user reclocks the link body onload='window.focus();' Bastien Sent

Re: [PHP] Re: Some kind of Popup

2009-02-07 Thread Patrick Moloney
Phpster wrote: No, it's a generic solution, should be pretty much the same across browsers. Why not download more browsers and test? Thanks all, I thought this might get lost in history here. It's not just different browsers, it's different operating systems - Apple, Linux, more. I can't

Re: [PHP] Re: Some kind of Popup

2009-02-07 Thread Ashley Sheridan
On Sat, 2009-02-07 at 09:43 -0500, Patrick Moloney wrote: Phpster wrote: No, it's a generic solution, should be pretty much the same across browsers. Why not download more browsers and test? Thanks all, I thought this might get lost in history here. It's not just different browsers,

[PHP] Adding Records Capture The New Record ID

2009-02-07 Thread revDAVE
Newbie question... Hi folks, Adding records capture the new record ID: In the past, if I added a new record from a form in a phonebook file as an example, I would use a web form to fill out the info, and then add and invisible text item that stored a random number in one of the unused

Re: [PHP] Adding Records Capture The New Record ID

2009-02-07 Thread Stuart
2009/2/7 revDAVE c...@hosting4days.com: Adding records capture the new record ID: In the past, if I added a new record from a form in a phonebook file as an example, I would use a web form to fill out the info, and then add and invisible text item that stored a random number in one of the

Re: [PHP] Adding Records Capture The New Record ID

2009-02-07 Thread revDAVE
On 2/7/2009 11:41 AM, Stuart stut...@gmail.com wrote: Then, after I inserted the record - I would do a quick query that would retrieve the record ID by searching for the random number Ouch that's nasty!! Q: is there a better way to retrieve the record ID from the newly added record?

Re: [PHP] Adding Records Capture The New Record ID

2009-02-07 Thread Stuart
2009/2/7 revDAVE c...@hosting4days.com: On 2/7/2009 11:41 AM, Stuart stut...@gmail.com wrote: Then, after I inserted the record - I would do a quick query that would retrieve the record ID by searching for the random number Ouch that's nasty!! Q: is there a better way to retrieve the

Re: [PHP] Adding Records Capture The New Record ID

2009-02-07 Thread tedd
At 12:12 PM -0800 2/7/09, revDAVE wrote: On 2/7/2009 11:41 AM, Stuart stut...@gmail.com wrote: Then, after I inserted the record - I would do a quick query that would retrieve the record ID by searching for the random number Ouch that's nasty!! Q: is there a better way to retrieve the

Re: [PHP] Sending XML requests as raw post data

2009-02-07 Thread Alpár Török
2009/2/7 Marc Steinert li...@bithub.net Hi there! The software I'm maintaining uses $HTTP_RAW_POST_DATA to receive XML requests, posted by some client written in C#. Now I need to write a PHP client that posts XML requests the same way as the C# client, so that the posted data is stored in

Re: [PHP] Adding Records Capture The New Record ID

2009-02-07 Thread Ashley Sheridan
On Sat, 2009-02-07 at 15:26 -0500, tedd wrote: At 12:12 PM -0800 2/7/09, revDAVE wrote: On 2/7/2009 11:41 AM, Stuart stut...@gmail.com wrote: Then, after I inserted the record - I would do a quick query that would retrieve the record ID by searching for the random number Ouch

[PHP] Re: Sending XML requests as raw post data

2009-02-07 Thread Nathan Rixham
Marc Steinert wrote: Hi there! The software I'm maintaining uses $HTTP_RAW_POST_DATA to receive XML requests, posted by some client written in C#. Now I need to write a PHP client that posts XML requests the same way as the C# client, so that the posted data is stored in $HTTP_RAW_POST_DATA,

[PHP] Re: Sending XML requests as raw post data

2009-02-07 Thread Nathan Rixham
Marc Steinert wrote: Hi there! The software I'm maintaining uses $HTTP_RAW_POST_DATA to receive XML requests, posted by some client written in C#. Now I need to write a PHP client that posts XML requests the same way as the C# client, so that the posted data is stored in $HTTP_RAW_POST_DATA,

Re: [PHP] Reg-ex help

2009-02-07 Thread Craige Leeder
Thanks! That's a big help. - Craige Jim Lucas wrote: Craige Leeder wrote: Hey guys, I'm trying to write a regular expression to match a tag for my frameworks template engine. I seem to be having some trouble. The expression should match: {:seg 'segname':} {:seg 'segname' cache:} What

[PHP] Seeking PHP Work in Chicago or Telecommute

2009-02-07 Thread Richard Lynch
I figure if job postings are okay, then so are job requests, right? :-) I'm looking for PHP work in Chicago or telecommuting. My resume is here: http://l-i-e.com/resume.htm -- Some people ask for gifts here. I just want you to buy an Indie CD for yourself: http://cdbaby.com/search/from/lynch