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

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

2003-12-29 Thread Ryan Gibson
= $_POST['currentFile']; > $theFiles = $_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://local

Re: [PHP] caching program

2003-09-12 Thread Ryan Gibson
' char (as long as the string after the '/' char has 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

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

Re: [PHP] Question

2003-08-14 Thread Ryan Gibson
e"]; > ?> > > createDB.php > include ('createtbl.php'); > ?> > > createtbl.php > include ('variable.inc'); > ?> > > > How come that the text 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
3 12:14 am, "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
work well in my new enviroment, until I modified test.php > like this > //new test.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 Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2003-07-18 Thread Ryan Gibson
t_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, visit: http://www.php.net/unsub.php

Re: [PHP] headers already sent and cookie problem

2003-07-15 Thread Ryan Gibson
² > > > > I know that the problem is the reading 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?) > >

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

2003-07-14 Thread Ryan Gibson
www.mydom1.com and when > the user goes to it, I want it so say www.mydom.com 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

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

2003-07-14 Thread Ryan Gibson
e 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] Zend extensions license

2003-07-08 Thread Ryan Gibson
op or just build 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

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

2003-03-28 Thread Ryan Gibson
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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/un

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

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