[PHP] Re: redirector

2002-04-06 Thread phplists
First things first, when you say domain.com/home/adam do you mean /home/httpd/htdocs/home/adam or /home/adam/public_html.. Once you know that you can make a more educated decision.. Either way, you should be able to specifiy DocumentRoot /home/adam/public_html or DocumentRoot

[PHP] Re: Disabling bars on Browser

2002-04-07 Thread phplists
Do you have something against using a class for interaction with the Authorize.net URL you are trying to open? It is possible to pass vars to the page I'm sure but a class would work better in most cases and automate the process for the customer. Later, Bob David Johansen [EMAIL PROTECTED]

[PHP] Re: Disabling bars on Browser

2002-04-07 Thread phplists
There are actually a couple at least listed here.. I don't know which are best but the one that my shopping cart uses is one of these one.. I believe it's this one: http://zend.com/codex.php?id=619single=1 Yeah, after I looked at it, it is that one.. Adam Olsen is my programmer.. Duh.. I forgot

Re: [PHP] Disabling bars on Browser

2002-04-07 Thread phplists
Wow, you really feel like your better than everyone here don't you.. You rarely even give an answer that isn't blatent criticism of what someone posted or their ability to find information. You really need to stop. Bob Justin French [EMAIL PROTECTED] wrote in message [EMAIL

[PHP] Re: Help I killed PHP on mysever...

2002-04-09 Thread phplists
It sounds like the Apache/httpd server config info for PHP files has been lost/changed/deleted/overwritten.. If you are using Apache make sure you've got your AddType line(s) in the right place (there should already be some AddType and AddHandler lines in there.. put them in by the others) in the

Re: [PHP] Help I killed PHP on mysever...

2002-04-09 Thread phplists
Refer to my earlier post about your AddType entries.. If they are not there, before you add them, check for a file on your system called mod_php4.conf.. If you find it, it will have the required entries in it already.. If this is the case, make sure your modules section in httpd.conf is

[PHP] splitting array values into usable chunks..

2002-04-09 Thread phplists
I have got this almost all the way where I need it.. Partly from the php.net function list and partly from searching the archives here.. Now I'm at a point where I don't quite know how to finish it.. Any help would be greatly appreciated. I use functions to gather the subdirectory names in the

[PHP] Re: splitting array values into usable chunks..

2002-04-09 Thread phplists
Nevermind.. I wasn't being very smart.. I got it.. Thanks, Bob [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have got this almost all the way where I need it.. Partly from the php.net function list and partly from searching the archives here.. Now I'm at a

[PHP] Re: shopping cart suggestions

2002-04-09 Thread phplists
Check out the cart at survivalherbs.com.. It's all just php... It uses a template for the page look (which hasn't been edited on that site yet). Eugene Lee [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Apologies if this is an oft-repeated question, but could

[PHP] Re: Sending HTML from PHP with 'mail' as a cron job

2002-04-11 Thread phplists
$headers = Content-type: text/html\n; $fromEmail = urlencode( $dbQuery-adminEmail ); $subject = Your new eStore is ready!; $message = img src=\somedomain.com/images/estore.jpg\brbr::name::, brYour new eStore is ready at a href=\http://woodenpickle.com/shop\;http://woodenpickle.com/shop/a.brY ou

[PHP] Re: Local Test | Different folder - Help!! (part2)

2002-04-12 Thread phplists
You need to make sure the hosts file in c:\windows is called just hosts with no extension.. Just rename it.. It may also take a reboot and/or some time for windows to start using it properly.. And it may help to change the forward slash in Directory c:/website to a backslash.. Later, Bob Tiago

[PHP] Re: Pass variables via URL

2002-04-12 Thread phplists
This works: img src=?php echo( $image.gif ) ? width=150 height=100 border=0 This works too if you're not opposed to using straight php: ?php print html\nhead\ntitleImage Switch/title\n; print div align=centerimg src=\$image.gif\ width=150 height=100 border=0/div\n; print /body\n/html; ?

[PHP] Re: Local Test | Different folder - Help!! (part2)

2002-04-12 Thread phplists
My mistake, you have the directory line correctly written with the forward slash.. But the hosts file should not have any extension.. Bob [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... You need to make sure the hosts file in c:\windows is called just hosts with

[PHP] Re: globals in functions

2002-04-13 Thread phplists
function someCommand() { global $var1, $var2, $var3; stuff(); } I think you could also use define(); maybe.. Later, Bob Weaver Paul Roberts [EMAIL PROTECTED] wrote in message 00f301c1e311$fa421af0$dde5883e@laptop1">news:00f301c1e311$fa421af0$dde5883e@laptop1... Is there a quick way to

[PHP] Re: PHP MySQL Hosting services

2002-04-13 Thread phplists
http://webpipe.net They seem to be doing good with uptime.. In the last couple months I've been having a monitoring service check them frequently and so far we're at 100%.. Standard Virtual Package ($24.95/mo - $14.95 setup): Linux RedHat 7.1 300mb Disk Space 25 POP3 Accounts 10GB/mo transfer

Re: [PHP] HTML select JS

2002-04-13 Thread phplists
Yeah, this really has nothing to do with PHP.. The Javascript question you ask can be answered with a simple query at http://www.google.com/search?hl=enq=select+onchange As for the other, can't help.. You should try an HTML group.. Later, Bob Vladislav Kulchitski [EMAIL PROTECTED] wrote in

[PHP] Re: PHP MySQL Hosting services

2002-04-14 Thread phplists
http://webpipe.net They seem to be doing good with uptime.. In the last couple months I've been having a monitoring service check them frequently and so far we're at 100%.. Standard Virtual Package ($24.95/mo - $14.95 setup): Linux RedHat 7.1 300mb Disk Space 25 POP3 Accounts 10GB/mo transfer

Re: [PHP] Re: PHP MySQL Hosting services

2002-04-14 Thread phplists
Yeah, I actually used to have a couple accounts with linuxwebhost.com... They are nice and fast.. I just like the ability to be able to compile and install my own software on the server.. Later, Bob Eat Pasta Type Fasta [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

[PHP] Re: graphing packages

2002-04-15 Thread phplists
Crystal Reports? Christian Calloway [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... hey ppl, I need to create some fairly complex graphs dynamically, and I need to be able to specify line, bar, or pie charts. Are there any PHP packages that someone could

Re: [PHP] Searching a mySQL DB

2002-04-15 Thread phplists
Check out the MySQL page at http://www.mysql.com/doc/F/u/Fulltext_Search.html. This page talks about doing full-text searches through your data. Then you can implement the queries using PHP scripts to perform the searches.. It works super smooth.. You do have to create an index of any column you

[PHP] Re: what do i put in .htaccess to achieve this

2002-04-15 Thread phplists
You should be able to find whatever you need here: http://httpd.apache.org/docs-project/ Later, Bob Adrian Murphy [EMAIL PROTECTED] wrote in message 001d01c1e45e$e5d53ae0$02646464@ade">news:001d01c1e45e$e5d53ae0$02646464@ade... Hi, I use wildcard dns to point all requests at the root e.g

[PHP] Re: phpMyAdmin protection

2002-04-15 Thread phplists
http://httpd.apache.org/docs/configuring.html#htaccess http://apache-server.com/tutorials/ATusing-htaccess.html Use this to enable username and password access to phpMyAdmin. Later, Bob Mantas Kriauciunas [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hey PHP

[PHP] Re: credit card validation

2002-04-15 Thread phplists
Check out the code section at Zend.com.. There is at least one CCVal function there.. I think two.. I do believe hotscripts.com has some too in their PHP section.. Later, Bob Weaver Jas [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I need to know if there is

[PHP] Re: PHP Shopping Engine Recommendation

2002-04-15 Thread phplists
http://woodenpickle.com:8080/shop/admin.php login: shopadmin pass: demo Later, Bob Robert Collins [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Can anyone recommend a good commercial shopping cart written in php? Robert W. Collins II Webmaster New

[PHP] Re: smtp relay problem

2002-04-16 Thread phplists
Sounds like an MTA issue. You should find out which MTA it is and look at their support site.. Sendmail has a feature that will rewrite the domain on all outgoing addresses unless the user sending out is a 'trusted' user.. That could be the problem you are experiencing. You should certainly have

[PHP] Re: .phps

2002-04-20 Thread phplists
If your browser is trying to download the file it's because the web server isn't configured to recognize the file type. In your httpd.conf file you should have a line similar to the following: AddType application/x-httpd-php .php .php3 .phtml In order to do what you are wanting, you also need a

[PHP] REGEX query

2006-02-03 Thread phplists
Hi, I'm still trying to get to grips with REGEX and have hit a hurdle with the following: I have this bit of text: (\(EX\) RV-6 ) I want to remove the '\(EX\)' part of it so leaving just: ( RV-6 ) Any suggestions would be most appreciated. Thanks Alexis -- PHP General Mailing List

Re: [PHP] REGEX query

2006-02-04 Thread phplists
to be escaped with a \. David phplists wrote: Hi, I'm still trying to get to grips with REGEX and have hit a hurdle with the following: I have this bit of text: (\(EX\) RV-6 ) I want to remove the '\(EX\)' part of it so leaving just: ( RV-6 ) Any suggestions would be most appreciated. Thanks

Re: [PHP] REGEX query

2006-02-08 Thread phplists
of it. Hence the REGEX question. But, I still agree with you 100% about keeping things simple :o) Thanks Alexis Burhan wrote: phplists wrote: Hi, I'm still trying to get to grips with REGEX and have hit a hurdle with the following: I have this bit of text: (\(EX\) RV-6 ) I want to remove

Re: [PHP] REGEX query

2006-02-08 Thread phplists
is always the same. Cheers Alexis Murray @ PlanetThoughtful wrote: On 9/02/2006 12:29 AM, phplists wrote: Thanks for that...and yes that would do very nicely. Unfortunately, for what I'm trying to do, it is of little use. I probably should have mentioned that the bit of text I used is actually

Re: [PHP] REGEX query

2006-02-08 Thread phplists
I have this bit of text: (\(EX\) RV-6 ) I want to remove the '\(EX\)' part of it so leaving just: ( RV-6 ) $text = '(\(EX\) RV-6 )'; $str = str_replace('\(EX\)','',$text); As Burhan put it, regex is not always the solution to your problem - in most cases, using regex for this kind

[PHP] A quick Regex query

2006-02-16 Thread phplists
Hi, I am using the following: [0-9]{4} [A-Za-zÅØ]{2,20} to extract data like: 1000 Øslo How can I alter the above to limit to ONLY 4 digits, or in other words exclude: 11000 Beograd Please note that what I am extracting from is NOT at the begining of a line, so I can't use the ^ first.