...
Why would you want to avoid database calls? If you're using default
sessions management, all you're doing is trading this for accessing files on
the server. Isn't the database faster?
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-Original Message-
I don't know - is it?
I would think so. It's optimized for speed on small data sets. Does anyone
else have an opinion on this?
-Ed
Ed Lazor [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
-Original Message-
The real reason
Is it true that turck is faster than Zend?
i think you are looking for something like turck mmcache.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Wow. I just saw the $2,880 price tag on the Zend Encoder. I guess Turck is
better?! Who cares if it's a little bit slower than Zend (or even faster
according to the Turck site). That's a lot of moola!
-Original Message-
http://www.zend.com/store/products/zend-encoder.php
On Mon,
Geesh, this sounds scary. Are you requiring account login before processing
payments?
-Original Message-
I have a simple PHP store, and it appears that someone is using it to
test credit card numbers. I'm getting a very high number of small
orders every day, but a lot more declines.
-Original Message-
Jay Blanchard wrote:
FYI - This is (or use to be) a PHP list
If I have a web server running php, how do I change the oil in my car?
Have you tried the OilChange class from PHPClasses.org? ;)
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
What if you add a random seed to the URL?
img src=http://slashdot.org/my/logout?fluff=?php echo rand(1,200);?
height=1 width=1
-Original Message-
Hello Chris,
I can't share the exact code ;) , but here is something very similar:
img src=http://slashdot.org/my/logout; height=1
a mime type header and a
small (1x1) image when it's done to satisfy the browser's mime type
requirements?
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
=)
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
goes to a page I found that describes CSRF a little
differently than what Chris was presenting - to give a different perspective
on things.
http://www.squarefree.com/securitytips/web-developers.html
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
access to
third party cookies disabled, the local page may refer to a script
elsewhere, but it won't pass cookies back and forth.
Squarefree.com's article
(http://www.squarefree.com/securitytips/web-developers.html) recommends a
few solutions.
-Ed
-Original Message-
I am unable to re
.
I think Curt was correct actually. Hopefully the test I sent earlier can
confirm or at least cross-reference this.
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Assuming you're using post, add
$cmd = $_POST[cmd];
Before you use $cmd and see if that makes a difference. If it does,
register globals is likely disabled which is good.
-Original Message-
From: yawstick [mailto:[EMAIL PROTECTED]
Sent: Sunday, August 15, 2004 7:58 AM
To: [EMAIL
You might want to do a search for PHP Firewall and look at the other
projects already out there.
http://phpfwgen.sourceforge.net/
-Original Message-
From: Joel n.solanki [mailto:[EMAIL PROTECTED]
Sent: Friday, August 13, 2004 9:53 PM
To: Robby Russell
Cc: php-users
Subject: Re:
Did you Google? RIP programming? And if that doesn't work, you'll
probably have to clarify the term RIP.
-Original Message-
From: Harlequin [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 14, 2004 11:47 AM
To: [EMAIL PROTECTED]
Subject: [PHP] RIP Programming
I know, I know.
You should probably run this past the MySQL mailing list. They'll have a
lot more success on how to search the database like this.
-Ed
-Original Message-
From: Karl Timmermann [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 14, 2004 12:16 PM
To: [EMAIL PROTECTED]
Subject: [PHP
Aren't there PHP SMTP classes that allow you to verify the validity of an
email address?
-Original Message-
[snip]
Question: Is it possible to know which one of my hundreds if not
thousands of email addresses are invalid without ever going through my
return to sender address
Right. It's been a while, but I vaguely remember playing an SMTP class a
while back that would actually establish a connection with the remote server
and verify whether the address was a valid recipient. Of course, I also
seem to recall that it took forever and bogged up a lot on addresses like
Yea, it depends on whether your server allows you to put settings in
.htaccess. Try putting an invalid command in there like NotAValidDirective
and test to see if your pages stop working and whether you get a log error
saying that the htaccess file includes an invalid command.
-Ed
, at 7:10 PM, Ed Lazor wrote:
Yea, it depends on whether your server allows you to put settings in
.htaccess. Try putting an invalid command in there like
NotAValidDirective
and test to see if your pages stop working and whether you get a log
error
saying that the htaccess file includes
Nice solution =)
-Original Message-
sort ( $array );
if ( $array[ 0 ] !== $array[ count ( $array )-1 ] ) {
// Not all fields in the array are the same...
}
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
It might be easier to do something like
Files view
ForceType application/x-httpd-php
/Files
Then you could have your url
http://mycompany.com/view/10/?a=1b=2c=3
You can do the same thing with / but the scope ends up pretty big and
creates a lot of extra unnecessary processing.
-Ed
Wow, Michael. Nice response.
-Ed
-Original Message-
From: Michael Sims [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 11, 2004 9:03 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] PHP logic - Whats going on here?
Kim Steinhaug wrote:
[snip]
For some reason the above results
-Original Message-
SPAM wrote:
Currently i'm working on a php script
You forgot the part where you ACTUALLY ASK A QUESTION...
Hehe I wonder if this is covered in the Newbie Guide
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
on the client/browser side needs to be handled by something like
Javascript.
Do a google on javascript frame reload and you'll see several examples of
how to do this.
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I don't think you can have a single mysql query do what you're wanting.
Break it into mutiple queries.
-Original Message-
Hi List,
I have a qty posted via a form field, lets say 46.
In my mysql table I have two rows which I want to reduce their qty fields.
1 row has a qty of
I think John's right. Your schema sounds like it needs some serious work,
especially if you're storing identical details with every single
transaction. Go back and study relational database basics before trying to
create an inventory management system or you'll end up in a world of hurt.
-Ed
a modified URL of some sort. For example
http://www.mysite.com/fiction/story1.php
It sounds like you're trying to use frames to save from having to put the
same header or menu on every page. Is this true? If so, have you
considered creating separate files and using PHP's include command?
-Ed
-Original Message-
Wow, Michael. Nice response.
Could we please trim our posts? Thank you.
Sorry. Thought I'd sent it to him only.
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, restarted apache, and reran the script. Increasing
available memory had no effect.
MySQL is taking most of the cpu while running the script, but I figured I'd
make sure to boost PHP as much as possible before going to the MySQL list
for MySQL performance tips.
Thanks,
Ed
The other guys addressed how to get the script working, but I thought I
might also mention that you're presenting a potential security hole in your
app by not filtering the file name before using it. You'll also want to use
the realpath command on the full file name and path.
-Original
, memory requirements, etc.. In other words, pages don't display as
quickly when you add all of that overhead. Maybe things have changed
though. Does anyone have opinions or specs on how much overhead the
libraries add?
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
thath you can identify why the error
occurred. Using include_once fixes the problem but may not address bigger
issues.
-Ed
-Original Message-
Hi All,
I have a registration page that hasn't changed in several weeks. Today
it decided to freak-out by throwing an error;
'Cannot
-Original Message-
This may have already been addressed, but did you index any key fields?
I do have some indices created, but I'll check to see if there are more than
can boost things.
Thanks =)
Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Good point Jay. Luckily the server has dual 2.4gh xeon's with 2gig of ram
*grin*
-Original Message-
[snip]
Any recommendations on how to make PHP run faster?
[/snip]
A multiple CPU box. (It's a legitimate answer!)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
this be a security hole if I do not filter the file name before
I
use it?
Thanks,
Aaron
Ed Lazor [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
The other guys addressed how to get the script working, but I thought I
might also mention that you're presenting a potential
-Original Message-
From: Jay Blanchard
Open http://www.google.com in the browser of your choice
Type PHP IDE in the little box that appears there.
Click on the links of returned results.
I clicked on all of the links and nothing happened except for some web
pages
appearing.
Lot of good that did. I just threw 8 socket 7 AMD processors into a
box, and PHP isn't even the slightest bit faster.
Did you try a curveball when throwing the processors into the box?
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks Vail, I'll check that out.
-Ed
-Original Message-
If your problem is with a long running MySQL Query, and many of mine have
been, I would suggest you read
http://dev.mysql.com/doc/mysql/en/Optimizer_Issues.html
Your objective is to make sure that all your database
Ooo ahhh, thanks Curt =)
-Original Message-
To help figure out which queries are running slow there is the
php.ini setting:
mysql.trace_mode=On
Using this will have the php library analyze your queries and if
any of them do table scans php will issue a warning about it, which
I added more indexes. The 20 minute report just took 40 seconds *grin*
Thanks Everyone,
Ed
-Original Message-
From: Curt Zirzow [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 10, 2004 3:07 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP performance
* Thus wrote Ed Lazor
Probably so, because I can get there :P hehe
-Original Message-
From: Alfonso Baqueiro [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 10, 2004 3:14 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [PHP] PEAR SITE IF DOWN FROM MY IP
Does pear admins custom to do nasty things
Your tag line caught my attention - have any specs on performance boosts
provided by Zend?
The only host with the Zend Performance Suite!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Any idea when PHP Unleashed by John Coggeshall will be released? I've tried
emailing him with no luck and the guys at Powell's don't know when it'll be
available.
-Ed
Thanks Curt =)
-Original Message-
From: Curt Zirzow [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 10, 2004 7:53 PM
To: 'PHP'
Subject: Re: [PHP] PHP Unleashed
* Thus wrote Ed Lazor:
Any idea when PHP Unleashed by John Coggeshall will be released? I've
tried
emailing him
messages. My guess is that resolving a few errors will address a core
problem and everything will start working.
-Ed
That's what I thought. But the differences are glaring. Seems like none of
the
code wants to work. Navigation is a nightmare: header(location:...);
usually brings an error
as much
as possible.
Of course, this is all assuming the spammer provides a valid reply to
address, which most of them don't.
Anyway, don't respond to spam.
-Ed
-Original Message-
From: Josh Acecool M [mailto:[EMAIL PROTECTED]
Sent: Friday, August 06, 2004 12:28 PM
To: [EMAIL PROTECTED
, clarify what you're trying to accomplish and
I'll try to help further.
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Adding to what Miles says, use the fopen and fread commands (see manual on
the PHP site) for accessing the PDF files so that you can send copies of
them to the user. Examples are in the user comments of the manual.
-Original Message-
At 05:42 PM 8/5/2004, Aaron Todd wrote:
So far I
You could use the value of base dir variable as a point of reference rather
than having to manually configure a path in the app.
-Original Message-
news:[EMAIL PROTECTED]
Hi
Sometimes, some clients just want a few scripts. sometimes to fix or to
add
some features in sites or apps
Spamcease. Apparently it's the guy's anti-spam software that automatically
sends messages.
Interestingly enough, I don't get one each time I send something to the
list, just every once in a while.
-Original Message-
Who the hell is using this as their email address on a mailing
, PHP
that echo's field values. Like this:
input type=text name=First_Name value=?php echo
$record[First_Name];?
The PHP script gets called and checks to see if the form has been posted.
If it has, store the record and redisplay. Otherwise, load the record and
display the form.
Make sense?
-Ed
You need to give us the error in order to help troubleshoot it.
-Original Message-
I'm kinda new at PHP and I was trying to install one of the mailing lists
and newsletter systems and during the installation process I got errors
evertime the session_start() function called ..
I had
I ran into this last month. It was a problem with the ISP's server. They
were load balancing between different machines and PHP / Apache was having
trouble accessing session files.
-Original Message-
From: BOOT [mailto:[EMAIL PROTECTED]
Sent: Friday, August 06, 2004 1:26 PM
To:
I sent Bing specific code that will work:
If (!IsSet($_SERVER[HTTPS]))
Header(Location: https://; . $_SERVER[HTTP_HOST] .
$_SERVER[REQUEST_URI]);
Manually go to the URL specified.
https://computing.eng.iastate.edu/mambo/index.php?option=contenttask=viewi
d=159Itemid=162
It doesn't
with a better solution if you tell us what you're trying to accomplish.
-Ed
-Original Message-
From: Shaun [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 05, 2004 9:26 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] $HTTP_REFERER
Hi Jason,
Thanks for your reply, but really I need
Why are you specifying the To field twice? I'd try removing the extra
formatting around the email addresses for troubleshooting.
-Original Message-
From: Brian Dunning [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 05, 2004 8:43 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Why do I
Gawd this stuff sucks.
Nothing like a spammer posing as the list itself and farming email addresses
from members.
-Ed
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 05, 2004 11:54 AM
To: [EMAIL PROTECTED]
Subject: IMPORTANT: Please
-Original Message-
Its odd, i've yet to get one of those. Either the spammers dns
doesn't resolve proper (cause my server rejects those) or if its
due to the fact I only reply-to-list.
I'm assuming its a dns issue at this point.
Hrm. But my email server rejects those also?
-Ed
http://www.interaktonline.com/products/KTML/
-Original Message-
Hi all,
I could use some advice/pointers on a sold method for achieving this
feature on a site I am building. One of the features is an event
calendar. The events are listed by date, not in a calendar view, but a
Check out strtotime in the PHP manual. It gives a few examples of how to
use the function that I think will answer your first question. Next, check
out mktime, time, and date.
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Michael T. Peterson
Sent: Tuesday,
The person starting this thread has been flogged. The flogger has been
flogged. The flogging floggers flogger has been flogged.
And now, back to the further adventures of PHP...
Hint: please kill lame thread
-Original Message-
From: John Nichel [mailto:[EMAIL PROTECTED]
Sent:
-Original Message-
If you have register_globals on, you can access it via $id, otherwise use
$_GET['id']
Or $_POST['id'] if you're receiving data from a form (ie. processForm.php).
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
header(Location: . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']);
-Original Message-
From: John Nichel [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 03, 2004 12:59 PM
To: Bing Du; [EMAIL PROTECTED]
Subject: Re: [PHP] Location header does not work?
On Tuesday 03 August 2004
Oops... forgot to add https
Header(Location: https://; . $_SERVER['HTTP_HOST'] .
$_SERVER['REQUEST_URI']);
-Original Message-
From: Ed Lazor [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 03, 2004 1:36 PM
To: 'John Nichel'; 'Bing Du'; '[EMAIL PROTECTED]'
Subject: RE: [PHP
-Original Message-
From: Ed Lazor [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 03, 2004 2:33 PM
To: 'Bing Du'
Subject: RE: [PHP] Location header does not work?
I tried the https address and it lagged badly on me as well. It did
eventually display, so I looked at the source
-Original Message-
Was just wondering... Can you compile php with javascript support on a
Game Boy? Lol
Nope, javascript is client-side and not part of PHP :P
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Maybe they've upgraded something on the server that's somehow affecting your
code?
Against MySQL 4.0.18
Query: select NOW()
Results: 2004-07-29 10:48:12
Query: select NOW()+300
Results: 20040732104424
The difference in result data format would lead to the problem you're
option selected?php echo $Variable; ?/option
Can you see any obvious problems I might miss.?
You're specifying a variable for the option's text, but you also need to
specify the option's value. For example, if you were retrieving data from
MySQL:
while ($record =
You could try this:
http://marginalhacks.com/Hacks/html2jpg/
Save the page as an image, and then run it through the printer. It does
have some overhead though to get it done.
Hope it helps,
Ed
On Tue, 27 Jul 2004, Vern wrote:
I feel like I taking a hammer and well I'm sure you all know
It depends on your configuration, OS, etc...
-Original Message-
From: Fitra Alfina [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 27, 2004 7:37 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Urgent..my MYSQL dies..
please give me a command line to startup MySQL using safe_mysqld
--
PHP
Any comments or opinions on pros and cons, especially in terms of stability,
security, and future upgradability?
I know this is probably one of those religious war topics, but I'd still
like your feedback.
-Ed
Any recommendations on books, links, tutorials, etc. for PHP 5's new DOM /
XML stuff?
Thanks,
Ed
Has anyone had success accessing Quickbooks from PHP?
Sorry for asking this a second time. The first time didn't generate any
response and my email server hiccuped shortly after I made the post, so I
likely missed any responses sent directly to me.
-Ed
$baseDir = $_SERVER[DOCUMENT_ROOT];
$templatesDir = $baseDir . /templates/;
include($templatesDir . header.php);
include($templatesDir . body.php);
include($templatesDir . footer.php);
:-)
Good solution, but the problem is once the program is
completed it goes out of my hands and most
You can also use wget to grab the web page and then pipe it to lpr
-Original Message-
OK, but here's the rub:
I need to print a web page. Any ideas?
you should be able to use
exec('lpr page.html');
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Can you already send jobs to the printer from SSH?
-Original Message-
From: Vern [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 21, 2004 3:27 PM
To: [EMAIL PROTECTED]
Subject: Re: AW: [PHP] Sending the output of a web page to a printer
OK, welll this may be off topic then, but
Anyone have info on integrating Quickbooks / PHP / MySQL?
-Ed
The example depends on how you're printing from SSH. You'll need to check
whether wget is available on the system as well.
man wget to see it's various parameters.
wget http://www.yahoo.com | lpr
but like I say... it depends on a few things on your end...
-Original Message-
That
Use the PHP passthru function. The manual has examples of how you can get
the output from your commands in order to test things.
-Original Message-
hi...
i'm trying to track down issues that i seem to be having with using
exec/system shell functions within web/php apps on apache.
and that their
security is compromised. It's silly, but they seem to just sit there
blaming RedHat rather than doing anything to protect their customers.
-Ed
phpNuke is also popular.
-Original Message-
You could always use a wiki. ;-) I've found tikiwiki to be very well
suited to such things.
On Sat, 17 Jul 2004 17:44:29 -0500, [php]Walter [EMAIL PROTECTED]
wrote:
Anyone know a blog (I think) that will let me create documentation and
You add an S to http ;)
Beyond that, some servers allow one webspace for your files and encryption
is based on whether you specify the S or not. Some servers have separate
directories for http and https files.
-Original Message-
Hi everyone.
We've recently decided to move all our
the)
What exactly do I need to do to the text so that any quotation marks
(single or double) get input into the database.
TIA,
Ed Curtis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
into the
database. This worked.. htmlentities($_POST['text']).
Thanks,
Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
works correctly when I do use
htmlentities($_POST['text']) in my insert query. I'm not showing the text
to the user on page 3 at all.
Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 16 Jul 2004, John W. Holmes wrote:
Ed Curtis wrote:
On Fri, 16 Jul 2004, Justin Patrin wrote:
This is why he said: Since you seem to have magic_quotes_gpc enabled,
you can put the value directly into your query.
You shouldn't use htmlentities when putting it into the DB. Use
to having the cgi available though. For example, if you're at
a unix prompt and need to process a file. Or, more commonly, if you want to
execute scripts in cronjobs.
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Check the script that records the click. It shouldn't have any output,
spaces, or extra lines before or after ?php ?
-Original Message-
From: cab [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 15, 2004 9:39 PM
To: [EMAIL PROTECTED]
Subject: [PHP] track click throughs
Hi,
a simple select count(*) from sessions.
I'm not storing sessions into the database right now, but I have before and
I'll probably do it again =)
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is anyone taking a dynamic PHP / MySQL site and storing or cacheing it
statically in order for pages to display more quickly when visitors access
the site? If so, what solutions are you using to achieve this?
Thanks,
Ed
You're seeing raw data and need to specify the mime type with headers. Search the
mailing list archive, there's a few example scripts in there. Just keep in mine that
you need to create a separate script that handles the display of images.
Thanks, that seems to work. Although trying to
.
-Ed
for feedback from users to see if they're still getting login
prompts.
Thanks Marek =)
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Am I the only one getting these every time I post to the list?
-Original Message-
From: GUNSMOKE MAIL DAEMON [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 13, 2004 3:13 PM
To: Ed Lazor
Subject: NO SUCH ADDRESS
This is an automated message from the email daemon at Gunsmoke.com
with spaces and other special
characters in the name... Basically, I'd just use the ID and not worry
about encrypting it, unless you have a good reason to do so.
-Ed
-Original Message-
Is it ok to use the company-id or do I have to encrypt the id
using mcrypt (takes some time
-Original Message-
Everyone is getting it. But we cannot know wich address is giving back
this message, as it is not reported. Just we know the domain it comes
from.
The guy lists [EMAIL PROTECTED] as his email address on the site. I bet
that's the one bouncing.
-Ed
--
PHP General
How are you resolving hostnames? Are relevant IPs/Hostnames in your hosts
file? Does the local machine have mynotebook mapped to 127.0.0.1?
-Original Message-
A curious thing has been happening. When I run the PHP script on my
machine using localhost, the script executes perfectly.
can tell me what I'm doing wrong I'd appreciate it.
Thanks,
Ed
$ap = fopen($ad_path/AdCount$issue.txt, w);
mysql_connect ($local_host, $local_user, $local_pass);
mysql_select_db ($local_db);
$result = mysql_query (SELECT *, COUNT(*) as cnt FROM users, listings
WHERE listings.user_id
was overlooking.
Thanks,
Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
201 - 300 of 685 matches
Mail list logo