Forum: PHP Jul 29th, 2006 |
| Replies: 3 Views: 1,550 |
Forum: PHP Jul 1st, 2006 |
| Replies: 6 Views: 2,200 Re: how deposit a picture to MYSQL database Not only that you must store the picture as Binary or Blob data type, and you need more than just the data, such as extension(to deteremine what compression is used), and the size.
I suggest you... |
Forum: PHP Jul 1st, 2006 |
| Replies: 3 Views: 8,869 |
Forum: PHP Jun 2nd, 2006 |
| Replies: 6 Views: 1,383 Re: Show Last IP Include that part in the code that is excuted when the user has authenticated successfully, that would ensure you only did it once per session. |
Forum: PHP Jun 1st, 2006 |
| Replies: 11 Views: 19,647 |
Forum: PHP May 31st, 2006 |
| Replies: 2 Views: 3,824 Re: PHP e-mail SMTP error ??? As far as I'm aware the mail() functoin cannot handle SMTP servers that require authetication.
You will have to use a someone else to send your mail like PEAR's Net_SMTP package or PHPMailer. |
Forum: PHP May 31st, 2006 |
| Replies: 3 Views: 1,520 |
Forum: PHP May 30th, 2006 |
| Replies: 3 Views: 2,028 Re: PHP E-mail setting ??? You want to leave those to lines in whatever files you are sending the mail in.
The mail.myserver.net is whatever your SMTP mail server is for instance mine is smtp.charter.net because charter is my... |
Forum: PHP May 30th, 2006 |
| Replies: 4 Views: 1,288 Re: Code session_user_id is an Integer and you have qoute around it in the SQL query. That could be the problem.
It's not showing in error because you have it redirecting to a new page immeadiately.
And... |
Forum: PHP May 30th, 2006 |
| Replies: 3 Views: 930 |
Forum: PHP May 29th, 2006 |
| Replies: 1 Views: 882 Re: inserting a size It is stored in $_FILES['yourfilename']['size'].
It will return the size in bytes, so if you want in like MB you will have to convert it yourself, but it's not to hard. Google the conversion rates,... |
Forum: PHP May 29th, 2006 |
| Replies: 3 Views: 930 Re: Adding content to a personal page Your best bet you would be store all the users information in a database like MySQL. That way it would persist across sessions.
My personal opinion on learning PHP is to by a book, but there are... |
Forum: PHP May 29th, 2006 |
| Replies: 4 Views: 1,288 |
Forum: PHP May 29th, 2006 |
| Replies: 3 Views: 2,028 Re: PHP E-mail setting ??? You have to set what SMTP(Outgoing) Mail server you are going to user first. In order to set that use.
ini_set(smtp, "mail.myserver.net");
ini_set(smtp_port, 25); //25 is the default leave it at... |
Forum: ASP.NET May 24th, 2006 |
| Replies: 6 Views: 2,575 Re: MP3 to Database Well first of let me recommend that you not...you would be better off storing MP3's on the the file system, and storing the path to the file in the database, plus whatever metadata you may keep for... |
Forum: ASP.NET May 23rd, 2006 |
| Replies: 10 Views: 3,079 Re: ASP.net and IIS Did you ever run aspnet_regiis.exe?
It's located somewhere in C:\Windpws\Mircrosft.Net\Framework\Yourversion\
That might fix your problem. BTW if you do reinstall everything you have to run that... |
Forum: PHP May 23rd, 2006 |
| Replies: 2 Views: 1,405 Re: Php Mysql Image Help Please!!! Your overthinking this.
All you have to do is echo the HTML to display the image from the directory it's in.
echo "<img src='/path/to/" . $filename . " ' />
No need to use fopen to open the image. |
Forum: PHP May 20th, 2006 |
| Replies: 10 Views: 4,346 Re: php loading Very nice.
I never knew you could do that before. That could come in handy. |
Forum: PHP May 19th, 2006 |
| Replies: 10 Views: 4,346 Re: php loading Well when your syndicating from 23 blogs like your page says it just going to take some time.
Since PHP can't multithread it has to do each connection one at a time.
Like digital-ether said... |
Forum: PHP Apr 23rd, 2006 |
| Replies: 2 Views: 32,615 Re: Number To String Conversion PHP is not a typed langauge so there is no string or number. A varible is a varible is a varible.
It probaby has something to do with missing qoutes but post the code and this will be a much eaiser... |
Forum: Pay-Per-Click Advertising Apr 23rd, 2006 |
| Replies: 7 Views: 3,155 Re: Plural form of keywords I say probably not, although I do not know for sure.
I would figure google has the sense to make it a full word match. Since "widget" is contain within "widgets" it will most likely bring up a match. |
Forum: PHP Apr 22nd, 2006 |
| Replies: 1 Views: 3,760 |
Forum: PHP Apr 17th, 2006 |
| Replies: 8 Views: 4,494 Re: parse error difficulties Look at the line number, and then look at the prevouis command or varible. There needs to be a ; or , there.
If you post those 2 code segments we can tell you exactly what to do. |
Forum: ASP.NET Apr 16th, 2006 |
| Replies: 3 Views: 2,099 |
Forum: ASP.NET Apr 15th, 2006 |
| Replies: 3 Views: 2,099 Re: retieve image from database I did this a few months ago but here is the code I used.
private void Page_Load(object sender, System.EventArgs e)
{
dbConn = new... |
Forum: PHP Apr 15th, 2006 |
| Replies: 1 Views: 879 Re: project stuff The best way to do it would be to store the mp3's on the filesystem, and store information about the file along with it's path in the database.
But if you really want to store the mp3 files in the... |
Forum: PHP Feb 8th, 2006 |
| Replies: 3 Views: 1,532 Re: any good tutorials on image thumbnails? http://icant.co.uk/articles/phpthumbnails/
http://www.devpapers.com/article/95
http://www.evolt.org/article/Automated_Creation_of_Thumbnails_With_PHP/20/24498/
Just a few results from google there... |
Forum: PHP Feb 8th, 2006 |
| Replies: 2 Views: 878 Re: error Try removing the space between <? and 'php'.
That should fix it. |
Forum: Web Browsers Feb 7th, 2006 |
| Replies: 3 Views: 4,060 |
Forum: Linux Servers and Apache Feb 7th, 2006 |
| Replies: 3 Views: 10,965 Re: AJAX in Apache? I would highly suggest that you read what AJAX is first. Google is a powerful tool, and everyone is making AJAX tutorials now since it has taken off.
But to answer your question, you don't need to... |
Forum: Growing an Online Community Feb 5th, 2006 |
| Replies: 12 Views: 3,322 Re: Email activation In a small forum I would have it disabled.
Once you build up a base of members that posts say 50-75 posts a day I would enable it to avoid spammer, troublemakers, ect. |
Forum: PHP Feb 5th, 2006 |
| Replies: 2 Views: 1,303 |