Showing results 1 to 32 of 32
Search took 0.01 seconds.
Posts Made By: BlazingWolf
Forum: PHP Jul 29th, 2006
Replies: 3
Views: 1,550
Posted By BlazingWolf
Re: php/mysql communication problem

Does the database already exsist?
Forum: PHP Jul 1st, 2006
Replies: 6
Views: 2,200
Posted By BlazingWolf
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
Posted By BlazingWolf
Re: session_start(): Cannot send session cookie - headers already sent by

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...
Forum: PHP Jun 2nd, 2006
Replies: 6
Views: 1,383
Posted By BlazingWolf
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
Posted By BlazingWolf
Re: Apache2.2 and php5.1.4 installation... pls help

If you look in the error log in will have a more usefull error message.
Forum: PHP May 31st, 2006
Replies: 2
Views: 3,824
Posted By BlazingWolf
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
Posted By BlazingWolf
Re: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in

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,028
Posted By BlazingWolf
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
Posted By BlazingWolf
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
Posted By BlazingWolf
Re: Adding content to a personal page

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: 882
Posted By BlazingWolf
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
Posted By BlazingWolf
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
Posted By BlazingWolf
Re: Users management

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,028
Posted By BlazingWolf
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
Posted By BlazingWolf
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
Posted By BlazingWolf
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
Posted By BlazingWolf
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
Posted By BlazingWolf
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
Posted By BlazingWolf
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
Posted By BlazingWolf
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
Posted By BlazingWolf
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
Posted By BlazingWolf
Re: php adodb library connect remote mysql

Try using the IP of Rig2 as the $server varible.
Forum: PHP Apr 17th, 2006
Replies: 8
Views: 4,494
Posted By BlazingWolf
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
Posted By BlazingWolf
Re: retieve image from database

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,099
Posted By BlazingWolf
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
Posted By BlazingWolf
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
Posted By BlazingWolf
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
Posted By BlazingWolf
Re: error

Try removing the space between <? and 'php'.

That should fix it.
Forum: Web Browsers Feb 7th, 2006
Replies: 3
Views: 4,060
Posted By BlazingWolf
Re: IE Won't Clear History

Tools>>Internet Options>>Content

Click on AutoComplete, uncheck Web Addresses.
Forum: Linux Servers and Apache Feb 7th, 2006
Replies: 3
Views: 10,965
Posted By BlazingWolf
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
Posted By BlazingWolf
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
Posted By BlazingWolf
Re: Hi I've been told by my bf that php and mysql are very very powerful tools in the com

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...
Showing results 1 to 32 of 32

 
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 3:34 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC