[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

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] 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] 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" 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 th

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

2009-02-07 Thread Alpár Török
2009/2/7 Marc Steinert > 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_

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" 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

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

2009-02-07 Thread Stuart
2009/2/7 revDAVE : > On 2/7/2009 11:41 AM, "Stuart" 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

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

2009-02-07 Thread revDAVE
On 2/7/2009 11:41 AM, "Stuart" 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? > > Use

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

2009-02-07 Thread Stuart
2009/2/7 revDAVE : > 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 > databas

[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 datab

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 br

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 dow

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 Bastien Sent from my iPod On Feb 7, 2009,

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 wa

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 onl

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 ti

Re: [PHP] Re: move_uploaded_file() problem

2009-02-07 Thread Alpár Török
2009/2/7 Dušan Novaković > On Sat, Feb 7, 2009 at 12:29 PM, Alpár Török wrote: > > > > > > 2009/2/7 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 m

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 ba

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

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 Chris
if($_FILES['file']['name'] && $_FILES['file']['size']<55){ $file_name = "news_".$_FILES['file']['name']; $image="../_img/news/".$file_name;

[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 form,

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 wrote: > > > 2009/2/7 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

Re: [PHP] Re: move_uploaded_file() problem

2009-02-07 Thread Alpár Török
2009/2/7 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

[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 whol

[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 whole

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 > 2009/2/7 Paul M Foster : > > I'm not too c

Re: [PHP] Session variables

2009-02-07 Thread Stuart
2009/2/7 Paul M Foster : > 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