News:

Click here for Toll-Free Service for your business starting at $2.00 per month

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - lotsofish

#1
Support Requests / Re: MYSQL IMPORT PROBLEM
February 24, 2007, 05:21:20 PM
Yes, time-out error definitely. Upload the SQL file and create a simple PHP script to import it instead.

(Untested)

<?
mysql_connect("mysql5.freepgs.com","username","password");
mysql_select_db("database");

$fp=fopen("filename.sql","r");
$sql="";
while(!feof($fp)){
  $sql.=fgets($fp);
}

mysql_query($sql);
?>


Good luck.
#2
Quote from: bonehead on February 15, 2007, 03:32:25 AM
Good luck getting google to payout.

I get paid from adsense. You have to have $100 minimum and that can take a while to get if you don't have much traffic.
#3
Are you using enctype='multipart/form-data' ?

#4
Quote from: doctoreast on February 07, 2007, 04:39:29 PM
Hi,
  I'm using php, wrestling with relative paths, and I'm
wondering if there is anything I can do with rewrite
or something, that I can obtain relative / to mean root.
Relative to current, the ../ and ../../ is not working
due to the php includes being called from different files
in different folders.  I'm certain that some here will know
what I'm speaking of.  Right now, I'm using absolute urls,
as it's the only thing that seems to work. 
Thanks in Advance,
East 


It will make it easier for you in the long run if you define a variable that holds the path to your scripts and use the variable instead of the full path hardcoded.  So define a variable in a config or include file like $root='/fpgs/fpgshttpd/doctoreast/'; then whenever you need to reference a file using PHP, you would use it as $root.'subfolder/file.php';  If you ever decide to move your script away from your freepgs account, you would only have to update the 1 line instead of searching through all your code.

:)
#5
Support Requests / Re: Upload script
December 26, 2006, 07:09:30 AM
There are 105 options here. Some free, some pay, but I bet you'll find something that will work.
#6
No. "Extreme" is not the same as "FreePlus" or "NoCost".
#7
It's an include file for some bulletin board system.
#8
Whenever I have a problem with an SQL string, I echo it after it's set. That way I can see exactly what is being called. You can copy and paste it into phpMyAdmin then too and try to run the query. phpMyAdmin usually gives pretty good error texts.

Most likely, your $searchin or $searchfor vars aren't set right.
#9
Support Requests / Re: CSS
May 10, 2006, 08:44:56 PM
Sorry, I just feel the need to  ::)
#10
Support Requests / Re: CSS
April 27, 2006, 07:47:15 PM
I try to use CSS/DIV's as much as possible... but I am guilty of using tables sometimes when DIV's could be used instead. If I am using tables, I always use classes with them though,  because 1) I can store the styles in a separate file and edit them easily and 2) you can just do so much more with css as far as styling and looking better.

Not sure about CSS? Check out this site: http://csszengarden.com/  The base html file is the same, but you can choose radically different styles by loading different stylesheets.

#11
Support Requests / Re: FTP is NOT working!
April 14, 2006, 04:35:23 AM
Thanks webzone, that was it... Needed to make it passive ftp.
#12
Support Requests / Re: FTP is NOT working!
April 14, 2006, 04:32:11 AM
Quote from: webzone on April 14, 2006, 03:58:47 AM
FTP works for me right now. If you are behind a firewall or on a network, make your you enabled "Passive mode" (also called PASV) in your FTP client.

500 server errors are often caused by invalid .htaccess file.

I'm not getting a 500 server errors when looking at the files.. It's giving me that error when I upload to ftp. The ftp server is returning 500 and 550 errors to dreamweaver.

I am on a new wireless router since the last time I tried it. Maybe passive mode needs to be on. I'll give it a try and let you know what happens.

Thanks
#13
Support Requests / FTP is NOT working!
April 14, 2006, 03:55:14 AM
I have having a problem getting some files uploaded on ftp. Seems like half the files or more give a 500? error. Plus the thing is really slow and timing out a lot.  Just wanted to let you know. (And please fix it!)
#14
Support Requests / Re: PHLogger Problems...
February 19, 2006, 09:59:08 PM
No, it's not tracking Firefox at all. I don't think it's a javascript issue, javascript it turned on. When I load a page with the tracking code in IE, it tracks a visitor. When I load the same page in Firefox, it didn't even register a page load, whether netscape, mozilla or whatever.

I thought I'd give it a try since it was available, but I guess I will have to look elsewhere for a tracking script.

Andrew
#15
Support Requests / PHLogger Problems...
February 19, 2006, 11:03:20 AM
I just installed the PHLogger script on my site and it is working ok for IE, but not in FireFox.  I checked and the code is copied exactly. I was wondering if anybody else had this problem?

Thanks,
Andrew