[PHP] Quick way to test series of integers

2002-10-24 Thread Paul Kaiser
27;m in trouble, because the "value" does not default to "0", but rather I'm guessing... mysql query doesn't like my trying to pass NOTHING. I COULD go through each of the 50 returned variables and, if they are not "1", assign "0" to them. But I'

Re: [PHP] extract($_POST)

2002-10-25 Thread Paul Nicholson
retrieve *only* the vars you need from POST, you should also filter them to make sure they contain what you're looking for.is_alpha($_POST['name']). And no, php doesn't have an 'is_alpha' functionI created that as part of a filtering class. ~Paul - -- ~Paul

[PHP] Re: include_path in php.ini

2002-10-25 Thread Paul Reisinger
please delete "Paul Reisinger" <[EMAIL PROTECTED]> wrote in message news:20021024144642.71222.qmail@;pb1.pair.com... > I think my problem lies in the php.ini file. What should my include_path be > set to in my php.ini file?? > > Whenever I try and include anything I

[PHP] Sessions are acting strangely

2002-10-27 Thread Paul Marais
n page 3"; ?> -- sess3.php: here to view the session vars on page 2"; echo "Click here to go back to page 1 to reset the session vars"; ?> Does anyone know if 4.1.2 had any session bugs? Thank

Re: [PHP] Webserver-Administration

2002-10-28 Thread Paul Nicholson
on, 28 Oct 2002, [ISO-8859-1] Jochen Kächelin wrote: > > How can I use PHP to admin my Apache over the browser? > > > > How do big providers allow their customers to admin their > > subdomains, forwarders, ftp-accounts over the webbrowser? > > > > Apache shoul

Re: [PHP] POST-ing or GET-ing an array

2002-10-29 Thread Paul Nicholson
query($sql); while ($myrow = mysql_fetch_assoc($result)) { $id = $myrow["id"]; $my_array[] = $id; } echo 'Next'; You'll need to unserialize+urldecode the array at the other end. And yes, $count is not needed if you use $my_array[]. HTH! ~Paul On Tuesday 29 Octob

Re: [PHP] Re: Dazed and Confused

2002-10-30 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 try(untested): array_walk($myarray, array($this, 'DoArrayStuff'),1); HTH! ~Paul On Wednesday 30 October 2002 02:08 pm, PHP List wrote: > I think the fog is starting to clear, thanks for the help. > > I do have one more question:

Re: [PHP] Re: Dazed and Confused

2002-10-30 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 oopsforgot the &. array_walk($myarray, array(&$this, 'DoArrayStuff'),1); On Wednesday 30 October 2002 02:38 pm, Paul Nicholson wrote: > try(untested): array_walk($myarray, array($this, 'DoArrayStuff'),1); >

Re: [PHP] Php "Ready-to-go"

2002-11-04 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 http://pear.php.net/bcompiler ? ~Paul On Monday 04 November 2002 08:09 am, Alexander Kuznetsov wrote: > Hello Martin, > > Monday, November 04, 2002, 2:53:48 PM, you wrote: > > MT> Hello! > > MT> Is there a way to run a

[PHP] addslashes/stripslashes

2002-11-05 Thread Paul Dionne
27;mallies%' ) I check in the database and o'mallies is indeed there as o\'mallies. And a search for just mallies works fine. What gives? Thanks Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP/MySql Array problem (newbie)

2002-11-05 Thread Paul Nicholson
> You can't send the whole array into on "cell". Try doing: > > echo $array; > > and you'll see what I mean. > > You will need to insert each element individually. - -- ~Paul Nicholson Design Specialist @ WebPower Design "The webthe way you want it!&q

Re: [PHP] Firewall Question

2002-11-05 Thread Paul Marinas
it depends on the operating system your running. Paul Marinas Technical Support RDS Craiova Phone: +402-51-410-194 Mobile: +407-22-451-439 Fax:+402-51-416-579 www.rdsnet.ro . Privileged/Confidential Information may be contained in this

Re: [PHP] addslashes/stripslashes

2002-11-06 Thread Paul Dionne
thanks guys, got it working now. Removed Addslashes and it works fine. 1lt John W. Holmes wrote: >> I am trying to develop a search for my database. >> >> I used addslashes when entering the data, and then use addslashes with >> the search but nothing comes up: >> >> Select * from tblContacts,

Re: [PHP] Installation error with 4.2.3

2002-11-06 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey, I think your problem has something to do with "--enable-mbstr-enc-trans". I remember hearing about problems with that.check the archives(I think it was on PHP-DEV). HTH! ~Paul On Wednesday 06 November 2002 05:04 am, Daniele

Re: [PHP] Securing PHP Code with GET | POST | SESSIONS or other things

2002-11-08 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Never trust data from the client...always filter it(I use an lib to do that)! Make sure register_globals is off or code accordingly. HTH! ~Paul On Saturday 09 November 2002 01:12 am, Creighton Brown wrote: > I want to know recommendations secur

Re: [PHP] Help with form

2002-11-09 Thread Paul Roberts
why don't you submit it to a php script (instead of using the mailto ) and get mail() to email it to you, you could also process it and save the info somewhere. Paul Roberts [EMAIL PROTECTED] - Original Message - From: "Karl James" <[EM

Re: [PHP] HTML forms & php 4.2.3 - how to get cvs fix applied

2002-11-09 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey, Reconfigure php without "--enable-mbstr-enc-trans" and that will fix the problem. HTH! ~Paul On Friday 08 November 2002 06:56 pm, andy wrote: > I recently updated from 4.2.0 to 4.2.3 - since doing so values submitted > to php

Re: [PHP] Errors and Logging Configuration Options: docref-root

2002-11-09 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Did you restart apache? HTH! ~Paul On Saturday 09 November 2002 03:14 pm, Stefan Schiller wrote: > I updated my development-server > > --> FreeBSD 4.7-REALEASE, Apache/1.3.27 (Port-Build), PHP 4.2.3 > (Port-Build) ...] > > After

Re: [PHP] PHP, Apache, and MySQL on MacOS X (Jaguar)

2002-11-11 Thread Paul Welty
This is the first in an excellent series of articles on this topic: http://www.macdevcenter.com/pub/a/mac/2001/12/07/apache.html HTH, Paul On 11/11/02 5:06 PM, "Gregory Hernandez" <[EMAIL PROTECTED]> wrote: > hello everyone. > > would anyone point me to a site or on

[PHP] Magic Quotes performance hit?

2002-11-13 Thread Paul Kaiser
Greetings, Is there a performance penalty for having magic_quotes_runtime turned on all the time? Thanks, Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Why Yahoo chose PHP

2002-11-18 Thread Paul Wilczynski
I ran across this recently ... thought you might find it interesting ... http://public.yahoo.com/~radwin/talks/yahoo-phpcon2002.pdf -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] New commercial software needs beta testers

2002-11-19 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hmmI hope you're happy cause you certainly gave Intravative Software a bad public image. I wouldn't buy/try betas from your company for NOTHING ~Paul On Wednesday 13 November 2002 05:14 pm, Jeremy Wilson wrote: > Well fine...

[PHP] url - self

2002-11-21 Thread Paul Dionne
need to break it up. I would like to keep the function and use it across three pages...I just need to know how to get the url of the page calling the function so I can delete the information from the appropriate table. Thanks in advance. Paul -- PHP General Mailing List (http://www.php.net

RE: [PHP] url - self

2002-11-21 Thread Paul Dionne
Yep, that is what I was looking for. thanks, paul Jon Haworth wrote: > Hi Paul, > >> I just need to know how to get the url of the page >> calling the function so I can delete the information >> from the appropriate table. > > Does $PHP_SELF not give you what y

[PHP] currency rounding issues

2002-06-05 Thread Paul Berg
Hi, I am putting together an app that involves the adding together of rounded numbers and displaying in a currency format. The round() function is causing errors of 1 cent to appear after addition. Does anyone know of any routines that might assist? Thanks in advance... Paul -- PHP General

Re: [PHP] get pwd on windows

2002-06-11 Thread Paul Roberts
just use php to do it getcwd() Paul Roberts [EMAIL PROTECTED] - Original Message - From: "Shane Wright" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 11, 2002 6:45 PM Subject: [PHP] get pwd on windows -BEGIN PGP SI

Re: [PHP] bulk mail()

2002-06-12 Thread Paul Roberts
t too busy. bcc is faster but will usually end up getting binned as Spam as they are not addressed to the recipient and fail junk mail filters as used by hotmail. if 1 of your 100 emails is bad the whole lot can be rejected by the server and not sent. Paul Roberts [EMAIL

Re: [PHP] any reason why mail() returns a false value?

2002-06-22 Thread Paul Roberts
of mail() is 0. when online i get Now, hopefully your message has been sent.The return value of mail() is 1. Paul Roberts [EMAIL PROTECTED] - Original Message - From: "Erik Price" <[EMAIL PROTECTED]> To: "Lazor, Ed" <[EMAIL PROT

[PHP] cookies

2002-06-22 Thread Paul O'Neil
If a browser has cookies blocked , anyone have code if unable to set cookie then goto another page. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] cookies

2002-06-22 Thread Paul O'Neil
isset worked for me thanks. -Original Message- From: Chris Shiflett [mailto:[EMAIL PROTECTED]] Sent: Saturday, June 22, 2002 4:37 PM To: Paul O'Neil Cc: [EMAIL PROTECTED] Subject: Re: [PHP] cookies This is sometimes a confusing issue for people, but remember that cookies work like

Re: [PHP] Formatting phone numbers

2002-06-23 Thread Paul Roberts
hes 3 numbers (\d{4}) =$3 or \\3 matches 4 numbers which we use to make the replacement ($1)$2-$3 http://za2.php.net/manual/en/function.preg-replace.php so that's the phone number, I'll leave the cc to you. Paul Roberts [EMAIL PROTECTED] Phone Number:

Re: [PHP] preg_replace pains

2002-06-27 Thread Paul Roberts
try $str = preg_replace("|\[details\].*?\[/details\]|si","", $str); drop the i if you want it case sensitive. Paul "Richard Davey" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi all, > > I'

Re: [PHP] need to change $ char in string

2002-06-29 Thread Paul Roberts
works for me on win2k - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, June 29, 2002 6:43 PM Subject: Re: [PHP] need to change $ char in string On Sunday 30 June 2002 01:24, Beverly Steiner wrote: > Thanx for your suggestion but I trie

[PHP] PEAR website down

2002-06-30 Thread Paul Reilly
The pear.php.net site seems to have a problem with no MySQL server running. I need to download PEAR in a hurry. Can someone get the site back up or tell me if I can get PEAR from somewhere else?? Thanks Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] parsing of SSI scripts.

2002-07-03 Thread Paul Roberts
>> I think I misunderstood your question. You have a Perl script that >> returns HTML and SSI and you want that string, returned to PHP, to be >> parsed by Apache, so the SSI is evaluated, right? you can do this with apache 2 but not apache 1 Paul Robert

Re: [PHP] help with eval problems...

2002-07-06 Thread Paul Roberts
t;; eval("?>$code"); which will echo the outut or catch it with output buffering $content_output = "logo.gig"; $code = ""; ob_start(); eval("?>$code"); $evaled_code = ob_get_contents(); ob_end_clean(); I have

Re: [PHP] %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))

2002-07-09 Thread Paul Roberts
i usually click no to the read receipts i get, maybe I'll make an exception in this case. - Original Message - From: "Daniel Negron/KBE" <[EMAIL PROTECTED]> To: "Erik Hegreberg" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, July 09, 2002 8:28 PM Subject: Re: [PHP]

[PHP] Multiple Tables -add, edit, delete

2002-07-13 Thread Paul Dionne
click the data is refreshed and they are given the option of adding another country. Recommendations, sample code, general help all apreciated. thanks in advance, Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Multiple Tables -add, edit, delete

2002-07-17 Thread Paul Dionne
Thanks Dan Paul Analysis & Solutions wrote: > Oh, yes! I forgot about deleting countries that have been unchecked! > Hmm... Lock the table to prevent people from reading from it, delete > all records for that company, then loop through and insert the new > data, then

Re: [PHP] Printer margins

2002-07-17 Thread Paul Roberts
have a look at the @page spec in the css docs at w3c.org I use this for A4 paper, you can set the margins as well: @page{ size : "21.0cm 29.7cm "; } Paul Roberts [EMAIL PROTECTED] - Original Message - From: "Martin Towell" <[EMAIL P

RE: [PHP] Windows NT Server, FORK, SOCKETS, and seperate processes

2002-07-22 Thread Paul Maine
You can use threads with NT to accomplish what you are asking. -Original Message- From: David Buerer [mailto:[EMAIL PROTECTED]] Sent: Monday, July 22, 2002 11:29 AM To: '[EMAIL PROTECTED]' Subject: [PHP] Windows NT Server, FORK, SOCKETS, and seperate processes I've got effectivly a glor

Re: [PHP] manual/eng

2003-08-31 Thread Paul Marinas
try http://www.php.net/download-docs.php u have a link there for diferent languages Paul On Sun, 31 Aug 2003 [EMAIL PROTECTED] wrote: > Hi all, > > I tried to download the manual of php > wget http://www.php.net/manual/en/ > > I got a lot of files but not linked to read of

[PHP] wrong headers from server

2003-09-01 Thread Paul Chvostek
erent results depending on how it's called: > curl -D- http://hostname/test.jpg | grep Content- Content-Type: text/html > curl -I http://hostname/test.jpg | grep Content- Content-Type: image/jpeg What's going on here? -- Paul Chvostek

[PHP] simple Apache question I'm sure

2003-09-05 Thread Paul O'Neil
This is more Apache related but I have a php/apache config'd box at home I want to test stuff out on before uploading to a public server. Every directory except wwwroot dir I must place a '/' after the dir name to get a listing such as http:://192.168.1.1/mydirectory will not load the index.php fil

RE: [PHP] simple Apache question I'm sure [solved]

2003-09-06 Thread Paul O'Neil
Thanks for that answer. that was it. Theres alot going on in apache! -Original Message- From: David Otton [mailto:[EMAIL PROTECTED] Sent: Saturday, September 06, 2003 4:40 AM To: Paul O'Neil Cc: [EMAIL PROTECTED] Subject: Re: [PHP] simple Apache question I'm sure On Fri, 5 S

[PHP] Excel Files

2003-09-18 Thread Paul Marinas
Hi, is there a way to create excel files with php? Thanks. Paul GnuPG Key http://sgi.rdscv.ro/~paulm/paulm.PGP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Excel Files

2003-09-18 Thread Paul Marinas
:)...stupid me :), 10x Paul GnuPG Key http://sgi.rdscv.ro/~paulm/paulm.PGP On Thu, 18 Sep 2003, Jennifer Goodie wrote: > > Hi, is there a way to create excel files with php? > > > > Thanks. > > This was answered yesterday and I'm way too lazy to type out my reply

Re: [PHP] How can I populate or bypass the mod_auth_mysql prompt

2003-09-19 Thread Paul Nicholson
using: http://username:[EMAIL PROTECTED]/protected_section/ HTH! HAND! ~Paul - -- ~Paul Nicholson Design Specialist @ WebPower Design [EMAIL PROTECTED] www.webpowerdesign.net "The webthe way you want it!" "It said uses Windows 98 or better, so I loaded Linux!" Regist

[PHP] php.net

2003-09-20 Thread Paul Marinas
I've got an error when i try to access www.php.net, are there any problems? Paul GnuPG Key http://sgi.rdscv.ro/~paulm/paulm.PGP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] date conflict with old news archive

2003-09-23 Thread \[ PAUL FERRIE \]
stamp cheers Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] date conflict with old news archive

2003-09-23 Thread PAUL FERRIE
Cheers your a star :) "Eugene Lee" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Tue, Sep 23, 2003 at 09:01:19PM +0100, [ PAUL FERRIE ] wrote: > : > : God i hope this is simple :) > > It is. I think. :-) > > : I have news bloggs sectio

[PHP] is this possible?

2003-09-27 Thread \[ PAUL FERRIE \]
n.php file and the variables in this code be sent across the server? One other thing The Db's on the four severs are identical I hope i have explained what i am trying to do. cheers Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] quick i need some help please

2003-10-01 Thread PAUL FERRIE
( the font being used is a system defult font (arial). thanks Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: quick i need some help please

2003-10-01 Thread PAUL FERRIE
False alarm ! "Paul Ferrie" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > i have a admin section for a new site that i have built, to cut a long story > short > the submit form adds news stories to the site. For some reason behound me > the php script

[PHP] awful newbie question

2003-10-12 Thread Paul Freedman
cross the symbol '=>'. I assume it is not the same symbol. What is it, and what does it mean? Any help would be greatly appreciated. Thanks, -Paul

Re: [PHP] Can't find oci.h

2003-10-12 Thread Paul Gregg
Administrative Install. Then when you get to check the installed components look through and check "Oracle Call Interface". Install will go as before and this time you'll find an oci.h lurking in an obscure directory: find . -name oci.h -print should let you know where it is. Hope

Re: [PHP] Oracle - Win32

2003-10-12 Thread Paul Gregg
e's api and gets the Oracle client lib to do the work. Without this, you won't get too far. You can download the oracle client libs at otn.oracle.com (create a free account). Hope this helps. Paul. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] date counting/subtracting MySQL and PHP

2003-10-20 Thread Paul Nowosielski
be greatly appreciated! Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Using php for non-web based applications

2003-10-22 Thread Paul Scruby
link against to execute the inside my xml when I load it? Can someone point me in the right direction? Many thanks, Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Using php for non-web based applications

2003-10-22 Thread Paul Scruby
OK I figured out a solution. If your interested I am just calling from stdlib.h: system("php myFile.xml"); and then passing the result on the stdout to XERCES using stdin. Paul Scruby wrote: Hi there, I am not sure if this is the right list to post to as most of you guys are probably

[PHP] HELP!! - Xitami php install

2003-10-28 Thread Paul Vinten
Hi, I'm running Windows XP, and Xitami version 2.4d10, I can get get PHP 4.0.3 installed and working fine, (on my www book's companion CD) but it doesn't have a few of the functions I want. I've just tried installing 4.3.3 and 4.3.4 and can't get either to work... when trying to access a php file,

[PHP] installing php onto xitami, HELP!

2003-10-28 Thread Paul Vinten
Hi, I'm running Windows XP, and Xitami version 2.4d10, I can get get PHP 4.0.3 installed and working fine, (on my www book's companion CD) but it doesn't have a few of the functions I want. I've just tried installing 4.3.3 and 4.3.4 and can't get either to work... when trying to access a php file,

[PHP] Alternet row colors

2003-11-15 Thread PAUL FERRIE
$count = 0; $count < $Count; $count++) { // Extract post details from database $myrow = mysql_fetch_array($result); $id = $myrow ['id']; $artist = $myrow ['artist']; $title = $myrow ['title']; $label = $myrow ['label']; $price = $myrow ['pr

Re: [PHP] Alternet row colors

2003-11-15 Thread PAUL FERRIE
Thats pretty much what i have got off www.hotscripts.com. The problem is adding it to my exsisting code. ~cheers Paul "Boaz Yahav" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] You can also check : A PHP function To Make Alternative Colored table rows http://

[PHP] Storing images

2003-11-15 Thread Paul Marinas
Hi, i was wondering which is the best way to store images. I'm using an upload section for my site and i'm using a script to put those images from the upload section on a diferent section of the site. 10x Paul GnuPG Key http://sgi.rdscv.ro/~paulm/paulm.PGP -- PHP General Mailing

[PHP] newbie stuck again

2003-11-16 Thread PAUL FERRIE
and having it sset within the main navigation. i am pretty sure i can set the drop down menu option but what is/would be the $query for returning how many and display table names? Cheers Paul http://thor.ancilenetworks.co.uk/~pferrie/vinrev/adm/myadmin.html -- PHP General Mailing List

Re: [PHP] newbie stuck again

2003-11-16 Thread PAUL FERRIE
Yeh cheers derek i dint think it would be something like that :P Can u ilabirate more on the $query structure? cheers Paul "Derek Ford" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > PAUL FERRIE wrote: > > >Here's what i have done. i have download

Re: [PHP] newbie stuck again

2003-11-16 Thread PAUL FERRIE
Cheers "Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Sunday 16 November 2003 23:17, PAUL FERRIE wrote: > > Please spend a little time to think up a descriptive and relevant subject > heading. "newbie stuck again" does nothing t

[PHP] create dropdown menu from returned $result

2003-11-16 Thread PAUL FERRIE
What am i overlooking? "; echo "". $tb_names[$i]." "; echo $tb_names[$i] . ""; $i++; } echo ""; ?> When tested heres what i get http://thor.ancilenetworks.co.uk/~pferrie/vinrev/adm/table_list.php There are 2 tables within

Re: [PHP] create dropdown menu from returned $result

2003-11-16 Thread PAUL FERRIE
I am trying to create a drop down menu to set varaible $tablrname Cheers paul "John W. Holmes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > PAUL FERRIE wrote: > > > What am i overlooking? > > The part where you tell us what you're actuall

[PHP] setting a global var so that all pages can see var

2003-11-17 Thread PAUL FERRIE
;); $tablename is not being passed with the link. What am i missing? Cheers Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] setting a global var so that all pages can see var

2003-11-17 Thread PAUL FERRIE
lol i not that feeling whaen it come to flash based questions ;) Cheers] "Burhan Khalid" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > PAUL FERRIE wrote: > > > Hello again guys, thanks for the help over the past 48 hours :) > > > >

Re: [PHP] setting a global var so that all pages can see var

2003-11-17 Thread PAUL FERRIE
I am still stuck I now have this in the navigation page {$_GET['tablename']}"; } else { "$tablename did not get sent"; } ?> this gets the tablename from the previous page from the dropdown menu but still the other pages are not picking it up :( Please i need to g

[PHP] Re: setting a global var so that all pages can see var still :(

2003-11-17 Thread PAUL FERRIE
How would i pass tablename in the submit button? Check out edit record u wil see http://thor.ancilenetworks.co.uk/~pferrie/vinrev/adm/myadmin.html Cheers Paul "Paul Ferrie" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello again guys, thanks for the help ove

[PHP] $query works but i still get a returned error

2003-11-20 Thread PAUL FERRIE
ting row!"); } Header("Location: delete.php?success=$success"); ?> I am php newbie and might be missing the obviuos Cheers Paul example http://thor.ancilenetworks.co.uk/~pferrie/vinrev/adm/myadmin.html "Delete record" -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] $query works but i still get a returned error

2003-11-20 Thread PAUL FERRIE
So your saying i should be using POST rather than GET? "John W. Holmes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > PAUL FERRIE wrote: > > > I am not sure what the problem is here. The script runs and deletes the > > relevent row but stil

[PHP] Textfields dont fully populate

2003-11-22 Thread PAUL FERRIE
. Only one of the fields fully populates with the data returned from the $query If i view the source file via the broswer(right click / view source) i can see that the data has been sent ok But all i see is "cd" Anyone cheers Paul -- PHP General Mailing List (http://www.php.net/) To u

[PHP] Re: Textfields dont fully populate

2003-11-22 Thread PAUL FERRIE
uot;title"], $picture=$myrow["picture"], $review=$myrow["review"], $lable=$myrow["label"], $format=$myrow["format"], $price=$myrow["price"], $rating=$myrow["rating"]); } while ($myrow = mysql_fetch_array($result)); echo ""

[PHP] Re: Textfields dont fully populate

2003-11-22 Thread PAUL FERRIE
Thank you Bas, i cant believe that once again it has been down to simple syntx cheers "Bas" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] b1.pair.com... > Just change your code to: > > $result = mysql_query("SELECT * FROM $tablename WHERE id= $id")or > die("ther was an error >

[PHP] Form with browse for file to upload "ftp"

2003-11-22 Thread PAUL FERRIE
-built script that can do this. Can someone point me to one. i had a quick look but came up with very little. Cheers Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Form with browse for file to upload "ftp"

2003-11-22 Thread PAUL FERRIE
I am getting this error once i run the script Warning: move_uploaded_file(img/matrix.jpg): failed to open stream: Permission denied in /blah/blah Do i need to set the chmod of the img folder? Cheers Paul "Nathan Taylor" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PRO

Re: [PHP] Form with browse for file to upload "ftp"

2003-11-22 Thread PAUL FERRIE
is error once i run the script > > > > Warning: move_uploaded_file(img/matrix.jpg): failed to open stream: > > Permission denied in /blah/blah > > Do i need to set the chmod of the img folder? > > > > Cheers > > Paul > > > > > > "Nathan

[PHP] Re: Form with browse for file to upload "ftp"

2003-11-22 Thread PAUL FERRIE
Got it working :) thanks for the help Paul "Paul Ferrie" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Getting bit of a regular on here :) > > I am hoping that someone can point me to a script that allows me to attach a > file to be uploaded to a set d

[PHP] Could some one check my code

2003-11-26 Thread PAUL FERRIE
picture, review, label, format, price, rating)VALUES ('$artist', '$title', '$picture', '$review', '$label', '$format', '$price', '$rating')"; if(!mysql_query($query2)) { fail("Error updating DB2"); }

[PHP] php/java/mysql programmer needed

2003-11-28 Thread Paul Godard
Hi If any one on this list has good experience in php/java/mysql programming integrated with Adobe GoLive for both Mac & Window, please contact me directly as we have a couple of projects that need that expertise. -- Kind regards, Paul. Gondwana [EMAIL PROTECTED]

[PHP] php/java/mysql programmer needed

2003-11-28 Thread Paul Godard
Hi If any one on this list has good experience in php/java/mysql programming integrated with Adobe GoLive for both Mac & Window, please contact me directly as we have a couple of projects that need that expertise. -- Kind regards, Paul. Gondwana [EMAIL PROTECTED]

[PHP] simple php search

2003-12-05 Thread Paul Duggan
if I create a text box: how do I go about extracting a surname from a mysql database? will it be something along the lines? select firstname,surname from employees where surname = textbox.surname; new to this so im trying to get my head around it, basically i just want to search

[PHP] Re: simple php search

2003-12-05 Thread Paul Duggan
is anyone away of any tutorials as I'm having difficulty constructing the remainder of my code. Thanks for the replies! "Paul Duggan" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > if I create a text box: > > > > > > > > > >

[PHP] Re: simple php search

2003-12-05 Thread Paul Duggan
thanks all for the help, I substituted GET for POST in \"{$_GET['surname']}\"" figured that I needed a 2nd php file which was invoked from the submit button on the first and hey presto it works :) "Paul Duggan" <[EMAIL PROTECTED]> wrote in message news:

[PHP] Change html links according to returned result

2003-12-11 Thread PAUL FERRIE
to acommidate the data being returned, this is fine. What my problem is: Here is the url to the admin area http://thor.ancilenetworks.co.uk/~pferrie/vinrev/adm/index.html username: paul ferrie pass: admin the first 2 db's in the drop down menu are fine, it's the third and the fourth.

[PHP] setting word wrap

2003-12-13 Thread PAUL FERRIE
ot good. When i add a new record i have to press "RETURN" in a multi line text field for it to wrap in the data being sumbitted. I thought i could set the table width wich would make the text wrap, but as u can see this is not the case. Can anyone give me any help with this? cheers Paul

Re: [PHP] setting word wrap

2003-12-13 Thread PAUL FERRIE
Ah Sorted cheers "Website Managers.Net" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Paul What you have entered there is not normal sentence structure. Since none of your characters have spaces between them, the browser has noplace to break into the next line. T

[PHP] Re: What would the best way to veladate a URL string?

2003-12-13 Thread Paul Chvostek
st the "get" part to suit... -- Paul Chvostek <[EMAIL PROTECTED]> it.canadahttp://www.it.ca/ Free PHP web hosting!http://www.it.ca/web/ -- PHP General M

[PHP] help with install

2003-12-14 Thread Paul Vinten
ok, Just installed PHP with Xitami, with Apache 1.3 AND 2. I've used PHP versions 4.33 and 4.3.4. I'm running Windows XP, mucking around with some pages that came with my Web Programming book, most of the php pages work, but anything involving sessions, forms and cookies etc just doesn't work. Anyo

[PHP] E-Mail validation – Checking for 'free' e-mail address

2003-12-18 Thread Jason Paul
Paul ___ Do You Yahoo!? Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Help with php output to file

2003-12-18 Thread Paul Godard
& languages to generate all the pages. -- Kind regards, Paul. Gondwana [EMAIL PROTECTED] http://www.gondwanastudio.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Counting back 90 days...

2004-01-05 Thread Paul Chvostek
ion appears to support negative timestamps ... which means you can't skimp on your testing if you decide to go this route. ;-) -- Paul Chvostek <[EMAIL PROTECTED]> it.canadahttp://www.it.ca/

Re: [PHP] Counting back 90 days...

2004-01-05 Thread Paul Chvostek
e difficult? Unix timestamps have been around since unix began, and strtotime supports arbitrary human-readable formats. PHP supports both of these. How does PHP make dates more difficult? -- Paul Chvostek <[EMAIL PR

[PHP] Re: detecting flash in php

2004-01-08 Thread Paul Chvostek
a.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"">http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"</a>; type="application/x-shockwave-flash"></embed>\n'); document.write('</object>\n&#

[PHP] Re: alternative to protecting files through http auth.

2004-01-14 Thread Paul Chvostek
es or access files outside the DocumentRoot for your site, you can create an unbrowsable storage directory protected with a .htaccess file. If the filesystem permissions are correct, your PHP script will be able to read content from that directory, because PHP code isn't

<    1   2   3   4   5   6   7   8   9   10   >