No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
26 Posted Topics
Re: 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 suggested the manual always helps. | |
Re: Tools>>Internet Options>>Content Click on AutoComplete, uncheck Web Addresses. | |
Re: If you look in the error log in will have a more usefull error message. | |
Re: 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 program because ASP & IIS will work together. | |
Re: 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 toward the end of her post you can use AJAX to load the RSS feeds … | |
| |
Re: 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. | |
Re: 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 search on google, there are plent of great articles on the net for upload … | |
Re: 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. | |
Re: 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 it. If you really want to do, search google for ways to store … | |
Re: 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. | |
Re: 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. | |
Re: Your query is probably failing. Try [php]$run = mysql_query($squery) or die(mysql_error());[/php] And see if you get an error. Or echo out your SQL statment and trying running it against the database. | |
Re: You have to set what SMTP(Outgoing) Mail server you are going to user first. In order to set that use. [php]ini_set(smtp, "mail.myserver.net"); ini_set(smtp_port, 25); //25 is the default leave it at that if you are unsure. [/php] | |
Re: Your doing it the correct way. Post your code and mabey we can fix it for ya. | |
Re: 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 plenty of tutorials out there that can teach you how to do it. | |
Re: 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, I think it's btyes/1024/1024 = MB but i'm not positive. | |
Re: 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. | |
Re: [QUOTE=AhmedHan]Can you tell me how can I convert a number to string, or string to number in PHP? (For general purpose. Not for only this problem.)[/QUOTE] PHP is not a typed langauge so there is no string or number. A varible is a varible is a varible. It probaby has … | |
Re: Try using the IP of Rig2 as the $server varible. | |
Re: I did this a few months ago but here is the code I used. [CODE] private void Page_Load(object sender, System.EventArgs e) { dbConn = new System.Data.SqlClient.SqlConnection(ConfigurationSettings.AppSettings["connString"]); string id = Request.QueryString["id"]; string sCmd = "SELECT Photo FROM t_Student_Photos WHERE Photo_Id =" + id; cmd = new System.Data.SqlClient.SqlCommand(sCmd, dbConn); dbConn.Open(); dbReader = … | |
Re: 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 database, look up articles on storing images in a database. … | |
Re: 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 configure Apache specifically for AJAX. The J in AJAX stands for JavaScript and … | |
Re: [url]http://icant.co.uk/articles/phpthumbnails/[/url] [url]http://www.devpapers.com/article/95[/url] [url]http://www.evolt.org/article/Automated_Creation_of_Thumbnails_With_PHP/20/24498/[/url] Just a few results from google there was tens more. All of them utilize the GD library, your host should have it on but if you run apache on your machine for development you will have to enable it as it's on on by default. | |
| |
Re: 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 resource for learning something. Once you get the hang of PHP the … |
The End.