Search Results

Showing results 1 to 18 of 18
Search took 0.01 seconds.
Search: Posts Made By: demo
Forum: PHP Jul 11th, 2006
Replies: 4
Views: 1,389
Posted By demo
Just make a html image tag and call your image counter script from that tag!

// add to your html output page

<img src='/my_counter.php?page=index' height='24' width='100' alt='' />

example...
Forum: Perl Jun 1st, 2006
Replies: 3
Views: 5,616
Posted By demo
A simple example... (note: more validation should be done, this is just an example...)

// a basic html form

<form action='script.pl' method='post'>
NAME: <input type='text' name='name' size'8'...
Forum: PHP Jun 1st, 2006
Replies: 3
Views: 2,634
Posted By demo
This should be done after you create the FOREIGN KEYS/INDEXES, in your table creation! If I knew what you were exactly doing I could help you more, but I don't so have a look at this link...
Forum: PHP Jun 1st, 2006
Replies: 11
Views: 28,380
Posted By demo
Can you post a copy of your httpd config file
Forum: PHP Jun 1st, 2006
Replies: 1
Views: 952
Posted By demo
Anytime you use session_start();, you have to be sure it is called before any output is sent to the browser. (echo, print) or any white space will cause PHP to flush it's self, which will cause an...
Forum: JavaScript / DHTML / AJAX Apr 26th, 2005
Replies: 20
Views: 42,043
Posted By demo
You can use JS and a cookie...

Create a directory with images named ##.jpg

Then when the page loads read or set the cookie with that image id (##) the next time the page loads read the cookie...
Forum: JavaScript / DHTML / AJAX Apr 26th, 2005
Replies: 8
Views: 21,669
Posted By demo
When you do the submit call the validation process and loop the form elements. Inside that loop create switch that contains all the form element types your form contains and then process each element...
Forum: PHP Apr 26th, 2005
Replies: 8
Views: 7,393
Posted By demo
Do you have the code?

The problem is that the object method is expecting a certain type of 'VARIANT' and the one you passed is not correct. If you have the code I can show you how to fix your...
Forum: MS SQL Apr 26th, 2005
Replies: 1
Views: 3,691
Posted By demo
Hi

How is the client to view the data if you don't have a web server to display it! You can setup a server anywhere and then just allow remote connections with limited access to your current in...
Forum: MySQL Apr 26th, 2005
Replies: 1
Views: 2,462
Posted By demo
Hi

I would add a 'group by' and add the date to the return so you know what date the return is telling you about. But without knowing the column types I am a bit lost as to how I would do the...
Forum: PHP Apr 26th, 2005
Replies: 9
Views: 5,304
Posted By demo
Hi

You should be using a content length header so the browser does not add \r?\n to the stream buffer...

Also your application-x-type is wrong...


if ( strstr ( strtolower (...
Forum: PHP Apr 26th, 2005
Replies: 11
Views: 33,818
Posted By demo
Hi

You first need the information that your school has given you to access the database...

This will include...

Database User Name
Database Password
Database Server Name
Database Server...
Forum: Perl Jan 3rd, 2005
Replies: 2
Views: 9,729
Posted By demo
Hi

You can do this with in Perl with Win32::API or with Win32::OLE using the object wscript!

Using Win32::OLE will allow you to change the background image without the need to a shut down!...
Forum: PHP Jan 3rd, 2005
Replies: 5
Views: 2,199
Posted By demo
Hi

This will really depend on how you wish to control this, and also what kind of service you will use this on!

voting control...

1. if this is used in a session type service -> ie: username...
Forum: Growing an Online Community Jan 3rd, 2005
Replies: 109
Views: 69,072
Posted By demo
Hi

Just because you pay for something, does not mean it is better! Now I am not saying that to compare vB to phpBB, because the both are not very well coded. In regards to phpBB, it is a dangerous...
Forum: PHP Jan 3rd, 2005
Replies: 1
Views: 6,636
Posted By demo
Hi

I don't know how you are doing it, but it should be like this!


<?

echo 102 ^ 49;

?>
Forum: PHP Jan 3rd, 2005
Replies: 5
Views: 2,199
Posted By demo
Hi

This is very basic math

100 [%] * [each selection total votes] / [the total votes for all selections]

example

say you have 5 website in your poll
Forum: PHP Jan 3rd, 2005
Replies: 5
Views: 4,787
Posted By demo
Hi

Turn 'OFF' (magic_quotes_gpc, magic_quotes_runtime)

You should learn to handle incoming 'FORM DATA' in your script, one should never use php.ini setting if they can control it in the script!...
Showing results 1 to 18 of 18

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC