[PHP] Question about losing port number

2011-09-26 Thread vince chan
Hi: I have a general question about PHP: So basically I have a link, and I want the href to be absolute., so I do 'https://' . $_SERVER['HTTP_HOST'] . '/login' ; this gives me https://127.0.0.1/login on my local; however, what i really want is https://127.0.0.1:9090/login, it is missing :9090. I

[PHP] Need help calling multiple functions with if_is

2010-07-31 Thread Vince Leibowitz
php code before, but never to this extent. If anyone can help me out, I'd really appreciate it. Vince -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Need help calling multiple functions with if_is

2010-07-31 Thread Vince Leibowitz
string. On Sat, Jul 31, 2010 at 2:25 PM, Jason Pruim li...@pruimphotography.com wrote: Hi Vince, On Jul 31, 2010, at 3:15 PM, Vince Leibowitz wrote: ?php if (is_home(?php wpads('728leaderboard'); ?) (is_page(42)(?php wpads('leaderboard1'); ? (is_page(10)(php? wpads('leaderboard5);?) ? Try

Re: [PHP] Need help calling multiple functions with if_is

2010-07-31 Thread Vince Leibowitz
Peter, That works like a dream! Thanks very much for your help and pointing me to those pages. I've already noticed something over there that will fix another problem I've been having. You folks are great for offering the assistance. Have a good weekend. Vince On Sat, Jul 31, 2010 at 2:50 PM

[PHP] index.php not autoloading in apache

2008-08-25 Thread Vince Sabio
the wetware? Muchas gracias __ Vince Sabio [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: index.php not autoloading in apache

2008-08-25 Thread Vince Sabio
** At 13:03 +0200 on 08/25/2008, Carlos Medina wrote: Vince Sabio schrieb: I am running PHP v5.2.6 on an Apache v2.2 server. For some reason, Apache is not automatically loading index.php files, even when there is no other index.* file in the directory; it will throw a you do not have

Re: [PHP] Opensource webshop

2005-09-22 Thread Vince LaMonica
On Fri, 23 Sep 2005, Jasper Bryant-Greene wrote: } There are probably dozens of free open source PHP carts already out } there. Not to mention the ones written in Perl. } } Are there many in just PHP to? } } As he said, there are probably dozens. Four of the PHP-based ones are listed }

Re: [PHP] Re: splitting CSV rows into multiple SQL inserts?

2005-06-22 Thread Vince LaMonica
On Wed, 22 Jun 2005, Sergey wrote: } You can insert file data in DB first, using LOAD DATA INTO FILE, after it'll } be easy to manipulate this DB table with a help of php-script. Actually, I can't, as the CSV contains fields for two different tables. I may have explained it better here: I

Re: [PHP] Re: splitting CSV rows into multiple SQL inserts?

2005-06-22 Thread Vince LaMonica
be the line number. You can set to 1, then } increment until you detect a new ordernumber The contents of the detail sub } array contains $item_num, $quan, $desc. Loop through this this array to } produce your details table inserts. } } Ben. } } } } Vince LaMonica [EMAIL PROTECTED] wrote

[PHP] splitting CSV rows into multiple SQL inserts?

2005-06-21 Thread Vince LaMonica
I sent this note off to the php-db list last night, but the more I thought about it, the more I figured this was a general looping question rather than a mysql-specific one. I am attempting to take a CSV file that has order header and line item data on each line and split it into mulitple

[PHP] RFQ: Compile php5 for winCE 5.0 device

2005-03-12 Thread Vince
companies you have done work for. If this was the wrong place to post such a thread my apoligies to the admins. Thanks for taking the time to read this. If you have any questions feel free to send me an email. -Vince -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] readfile() and 401 pages

2004-01-16 Thread Vince LaMonica
/ -- Vince LaMonica UC Irvine, School of Social Ecology W3 Developer * 116 Social Ecology I, Irvine, CA 92697 [EMAIL PROTECTED] http://www.seweb.uci.edu/techsupport Information wants to be free. Rent wants to be paid

[PHP] using fwrite to create PHP files

2003-09-05 Thread Vince LaMonica
the if line instead of ignoring it. I'm running 4.3.3 under apache 1.3.28. Any help would be most appreciated! /vjl/ -- Vince LaMonica UC Irvine, School of Social Ecology W3 Developer * 116 Social Ecology I, Irvine, CA 92697 [EMAIL PROTECTED] http

Re: [PHP] problem matching multiple times

2003-07-18 Thread Vince LaMonica
of the html stuff, so it needs a pattern for the preg_replace call later in the function: $message = preg_replace($patterns, $replacements, $message); Thanks for your help with this! /vjl/ -- Vince LaMonica UC Irvine, School of Social Ecology W3 Developer * 116

Re: [PHP] Using href as a submit for a form

2003-07-18 Thread Vince LaMonica
are valid. register_globals being off is a step, but there are a lot of error correction functions you should run before submitting form data into a db. HTH, /vjl/ -- Vince LaMonica UC Irvine, School of Social Ecology W3 Developer * 116 Social Ecology I, Irvine, CA 92697

Re: [PHP] problem matching multiple times

2003-07-18 Thread Vince LaMonica
} to apply the necessary pattern/replacements before outputing it to the } browser. Good idea! Thanks very much! Thanks again for your help, and time, with this. I do appreciate it. /vjl/ -- Vince LaMonica UC Irvine, School of Social Ecology W3 Developer * 116 Social

[PHP] problem matching multiple times

2003-07-17 Thread Vince LaMonica
### and ###Image2### for $thephoto[0]. I know that $thephoto[1] simply contains a 1 [since that is the value of $patterns[3]]. Any tips about where I need to loop and how, would be most appreciated! /vjl/ -- Vince LaMonica UC Irvine, School of Social Ecology W3 Developer

[PHP] PHP+MySQL on Apache running on WinXP

2003-07-07 Thread Vince
I have set up a new development machine on my windows xp using APACHE version 2.0.46. Next, I set up PHP version 4.3.2 and MySQL version 4.0.13. Then, when I tested the installation, phpinfo() lists my CLIENT API VERSION for MYSQL as 3.23.49. 1. Is this normal? 2. If not, what have I done

[PHP] Re: Connect Active Directory using LDAP... please help :)

2003-07-03 Thread Vince C
this? I really confuse the login format of this and so does objectClass stuff for filter. Could you give me an idea? Do you know any web site that talk about this ? Thank you very much! Vince Sven [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] hi vince, Vince C wrote: ?php $ldaphost

[PHP] Connect Active Directory using LDAP... please help :)

2003-07-02 Thread Vince C
are welcome! Thanks! Vince P.S. Here is my code: HTML HEAD !-- brandcheck.php -- TITLE Brand New Checking.. /TITLE /HEAD BODY pfont size =4AD Test/font/p table width =100% border=1 cellspacing=0 cellpadding=0 ?php $ldaphost= company.com; if(!($ldap = ldap_connect($ldaphost,389

Re: [PHP] Re: verify file types when uploading to server...

2002-04-18 Thread Vince LaMonica
of the file, using the $HTTP_POST_FILES['filename']['type'] varible [note that filename is the name passed from your form - type is the actual string you need to use to access the mimetype. Read http://us.php.net/manual/en/features.file-upload.php for more info on this. HTH, /vjl/ -- Vince

[PHP] HTTP_POST_FILES and Mozilla 0.9.9

2002-04-17 Thread Vince LaMonica
browser. If a user does upload a file, all browsers are happy ['tmp_name' is assigned properly]. Is this a browser/gecko bug, or a PHP bug? TIA, /vjl/ [who noticed bugs #11198, 10602, 16426 and 13863, but all are closed] -- Vince LaMonica UC Irvine, School of Social Ecology W3