Forum: PHP Jul 29th, 2006 |
| Replies: 3 Views: 2,094 Does the database already exsist? |
Forum: PHP Jul 1st, 2006 |
| Replies: 6 Views: 2,869 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: 5 Views: 16,071 I'm assuming that your including this file into another file, and in that other file you have already echoed something when this file is included.
Otherwise I cannot see what is wrong, as... |
Forum: PHP Jun 2nd, 2006 |
| Replies: 6 Views: 1,962 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: 28,488 If you look in the error log in will have a more usefull error message. |
Forum: PHP May 31st, 2006 |
| Replies: 2 Views: 5,850 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,760 Your query is probably failing. Try
$run = mysql_query($squery) or die(mysql_error());
And see if you get an error.
Or echo out your SQL statment and trying running it against the database. |
Forum: PHP May 30th, 2006 |
| Replies: 3 Views: 2,635 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... |
Forum: PHP May 30th, 2006 |
| Replies: 4 Views: 1,572 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.
... |
Forum: PHP May 30th, 2006 |
| Replies: 3 Views: 1,339 Once you know what you are doing it is THE resource, but if don't have a handle of PHP it's utterly useless. At least IMO. |
Forum: PHP May 29th, 2006 |
| Replies: 1 Views: 1,164 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... |
Forum: PHP May 29th, 2006 |
| Replies: 3 Views: 1,339 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,572 Your doing it the correct way. Post your code and mabey we can fix it for ya. |
Forum: PHP May 29th, 2006 |
| Replies: 3 Views: 2,635 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: 3,356 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: 4,085 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... |
Forum: PHP May 23rd, 2006 |
| Replies: 2 Views: 1,755 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... |
Forum: PHP May 20th, 2006 |
| Replies: 10 Views: 5,788 Very nice.
I never knew you could do that before. That could come in handy. |
Forum: PHP May 19th, 2006 |
| Replies: 10 Views: 5,788 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: 64,764 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... |
Forum: Pay-Per-Click Advertising Apr 23rd, 2006 |
| Replies: 7 Views: 3,864 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... |
Forum: PHP Apr 22nd, 2006 |
| Replies: 1 Views: 5,015 Try using the IP of Rig2 as the $server varible. |
Forum: PHP Apr 17th, 2006 |
| Replies: 8 Views: 5,920 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,620 Start your own thread next time...
But put the appropriate HTML tags into the database along with the text. |
Forum: ASP.NET Apr 15th, 2006 |
| Replies: 3 Views: 2,620 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: 1,094 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,970 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... |
Forum: PHP Feb 8th, 2006 |
| Replies: 2 Views: 1,129 Try removing the space between <? and 'php'.
That should fix it. |
Forum: Web Browsers Feb 7th, 2006 |
| Replies: 4 Views: 5,754 Tools>>Internet Options>>Content
Click on AutoComplete, uncheck Web Addresses. |
Forum: Linux Servers and Apache Feb 7th, 2006 |
| Replies: 3 Views: 16,793 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... |
Forum: Growing an Online Community Feb 5th, 2006 |
| Replies: 12 Views: 3,883 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,637 If you are truly intresting in learning PHP/MySQL I would suggest you go out and buy and book. I've found that it takes much less time to purchase a book than scour the internet to find an all-in-one... |