Re: [php-list] Mysql Insert Problem

2006-07-05 Thread Mike Brandonisio
Hi, I looked at what I sent you and missed a quote on line 3. It was "VALUES ('; and should have been "VALUES (";. See below $query = "INSERT INTO Players (fname, lname, address, city, state, zip, phhome, phcell, phwork, other, email)"; $query .="VALUES ("; $query .=" '".$_POST['fname']."', '".

Re: [php-list] Mysql Insert Problem

2006-07-05 Thread Wade Smart
07052006 1845 GMT-6 Im still having a bit of a problem with this insert. Im using the double quotes but this is the error: Players(fname,lname,address,city,state,zip,phhome,) VALUES (Bob,Smith,123 On Some Street, Batesville, OG, 01235, 333-222-,) Insert error: "You have an error in your S

Re: [php-list] IP adress

2006-07-05 Thread Pete
In message <[EMAIL PROTECTED]>, Nick Vettese <[EMAIL PROTECTED]> writes >Ok. Here is the trick I found to getting it to work. You must name the files >using the includes, with a .php extension. Write this down people, it is very >important. :) But not very correct... You can INCLUDE any ki

Re: [php-list] includes

2006-07-05 Thread Pete
In message <[EMAIL PROTECTED]>, Nick Vettese <[EMAIL PROTECTED]> writes >I am trying to include four files into my webpage. Currently, I am doing it >as >so: > >$page_title='Welcome'; >include('./includes/header.htm'); >include('./includes/top.htm'); >include('./includes/banner.htm'); > >?> > >b

Re: [php-list] another foreach question

2006-07-05 Thread Wade Smart
07052006 1400 GMT-6 Of course, as soon as I ask I find the answer: foreach($search_terms as $search_item){ if(array_key_exists($search_item, $search_array)){ if(!empty($search_array[$search_item])){ $data[$search_item] = $search_array[$search_item];

[php-list] another foreach question

2006-07-05 Thread Wade Smart
07052006 1340 GMT-6 This is a little test that I was playing with but Im not doing so well with it. It takes an array, usually Post, and goes through looking for array keys with a set of predefined keys in a second array. If the key is present it looks to see if its empty. If it is not then its

Re: [php-list] IP adress

2006-07-05 Thread Nick Vettese
Ok. Here is the trick I found to getting it to work. You must name the files using the includes, with a .php extension. Write this down people, it is very important. :) Thanks for all the help, Nick - Original Message From: Phill Sparks <[EMAIL PROTECTED]> To: php-list@yahoogrou

Re: [php-list] includes

2006-07-05 Thread Bruno Lustosa
On 7/5/06, Wade Smart <[EMAIL PROTECTED]> wrote: > For my own pages I have this: > include('../header/top.htm'); > > That says its out of the current folder and into the header. > As I read yours, is out of the current folder and into the includes. > If you are in the main folder it would be

Re: [php-list] IP adress

2006-07-05 Thread Phill Sparks
If the user has made a post then you should be able to find the IP address by clicking on the IP button next to the post. If they have not posted yet then I do not think the IP address will have been recorded anywhere. On 05/07/06, SA Truth <[EMAIL PROTECTED]> wrote: > > Anyone who can please tel

Re: [php-list] includes

2006-07-05 Thread Wade Smart
07052006 1220 GMT-6 For my own pages I have this: include('../header/top.htm'); That says its out of the current folder and into the header. As I read yours, is out of the current folder and into the includes. If you are in the main folder it would be include('includes/header.htm'); wade On

[php-list] IP adress

2006-07-05 Thread SA Truth
Anyone who can please tell me where to find the IP adress in PHbb to ban an IP adress with a Username. Thanks Frikie [Non-text portions of this message have been removed] Yahoo! Groups Sponsor ~--> Something is new at Yahoo! Groups. Check out the

[php-list] includes

2006-07-05 Thread Nick Vettese
I am trying to include four files into my webpage. Currently, I am doing it as so: but it does not seem to be working. Is there something I am doing wrong? Nick [Non-text portions of this message have been removed] Yahoo! Groups Sponsor ~-->

Re: [php-list] HTTP_REFERER not working

2006-07-05 Thread Phill Sparks
When you redirect them add the url to the place you send them to... For example, for http://www.example.org/somehomedir --> http://www.example.org/someotherplace?from=somehomedir The rewrite might be RewriteCond %{REQUEST_FILENAME} !\/someotherplace RewriteRule \/(.*)$ http://www.example.org/som

Re: [php-list] HTTP_REFERER not working

2006-07-05 Thread Asif Ali
Hi try this following line; echo $_SERVER['HTTP_REFERER']; this will fine. star moon <[EMAIL PROTECTED]> wrote: Hi I want $_HTTP_REFERER in current page but HTTP_REFERER not woking i thing coz of proxy. is there any way to get previous url?. What i have

[php-list] HTTP_REFERER not working

2006-07-05 Thread star moon
Hi I want $_HTTP_REFERER in current page but HTTP_REFERER not woking i thing coz of proxy. is there any way to get previous url?. What i have done here. In my site i provide home page name for user http://xyz.com/homepagename if he enter then by using .htaccess file i r

Re: [php-list] Re: www in URL

2006-07-05 Thread Pete
In message <[EMAIL PROTECTED]>, Pete <[EMAIL PROTECTED]> writes >In message <[EMAIL PROTECTED]>, Brian Cummiskey ><[EMAIL PROTECTED]> writes >>http://no-www.org/ >> >>I would suggest the opposite. www is depreciated. > >Where is it depreciated? I haven't seen this before. or deprecated, if you l

Re: [php-list] Re: www in URL

2006-07-05 Thread Pete
In message <[EMAIL PROTECTED]>, Brian Cummiskey <[EMAIL PROTECTED]> writes >http://no-www.org/ > >I would suggest the opposite. www is depreciated. Where is it depreciated? I haven't seen this before. -- Pete Clark Yahoo! Groups Sponsor ~--> C