No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
17 Posted Topics
Re: 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 and get the id ( ##) and then switch the image 'image_swap' … | |
Re: 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 script[B][SIZE=5].[/SIZE][/B] From version 1 to the yet to be released … | |
Re: 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 problem! demo | |
Re: 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 [URL="http://dev.mysql.com/doc/refman/5.0/en/innodb-foreign-key-constraints.html"]link[/URL]! me! | |
Re: Can you post a copy of your httpd config file | |
Re: Just make a html image tag and call your image counter script from that tag! // add to your html output page [PHP]<img src='/my_counter.php?page=index' height='24' width='100' alt='' />[/PHP] example counter file content file name = [B]index[/B] [CODE]0000000000[/CODE] // my_counter.php [PHP]<script language='php'> /* path to counter files */ $path = './counters/'; … | |
Re: 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 Port (#) it is listening on Database Name you have permission to access Database tables you have permissions to access One … | |
Re: A simple example... (note: more validation should be done, this is just an example...) // a basic html form [CODE]<form action='script.pl' method='post'> NAME: <input type='text' name='name' size'8' maxlength='8' /> <br /> <input type='submit' name='button' value='Folder Name' /> </form>[/CODE] // the perl script (script.pl) [CODE] #! /usr/lib/perl use CGI; use strict; … | |
Re: 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 error if your trying to use session_start(); after the flush. You have (2) … | |
Re: 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 based on it's type! example... [code] <script> <!-- // function good_add(eiv) { var teste = false; … | |
Re: 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... [code] if ( strstr ( strtolower ( $_SERVER['HTTP_USER_AGENT'] ), 'msie 5.5' ) ) { $att = ''; } else { $att = ' attachment;'; } … | |
Re: 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 house database. What's the point of mirroring a database that already exists? … | |
Re: 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 grouping / ordering! What I mean is … | |
Re: 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! Win32::API will also allow for this, but unless you import 'Kernel32.dll' into your API, you will … | |
Re: 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 site 1 -> total votes = 10 site 2 -> total votes = 6 site 3 -> total votes = 44 … | |
Re: Hi I don't know how you are doing it, but it should be like this! [php] <? echo 102 ^ 49; ?> [/php] John | |
Re: 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! If your own shared hosting, and are not allowed access to the php.ini, you can turn this off via 'htaccess' … |
The End.