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
= $_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
' 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
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
---
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
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
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
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
²
>
>
>
> 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?)
>
>
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
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
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. Im coding a poll system which stores information in MySQL.
>
> When a new poll is created a new
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
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
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
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
16 matches
Mail list logo