Re: [PHP] Compare Case Insensitive?

2004-04-08 Thread Ryan Gibson
You could set your input string to upper case, then make all your comparisons in upper case http://www.php.net/manual/en/function.strtoupper.php On 8/4/04 4:21 pm, Jeff Oien [EMAIL PROTECTED] wrote: How can I compare a variable submitted by a form as case insensitive? A promotional code will

Re: [PHP] Is It Just a Matter of Getting the Pathname Righr?

2003-12-29 Thread Ryan Gibson
= $_POST['theFiles']; $imageFiles = $_POST['imageFiles']; $output = $_POST['output']; Am I on the right track, at least? The first line ends with a ? Not a ; If your on os X then the url is: http://localhost/~username/whatever.html The path is: /Users/username/sites/whatever.html Ryan

Re: [PHP] caching program

2003-09-12 Thread Ryan Gibson
You could pull out all the img src attributes and if they don't contain http://; then prepeand the address of te page then download otherwise just downlocad the url, but to get the page to work in the new location you may have to replace the img src attributes Ryan Gibson --- [EMAIL

Re: [PHP] caching program

2003-09-12 Thread Ryan Gibson
an extension ie a dot and three or chars) www.php.net/manual/it This is a bit more tricky, you could just grab the url with and without the '/' char and compare the two strings (messy I know) and probably won't work every time, but what does! Ryan Gibson --- [EMAIL PROTECTED] -- PHP

Re: [PHP] Question

2003-08-14 Thread Ryan Gibson
inside the variable.inc will be shown in createtbl.php? Ryan Gibson --- [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

FW: [PHP] Search Engine

2003-08-01 Thread Ryan Gibson
, imran [EMAIL PROTECTED] wrote: Hi, Does anyone know any free search engine for web application imee Ryan Gibson --- [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help?

2003-07-21 Thread Ryan Gibson
but it doesn't work well in my new enviroment, until I modified test.php like this //new test.php ?php echo Hello!.$_POST['name'] ; ? who can tell me which one cause this problem,Is the version php5 not satisfy or the apache 1.3.12? Ryan Gibson --- [EMAIL PROTECTED] -- PHP General

Re: [PHP] Need to use META tag with variable attached

2003-07-18 Thread Ryan Gibson
tried several different variations and they don't work obviously ?PHP META HTTP-EQUIV='refresh' content='0; URL=./ticket_admin.php?ID=.'$ID. ' Does someone have an idea for this? Ryan Gibson --- [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] headers already sent and cookie problem

2003-07-15 Thread Ryan Gibson
of the cookie and then after some sripting outputting page HTML. I started my code ob_start() and do an ob_flush() within a function(show_cart) (?might that be a problem?) Can anyone shed some light on this? Thanks! Fred Ryan Gibson --- [EMAIL PROTECTED

Re: [PHP] How to get executed php result in variable

2003-07-14 Thread Ryan Gibson
this. ? $result = get_executed_php_file_contents.php ? Looking for some solutions TM Ryan Gibson --- [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Please dirrect me -- headers ????

2003-07-14 Thread Ryan Gibson
in the browser address bar. Can I do this by sending certain headers? (I have both domains pointing to the same server) ... should/could I do something like this through PHP or is there something I can set in Apache to do the same thing? Simply confused, - Anthony Ryan Gibson

Re: [PHP] Zend extensions license

2003-07-08 Thread Ryan Gibson
a function to get the appropriate value etc. Ryan Gibson --- [EMAIL PROTECTED] On 8/7/03 12:28 pm, Sævar Öfjörð [EMAIL PROTECTED] wrote: Hi. I’m coding a poll system which stores information in MySQL. When a new poll is created a new row is inserted in the table ‘polls’. There I

Re: [PHP] Time stamp and changing to a date.

2003-03-28 Thread Ryan Gibson
?php $mydate = date(20030328231154); $myPrintDate=date (l dS of F Y h:i:s A,$mydate); echo $myPrintDate; ? On 28/3/03 11:44 am, Philip J. Newman [EMAIL PROTECTED] wrote: $mydate = 20030328231154; $myPrintDate=date (l dS of F Y h:i:s A,$mydate); echo $myPrintDate; Whats wrong --

Re: [PHP] session id

2003-03-25 Thread Ryan Gibson
On 25/3/03 2:37 pm, Iggy [EMAIL PROTECTED] wrote: can somebody tell me why I am getting this: Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at c:\inetpub\wwwroot\search.php:8) in c:\inetpub\wwwroot\search.php on line 21

Re: [PHP] convert .asp page .php

2003-03-05 Thread Ryan Gibson
On 5/3/03 1:42 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Subscription.asp The page u sent is just a form (it will work on any server), the dirty work is done by Subscription.asp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Sessions

2002-12-04 Thread Ryan Gibson
May be a silly question but are u using a global statement in the include files, just a thought on 4/12/02 1:11 pm, Andy Kirk at [EMAIL PROTECTED] wrote: Can anyone tell me if session variables should be available to scripts that are included into the main script? It appears to me that