[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 one place to get information on creating a
credit
> card validation script based on the users selected payment type (i.e.
> mastercard, visa, american express, etc.)  If anyone knows of a good
> tutorial or sample of such a function please point me that way.
> thanks in advance,
> Jas
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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 Orleans Regional Transit Authority
> Phone : (504) 248-3826
> Email : [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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 an entry for the
IP of your server sending email with PHP in the relay-domains and access
files.. Everything else should be blocked unless necessary.

Later,

Bob Weaver

"Kris Vose" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I am having problems with my mail server. When I use the mail function in
php it resets the domain of the from: address when the script is executed.

For example: when the from: address is set to [EMAIL PROTECTED] it resets it
to the mail servers domain [EMAIL PROTECTED] I believe this is due to
smtp relaying being blocked. Is there anyway around this problem in php or
is the only solution to unblock smtp relaying? Also...this may not be the
problem at all.

All input is appreciated. Thanks

Kris Vose




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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 line similar to the
following:

AddType application/x-httpd-php-source .phps

That alone won't finish the job. You also have to make a copy of the .php
file with a .phps extension. Or, of you are on Linux, you can simply do an
'ln -s original.php original.phps' and use the .phps link to display the
source.

This is the way apache does it. You can also do the same thing manually in a
php script using highlight_file() or as already mentioned, the show_source()
command which is just an alias for highlight_file(). Either way will produce
the same results since Apache simply send the command through mod_php. This
is really more of an apache question involving php.

Later,

Bob Weaver

"Mantas Kriauciunas" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hey [EMAIL PROTECTED],
>
>  as i understand files .phps should view code nice and in colors...
>  but when i set up everything good in http.conf and (as i think)
>  everything is perfect it wants me to download that .phps
>  file...what can be wrong? im using PHPTriad on win2k
>
>  thank you
>
> :--:
> Have A Nice Day!
>  Mantas Kriauciunas A.k.A mNTKz
>
> Contacts:
> [EMAIL PROTECTED]
> Http://mntkz-hata.visiems.lt
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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
/home/httpd/htdocs/home/adam in your httpd.conf file for . Unless you are talking about authenticating users or
something and redirecting specific users to the target and the rest
somewhere else..

Bob

"Joerg Hanke" <[EMAIL PROTECTED]> wrote in message
002701c1dd9a$69c08010$0400a8c0@Joerg">news:002701c1dd9a$69c08010$0400a8c0@Joerg...
> hi,
>
> i've got the possibility to create alias subdomains, which redirect all
> to the document-root...
>
> e.g.:
>
> http://adam.domain.com redirects to http://domain.com
>
> i want to redirect the users who access http://adam.domain.com to
> http://domain.com/home/adam
>
> how to do this best in php??
>
> reguards,
> george
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I was just wondering if there was any way to turn off the bars at the top
of
> the browser window with PHP. If not does anyone know a way that I could
make
> it so that I could pass information from a form to window that I pop open
> with javascript. I would either need some way to make the window look just
> like a window that was popped up with this:
>
> 
>   window.open('https://secure.authorize.net/gateway/transact.dll',
> 'joe', config='toolbar=0,menubar=0,directories=0,location=0')
>   
>
> or some way I could pass the info from a form to that opened page.
> Thanks,
> Dave
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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=619&single=1

Yeah, after I looked at it, it is that one.. Adam Olsen is my programmer..
Duh.. I forgot he posted the class file he did on Zend.com.. Anyway, hope
you can find something to work..

Later,

Bob Weaver

"David Johansen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I would love to use a class. Where can I find one? I've posted on here
> several times asking for examples or base code that work with
Authorize.net
> but no one ever responds. If you could point me to some that'd be great.
> Thanks,
> Dave
>
> <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > 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]> wrote in message
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > I was just wondering if there was any way to turn off the bars at the
> top
> > of
> > > the browser window with PHP. If not does anyone know a way that I
could
> > make
> > > it so that I could pass information from a form to window that I pop
> open
> > > with javascript. I would either need some way to make the window look
> just
> > > like a window that was popped up with this:
> > >
> > > 
> > >   window.open('https://secure.authorize.net/gateway/transact.dll',
> > > 'joe', config='toolbar=0,menubar=0,directories=0,location=0')
> > >   
> > >
> > > or some way I could pass the info from a form to that opened page.
> > > Thanks,
> > > Dave
> > >
> > >
> >
> >
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




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 PROTECTED]">news:[EMAIL PROTECTED]...
> This is the wrong group/list for this post.
>
> The disabling of bars, or any sort of browser feature/appearance is NOT
PHP.
>
> PHP is a server side langauge.  Commonly, you would use JavaScript for
such
> stuff, so I recommend you check out the millions of JavaScript sites and
> newsgroups on the web.
>
>
> on 08/04/02 8:29 AM, David Johansen ([EMAIL PROTECTED]) wrote:
>
> > I was just wondering if there was any way to turn off the bars at the
top of
> > the browser window with PHP. If not does anyone know a way that I could
make
> > it so that I could pass information from a form to window that I pop
open
> > with javascript. I would either need some way to make the window look
just
> > like a window that was popped up with this:
> >
> > 
> > window.open('https://secure.authorize.net/gateway/transact.dll',
> > 'joe', config='toolbar=0,menubar=0,directories=0,location=0')
> > 
> >
> > or some way I could pass the info from a form to that opened page.
> > Thanks,
> > Dave
> >
> >
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




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

2002-04-08 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
httpd.conf.

AddType application/x-httpd-php .php .phtml .php3
#Optional
AddType application/x-httpd-php-source .phps

Later,

Bob

"Chuck "Pup" Payne" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have done something stupid and not PHP won't work. Everytime you click
on
> a link that is .php it wants  you to download the file. What have I done
and
> how can I fix it.
>
> Chuck Payne
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




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

2002-04-08 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 configured
properly to add mod_php.. If your talking about the magidesign.com server
then it looks like your module config is fine.. Just check for the AddType
lines then..

Later,
Bob

"Chuck "Pup" Payne" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> SuSE 7.3(linux) Apache.
> on 4/9/02 2:43 AM, Martin Towell at [EMAIL PROTECTED] wrote:
>
> > um - pray
> >
> > which OS and web server are you running?
> >
> > -Original Message-
> > From: Chuck "PUP" Payne [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, April 09, 2002 4:33 PM
> > To: PHP General
> > Subject: [PHP] Help I killed PHP on mysever...
> >
> >
> > I have done something stupid and not PHP won't work. Everytime you click
on
> > a link that is .php it wants  you to download the file. What have I done
and
> > how can I fix it.
> >
> > Chuck Payne
> >
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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 cwd using getCwd()
and put them into an array. They are in the form of
/home/httpd/html/phptemp/dirname and I am able to use the following to print
them to the page:

for( $x = 0; $x < sizeof( $resultArray ); $x++ ) {
echo( "$resultArray[$x]\n" );
}

What I would like to figure out is how to split or explode the values in the
array with the "/" char just before the echo so I end up with separate vars
for home, httpd, html, phptemp, dirname. So I could then just print out the
value of dirname as the link (see above).

I've been trying to learn this PHP stuff for a couple weeks now and it's
coming along nicely.. And I appreciate all the help I've found in the posts
to the group here.. Thanks in advance for any help..

Later,
Bob

--
Bob Weaver, Manager
Custom PC & Web Design, LC
http://www.custompcweb.com
801-400-1320



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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
> 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 cwd using getCwd()
> and put them into an array. They are in the form of
> /home/httpd/html/phptemp/dirname and I am able to use the following to
print
> them to the page:
>
> for( $x = 0; $x < sizeof( $resultArray ); $x++ ) {
> echo( "$resultArray[$x]\n" );
> }
>
> What I would like to figure out is how to split or explode the values in
the
> array with the "/" char just before the echo so I end up with separate
vars
> for home, httpd, html, phptemp, dirname. So I could then just print out
the
> value of dirname as the link (see above).
>
> I've been trying to learn this PHP stuff for a couple weeks now and it's
> coming along nicely.. And I appreciate all the help I've found in the
posts
> to the group here.. Thanks in advance for any help..
>
> Later,
> Bob
>
> --
> Bob Weaver, Manager
> Custom PC & Web Design, LC
> http://www.custompcweb.com
> 801-400-1320
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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 anyone
> recommend a PHP/MySQL shopping cart (free or commercial) that works
> pretty well, decently customizable, and doesn't depend on additions
> beyond the standard PHP distribution (e.g. PHPlib).
>
> The PHP Knowledge Base  lists only 2:
>
> FishCart 
> FreeTrade  (dead link)
>
> freshmeat  lists 16 (looks like FreeTrade moved
here).
>
> HotScripts.com  lists 48, but not all of the
> scripts are rated.
>
> Any suggestions or comments are welcome.  Much thanks in advance!
>
>
> --
> Eugene Lee
> [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: PHP and localhost (newbie!!)

2002-04-10 Thread phplists

Yeah, basically, in your httpd.conf file you specify the DocumentRoot for
your Apache installation. Then whatever dirs are below that inherit the
AddType(s) and such of the parent. You can add different dirs individually
if you want. Just add the following to your httpd.conf file (you can put
them anywhere in  the file, bottom is ok):


AddType application/x-httpd-php .php .phtml .php3
#Next line is optional (for viewing source)
AddType application/x-httpd-php-source .phps


Anyway, you can create a Directory section for any dir on the system that
you want to be able to parse php files in.

Hope it helps,

Bob Weaver

"Tiago SimõEs" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello everybody!
>
> I'm just entering the wonderful world of PHP and i already have a doubt. I
> installed the apache server on my Windows ME :-p, to use for local tests.
I
> have to acess it manually (meaning i have to click the apache startup
> everytime i want to do something...). Anyway i proceded to install PHP (on
> c:\php\, and everything went ok. I test my first php file ( a simple echo
> command) at the http://localhost directory (or c:\program files\apache
> group\apache\htdocs). It all went ok. So i started wondering if it
detected
> a php outside of that path, like in the desktop or some other folder
(since
> i'm very keen on having my sites in specif  folders). Unfortunately it
> didn't, it just showed the php as a txt file. Is there anyway to make the
> files readable everywhere?
>
> Thanks in advance,
> Tiago Simões
>
>
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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 = "::name::,
Your new eStore is ready at http://woodenpickle.com/shop\";>http://woodenpickle.com/shop.Y
ou can open the admin panel for it at the following link:http://woodenpickle.com/shop/admin.php\";>
http://woodenpickle.com/shop/admin.php You should receive
another email with the temp login and pass later today.\n";

$result = mysql_query( "SELECT * FROM customers" );
while( $data = mysql_fetch_row( $result ) )
{
print ". ";
$newMessage = str_replace( "::name::", $data->firstName, $newMessage );
$if( mail( $data->emailAddress, $subject, $newMessage, "${headers}From:
$fromEmail" ) )
{
$count++;
}
}

echo( "Done." );



"Stefen Lars" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello all
>
> I have a script called 'report.php' that generates a report in HTML. This
> report must be created at regular intervals; hence I have set up a cron
job
> to call that script. The output of 'report.php' must be sent by e-mail. I
> use the following command:
>
> /usr/bin/lynx -source http://server.com/report.php | mail -s "Report"
> [EMAIL PROTECTED]
>
> This works fine. The result of report.php is sent to [EMAIL PROTECTED]
>
> However, the results do not appear as HTML in the e-mail client, but as
> text. This is due to the fact that the headers saying 'This is HTML' are
> missing from the e-mail message sent.
>
> Does anyone know how it is possible to get 'mail' to add suitable headers
to
> the above command, so that the receiving e-mail client knows that it is
> getting an HTML and not a text message?
>
> Any help would be gratefully received. TIA.
>
> S.
>
>
> _
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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  to a backslash..

Later,
Bob

"Tiago SimõEs" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> For those that haven't read my previous posts, i'm trying to be able to
test
> locally my php site. My installation (both apache and php) went smoothly.
> But instead of using the htdocs folder for the test i wanted to use the
> c:\website folder. So with some help from you guys i manage to configure
the
> httpd.conf file (in the conf Apache subfolder) like this:
>
> #this is the bottom part of the conf file
>
> 
> DocumentRoot "C:\website"
> ServerName website.localhost
> 
>
> 
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php .php4
> #Next line is optional (for viewing source)
> AddType application/x-httpd-php-source .phps
> 
>
>
> and in the hosts.sam file in the C:\Windows\
>
> 127.0.0.1   localhost
> 127.0.0.1   website.localhost
>
> It "sounds good to me. So why it doesn't work? Any ideas?
>
>
>
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: Pass variables via URL

2002-04-12 Thread phplists

This works:

" width=150 height=100 border=0>

This works too if you're not opposed to using straight php:

\n\nImage Switch\n";
print "\n";
print "\n";

?>

Later,

Bob Weaver

"Craig Westerman" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I'm trying to set $image = imageA via a URL:
>
> http://www.abc123.com/php001/image_switch.php?image=imageA
>
> Script is:
>
> 
> 
>Image Switch
> 
> 
>
>  border="0">
>
> 
> 
>
>
> Image link ends up as:
> http://www.abc123.com/php001/.gif
>
> Link needs to be:
> http://www.abc123.com/php001/imageA.gif
>
> What am I doing wrong?
>
> Thanks
>
> Craig ><>
> [EMAIL PROTECTED]
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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
> 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  to a backslash..
>
> Later,
> Bob
>
> "Tiago SimõEs" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > For those that haven't read my previous posts, i'm trying to be able to
> test
> > locally my php site. My installation (both apache and php) went
smoothly.
> > But instead of using the htdocs folder for the test i wanted to use the
> > c:\website folder. So with some help from you guys i manage to configure
> the
> > httpd.conf file (in the conf Apache subfolder) like this:
> >
> > #this is the bottom part of the conf file
> >
> > 
> > DocumentRoot "C:\website"
> > ServerName website.localhost
> > 
> >
> > 
> > AddType application/x-httpd-php .php
> > AddType application/x-httpd-php .php4
> > #Next line is optional (for viewing source)
> > AddType application/x-httpd-php-source .phps
> > 
> >
> >
> > and in the hosts.sam file in the C:\Windows\
> >
> > 127.0.0.1   localhost
> > 127.0.0.1   website.localhost
> >
> > It "sounds good to me. So why it doesn't work? Any ideas?
> >
> >
> >
> >
> >
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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 set all variables as global so that they are
avalible to a function, i'm doing an eval inside, so i need all the
submitted variables to be avalible, or do i have to decalre them
individualy.

Paul Roberts
[EMAIL PROTECTED]







-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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
Static IP Address
Apache 1.3.20
PHP 4.0.6
Dedicated MySQL Server
CRON
Telnet/SSH/FTP
Sendmail
SSL
Webmin Control Panel
Host up to 25 Apache VHosts

Premium Virtual Package ($34.95/mo - $14.95 setup)::
Linux RedHat 7.1
500mb Disk Space
50 POP3 Accounts
20GB/mo transfer
Static IP Address
Apache 1.3.20
PHP 4.0.6
Dedicated MySQL Server
CRON
Telnet/SSH/FTP
Sendmail
SSL
Webmin Control Panel
Priority Technical Support
Host up to 50 Apache VHosts

Plus you get a free month credit for referring others.. Hint, hint.. (it's
Bob Weaver, account: custompcweb.com)

Later,

Bob Weaver

"The_radix" <[EMAIL PROTECTED]> wrote in message
010401c1e346$5e494300$3200a8c0@oracle">news:010401c1e346$5e494300$3200a8c0@oracle...
> wow.. 10-15gb.. where do you get that kinda hosting and for how much??
>
>
> Here in Aus it'd cost you a packet.. Don't know where abouts in the globe
> you are though..
>
>
> Here in AUS my host only gives me 1gb p/m and 50mb space... for AUD$399p/a
> that's USD$198... bit of a ripoff I think. but unbelievably they're one of
> the cheapest I have ever seen in AUS and best quality...
>
>
>
>
>
>
>
>
>
> :::
> Julien Bonastre [The-Spectrum.org CEO]
> A.K.A. The_RadiX
> [EMAIL PROTECTED]
> ABN: 64 235 749 494
> Mobile: 0407 122 268
> QUT Student #: 04475739
> :::
>
>
> - Original Message -
> From: "Jennifer Downey" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, April 14, 2002 7:46 AM
> Subject: [PHP] PHP MySQL Hosting services
>
>
> > Hi everyone,
> >
> > I am wondering if anyone has a good hosting service? I am currently with
> > Aletia which has an excellant package good tech support but sometimes
not
> > very functional servers.
> >
> > My site has gone down at least 3 times within the last 20 days. Too many
> for
> > me.
> >
> > It has to be at least 50 mb disk space, 10 to 15gig /m transfer, of
course
> > PHP and MySQL, ftp, ssh or telnet, cgi/perl, free domain transfer, at
> least
> > 15 POP3 email accounts, cron support.
> >
> > Thanks
> > Jennifer
> > --
> > The sleeper has awaken
> >
> >
> >
> >
> >
> >
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.344 / Virus Database: 191 - Release Date: 4/2/2002
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] HTML & 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=en&q=select+onchange

As for the other, can't help.. You should try an HTML group..

Later,
Bob

"Vladislav Kulchitski" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

HI I was wondering if anyone can answer my question :) it's more HTML
related though, but I'll dare to post it here and apologize in advance
if I am going against the rules.

The issues is, if I am using the following code:


25
10
50
100


The problem I am having is that when I get rid of '' it gives
the formatting like I needed, and with '' it increases the CELL
where I am using this SELECT, like it is like having "", i.e. it's
maximizing the height.

When I get rid of  the whole  thing doesn't show in
NETSCAPE but does show and work fine in IE 5-6.0

Also can someone help with JS for this option... like as soon as you
selected something the page will go loading without having to click
SUBMIT.

Thanks a lot.
Vlad





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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
Static IP Address
Apache 1.3.20
PHP 4.0.6
Dedicated MySQL Server
CRON
Telnet/SSH/FTP
Sendmail
SSL
Webmin Control Panel
Host up to 25 Apache VHosts

Premium Virtual Package ($34.95/mo - $14.95 setup)::
Linux RedHat 7.1
500mb Disk Space
50 POP3 Accounts
20GB/mo transfer
Static IP Address
Apache 1.3.20
PHP 4.0.6
Dedicated MySQL Server
CRON
Telnet/SSH/FTP
Sendmail
SSL
Webmin Control Panel
Priority Technical Support
Host up to 50 Apache VHosts

Plus you get a free month credit for referring others.. Hint, hint.. (it's
Bob Weaver, account: custompcweb.com)

Later,

Bob Weaver


"Jennifer Downey" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi everyone,
>
> I am wondering if anyone has a good hosting service? I am currently with
> Aletia which has an excellant package good tech support but sometimes not
> very functional servers.
>
> My site has gone down at least 3 times within the last 20 days. Too many
for
> me.
>
> It has to be at least 50 mb disk space, 10 to 15gig /m transfer, of course
> PHP and MySQL, ftp, ssh or telnet, cgi/perl, free domain transfer, at
least
> 15 POP3 email accounts, cron support.
>
> Thanks
> Jennifer
> --
> The sleeper has awaken
>
>
>
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.344 / Virus Database: 191 - Release Date: 4/2/2002
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




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 PROTECTED]...
> Check out linux web host comes with PHP and MySql
> Their PHP compile is pretty nice, including GD support. Their DB is
> run via phpMyAdmin.
>
> http://www.linuxwebhost.com
>
>
> >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
> >Static IP Address
> >Apache 1.3.20
> >PHP 4.0.6
> >Dedicated MySQL Server
> >CRON
> >Telnet/SSH/FTP
> >Sendmail
> >SSL
> >Webmin Control Panel
> >Host up to 25 Apache VHosts
> >
> >Premium Virtual Package ($34.95/mo - $14.95 setup)::
> >Linux RedHat 7.1
> >500mb Disk Space
> >50 POP3 Accounts
> >20GB/mo transfer
> >Static IP Address
> >Apache 1.3.20
> >PHP 4.0.6
> >Dedicated MySQL Server
> >CRON
> >Telnet/SSH/FTP
> >Sendmail
> >SSL
> >Webmin Control Panel
> >Priority Technical Support
> >Host up to 50 Apache VHosts
> >
> >Plus you get a free month credit for referring others.. Hint, hint..
(it's
> >Bob Weaver, account: custompcweb.com)
> >
> >Later,
> >
> >Bob Weaver
> >
> >
> >"Jennifer Downey" <[EMAIL PROTECTED]> wrote in message
> >[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> >> Hi everyone,
> >>
> >> I am wondering if anyone has a good hosting service? I am currently
with
> >> Aletia which has an excellant package good tech support but sometimes
not
> >> very functional servers.
> >>
> >> My site has gone down at least 3 times within the last 20 days. Too
many
> >for
> >> me.
> >>
> >> It has to be at least 50 mb disk space, 10 to 15gig /m transfer, of
course
> >> PHP and MySQL, ftp, ssh or telnet, cgi/perl, free domain transfer, at
> >least
> >> 15 POP3 email accounts, cron support.
> >>
> >> Thanks
> >> Jennifer
> >> --
> >> The sleeper has awaken
> >>
> >>
> >>
> >>
> >>
> >>
> >> ---
> >> Outgoing mail is certified Virus Free.
> >> Checked by AVG anti-virus system (http://www.grisoft.com).
> >> Version: 6.0.344 / Virus Database: 191 - Release Date: 4/2/2002
> >>
> >>
> >
> >
> >
> >--
> >PHP General Mailing List (http://www.php.net/)
> >To unsubscribe, visit: http://www.php.net/unsub.php
> >



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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 point me to that would fill my needs. Thanks
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




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 want to be able to search
but phpMyAdmin will do it for you if you are not familiar with how to do it.

Later,
Bob Weaver

"Thomas Edison Jr." <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I'm working on a search program that searches on a
> mySQL DB and gives back results.
>
> I have a table with a column vProName, which
> let's say, contains a record "Basket Ball Game".
> Now what i want is that if someone searches for "Game"
> or "Ball", even then this record should appear.
>
> Could someone guide me for the same
>
> Thanks,
> T. Edison Jr.
>
>
> __
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax
> http://taxes.yahoo.com/



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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
whatever.mysite.com goes to root etc.however i'll like to redirect these
requests to mysite.com/users/sites/whatever
so what do i put in the .htacces file bearing in mind that i want requests
just for mysite.com to be left alone.
thanx
adrian




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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 General List,
>
>   Can anybody point me to tutorial or real good explanation site how
>   to keep Http://localhost/phpmyadmin off for other users. I am using
>   it to help me with MySQL database but other peaople can access
>   it. I know there is something with .httacces but i dont know
>   anything about that .httacces. SO please if anybody can point me to
>   some explanation how to secure phpmyadmin or just explain bu them
>   selves.
>
>   Thank You.
>
> :--:
> Have A Nice Day!
>  Mantas Kriauciunas A.k.A mNTKz
>
> Contacts:
> [EMAIL PROTECTED]
> Http://mntkz-hata.visiems.lt
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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 (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] REGEX query

2006-02-04 Thread phplists

Thanks for the options David.

I think I'll go for the last option as I'm determined to get to grips 
with REGEX, and your first choice of REGEX won't work for me as the 
'RV-6' bit can be too variable with what it contains, whereas the \(EX\) 
bit IS more constant...it's only the EX bit that changes.


I knew I had to to escape some characters but got confused as to how 
many times to do each one.

I have tried using your example as follows:

$postScriptData =preg_replace("/\\\(.*?\)\\/","",$postScriptData);

and get the following error:
Warning: No ending delimiter '/' found in...

Any suggestions?

Cheers
Alexis


David Tulloh wrote:


I assume that the text inside can change around a fair bit.  If the
string is of a fixed with or simple format you can just use substr() and
friends, it's simpler and faster.

That said, there is really two approaches that I can see with this string.

You can match on the spaces to extract the 'RV-6', something like
'/\s\S+\s/' should do the trick, that pulls out some non-whitespace
characters from between two whitespace characters, including the
whitespace characters.  Then just add the () on again afterwards.

The other approach would be to use preg_replace to get rid of the \(EX\)
portion by replacing it with an empty string.  Personally I would
probably use the first technique as I generally don't like using replace
functions in this way.  A pattern which should match is '/\\\(.*?\)\\/',
the mess of \ is because \ ( and ) all need 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
Alexis








--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] REGEX query

2006-02-08 Thread phplists

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 
just part of a much bigger bit of text so exploding on a space would 
cause havoc with the rest 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 the '\(EX\)' part of it
so leaving just: ( RV-6 )



$text = '(\(EX\) RV-6 )';
$bits = explode(' ',$text);
$leaving = '( '.$bits[0].' )';

Sometimes, regex is not the answer :)




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] REGEX query

2006-02-08 Thread phplists

Hi Murray,

The length of text is quite long..it is in fact a 150+ page PDF file, 
which as it's using an earlier version of PDF I can 'translate' into a 
format that I can extract data from..it's just this one bit of text that 
I'm stuck on. Yes it does appear multiple times, but the pattern 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 
just part of a much bigger bit of text so exploding on a space would 
cause havoc with the rest of it. Hence the REGEX question.


But, I still agree with you 100% about keeping things simple :o)

Thanks
Alexis



Hi Alexis,

Can you give us an example of the full length of text? Does the target 
value appear only once in any one string?


Is the pattern always:

-left bracket
-backslash
-left bracket
-2 letters
-backslash
-right bracket
-space
-2 letters
-dash
-single digit
-space
-right bracket

?

Much warmth,

Murray
---
"Lost in thought"
http://www.planetthoughtful.org

"Urban legends, superstitions, ghost
stories and folklore"
http://www.ulblog.org




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 of operations will just hog
your scripts.

--
Kim Christensen
[EMAIL PROTECTED]



Thanks Kim, that'll solve the problem very nicely.

As a matter of point though, and as I initially said I ma trying to get 
to grips with REGEX, so perhaps if someone would be kind enough to 
explain the format that it needs to be in for REGEX, as I've said, I'm 
having problems with the escaping of the \ & (, so it's somethign I 
defintely need to know for future reference.


Cheers
Alexis

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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



Also, you may notice a couple of 'special' characters in my expression 
'Å + Ø'  By putting them in they seem to work fine, but is this the best 
way of doing it?


MTIA
Alexis

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php