Forum: PHP Jul 11th, 2006 |
| Replies: 4 Views: 1,408 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,696 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,685 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,853 Can you post a copy of your httpd config file |
Forum: PHP Jun 1st, 2006 |
| Replies: 1 Views: 958 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,640 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,737 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,478 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,720 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,474 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,370 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: 34,288 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,790 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,208 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: 110 Views: 70,338 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,666 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,208 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,849 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!... |