Search found 7 matches

by mediaphyte
Thu Apr 28, 2005 5:49 am
Forum: mySQL & php coding
Topic: problem with $_POST[] e mySQL
Replies: 0
Views: 885

looks close

va bene first of all, I always echo my $query string if I'm having problems and feed it into mysql at the command line (that way I can see the error). You might want to concatenate your variable before using in sql statement (I dunno, I guess it may work as is)... I always brace my array variables i...
by mediaphyte
Tue Apr 26, 2005 7:53 pm
Forum: PHP General
Topic: hosting for php
Replies: 1
Views: 1128

hosting

I run with a hosting company. We run apache-php-mysql on linux. If interested, email me jc@mediaphyte.com
Otherwise, a ton of cheap hosts out there, google will show you
by mediaphyte
Tue Apr 19, 2005 12:14 pm
Forum: PHP General
Topic: Is there a way to know if the back button has been pressed?
Replies: 5
Views: 1907

arggg

arrrgggg! I can't sit back on this one anymore...
I wanted to leave it at Swirlee's comment, but then another came
google: javascript referrer

-later
by mediaphyte
Mon Apr 18, 2005 5:04 am
Forum: PHP General
Topic: redirecting to a https:// site
Replies: 6
Views: 1974

or...

if($_SERVER['SERVER_PORT'] == 80){ if (!isset($_SERVER['REQUEST_URI'])) { $_SERVER['REQUEST_URI'] = $_SERVER['SCRIPT_NAME'].'?'.$_SERVER['QUERY_STRING']; } $ssl_url = "https://www.".$_SERVER['HTTP_HOST'].":443".$_SERVER['REQUEST_URI']; $ssl_url = str_replace("https://www.www.", "https://www.", $ssl_...
by mediaphyte
Sat Apr 16, 2005 2:41 pm
Forum: PHP coding => General
Topic: POST and GET info not passing at all?
Replies: 0
Views: 714

well, maybe here be a little help

First, I see that you were trying several ways, but, you really should clean up and stick with a direction. If you are simply trying to send request data from one form to one process page (which I'm guessing is the case), I'd suggestion changing the process pg to read $_POST['variable_here']. $_GET[...
by mediaphyte
Fri Apr 15, 2005 9:24 pm
Forum: PHP Jobs
Topic: simple php/mysql job
Replies: 2
Views: 2172

a little slow on this posting I seem to be

Well, I'm getting to this posting quite late in the game but if you still need need assistance... SELECT * FROM tbl WHERE company LIKE '%$searchstr%' OR phone LIKE '%$searchstr%' OR email LIKE '%$searchstr%' OR address LIKE '%$searchstr%' there's a freebie for you (and if that's all you need, great)...
by mediaphyte
Fri Apr 15, 2005 9:13 pm
Forum: PHP Jobs
Topic: Permanent PHP Developer Required
Replies: 1
Views: 1705

php - mysql

If you need PHP/MySQL coding, drop me an email. I've created several login/registration type scripts (and yes, my belief is that SESSIONs are a must... cookies are good for welcoming, but still require a login.
Thanks for your consideration
-jc