Search found 19 matches
- Mon Jan 28, 2008 1:10 pm
- Forum: Programming
- Topic: My universal DB PHP Connection and Query classes
- Replies: 2
- Views: 5134
My universal DB PHP Connection and Query classes
<r> <E>:)</E> <br/> <br/> If you would like <B><s>[b]</s>a ZIP download of my DB Connect and Query Execute<e>[/b]</e></B><br/> just tell me so, and I upload or give a download link, <br/> <COLOR color="#006060"><s>[color=#006060]</s><B><s>[b]</s><B><s>[b]</s>for free open source<e>[/b]</e></B><e>[/b...
- Mon Jan 28, 2008 1:06 pm
- Forum: Programming
- Topic: My universal DB PHP Connection and Query classes
- Replies: 2
- Views: 5134
My universal DB PHP Connection and Query classes
<r> <E>:)</E> <br/> <br/> This is the basic setup of my Connector Class<br/> where specific driver is loaded:<CODE><s>[code]</s><?php class db { // Constructor not used private function __construct(){ } // Connect database driver $dbtype to one database $dbname public static funct...
- Mon Jan 28, 2008 1:04 pm
- Forum: Programming
- Topic: My universal DB PHP Connection and Query classes
- Replies: 2
- Views: 5134
My universal DB PHP Connection and Query classes
<r> My db connector class supports Most common databases:<br/> MySQL, MySQLi, SQLite, MsSQL, PostgreSQL, Oracle ...<br/> As can be seen from alternatives in my connector class:<QUOTE><s>[quote]</s> case 'mysql':<br/> case 'mysqli':<br/> case 'sqlite':<br/> case 'mssql': <br/> case 'pgsql':<br...
- Sun Jun 12, 2005 7:09 pm
- Forum: Computer Hardware and Software
- Topic: ContactForm, Clean up text submitted
- Replies: 12
- Views: 8633
ContactForm, Clean up text submitted
<r> <E>;)</E> <br/> Very good article on <B><s>[b]</s>magic quote problem<e>[/b]</e></B><br/> <URL url="http://www.webmasterstop.com/63.html"><s>[url=http://www.webmasterstop.com/63.html]</s>Magic Quotes and Add Slashes in PHP<e>[/url]</e></URL><br/> Made me turn<br/> magic_quotes_gpc = Off<br/> in ...
- Sun Jun 12, 2005 1:28 pm
- Forum: Computer Hardware and Software
- Topic: hi iam a member could i plz have gmail
- Replies: 13
- Views: 2433
hi iam a member could i plz have gmail
<r> What is this fuzz about Gmail??<br/> What is so good compared to other Email services?<br/> <br/> <E>:(</E> <br/> <br/> <COLOR color="#888888"><s>[color=#888888]</s><SIZE size="85"><s>[size=85]</s>Archived topic from Iceteks, old topic ID:3398, old post ID:27410<e>[/size]</e></SIZE><e>[/color]</...
- Sun Jun 12, 2005 1:01 pm
- Forum: Computer Hardware and Software
- Topic: ContactForm, Clean up text submitted
- Replies: 12
- Views: 8633
ContactForm, Clean up text submitted
Okay,
I will do that.
Thanks.
Archived topic from Iceteks, old topic ID:3395, old post ID:27409
I will do that.
Thanks.
Archived topic from Iceteks, old topic ID:3395, old post ID:27409
- Sun Jun 12, 2005 6:02 am
- Forum: Computer Hardware and Software
- Topic: ContactForm, Clean up text submitted
- Replies: 12
- Views: 8633
ContactForm, Clean up text submitted
<r> Yes,<br/> That is of course true.<br/> Sometimes it is not necessary and we can keep it very simple.<br/> <br/> But we want to write code, that would work generally.<br/> So called <B><s>[b]</s>good practice<e>[/b]</e></B>.<br/> <br/> Suppose I write this contact form, first as a single module. ...
- Sat Jun 11, 2005 5:34 pm
- Forum: Computer Hardware and Software
- Topic: ContactForm, Clean up text submitted
- Replies: 12
- Views: 8633
ContactForm, Clean up text submitted
<r> .<br/> <B><s>[b]</s><U><s>[u]</s>Did some magic quotes, stripslashes, addslashes research.<e>[/u]</e></U><e>[/b]</e></B><br/> This first code was found in <B><s>[b]</s>includes/common.php<e>[/b]</e></B> of an application.<br/> Will always be run in very beginning of most any page.<CODE><s>[code]...
- Sat Jun 11, 2005 12:22 pm
- Forum: Computer Hardware and Software
- Topic: ContactForm, Clean up text submitted
- Replies: 12
- Views: 8633
ContactForm, Clean up text submitted
<r> Yes, that seems like the way to do it.<br/> My private apache server has magic quotes on.<br/> But if I want to share this script and be sure it work alright, it should have stripslashes.<br/> <B><s>[b]</s>This script I have rewritten, first thing does stripslashes.<e>[/b]</e></B> <CODE><s>[code...
- Sat Jun 11, 2005 6:31 am
- Forum: Computer Hardware and Software
- Topic: ContactForm, Clean up text submitted
- Replies: 12
- Views: 8633
ContactForm, Clean up text submitted
<r> I managed to rewrite that guestbook script into a<B><s>[b]</s> ContactMe script<e>[/b]</e></B>.<br/> Saves submitted contact messages in a plain textfile.<br/> index.php checks out IP-number.<br/> If it is my (127.0.0.1 in this case) redirects to <B><s>[b]</s>showmsg.php<e>[/b]</e></B>, so I can...
- Sat Jun 11, 2005 1:55 am
- Forum: Computer Hardware and Software
- Topic: ContactForm, Clean up text submitted
- Replies: 12
- Views: 8633
ContactForm, Clean up text submitted
<r> <CODE><s>[code]</s>// if POST submitted =================== $comments= stripslashes("$_POST[comments]"); $comments= htmlspecialchars($comments); if(empty($comments)) problem("Please enter comments!"); addEntry ( $comments ); //====================================== function addEntry ( $comments ...
- Sat Jun 11, 2005 12:35 am
- Forum: Computer Hardware and Software
- Topic: ContactForm, Clean up text submitted
- Replies: 12
- Views: 8633
ContactForm, Clean up text submitted
<r> addslashes() - yes I have seen that used frequently in form processing<br/> <br/> I will just save (append) to a plain file messages.txt<br/> not to a Database<br/> <br/> I will do a search for examples on net, with Google<br/> there are plenty 'simple php contact form' versions out there<br/> m...
- Fri Jun 10, 2005 10:30 pm
- Forum: Computer Hardware and Software
- Topic: ContactForm, Clean up text submitted
- Replies: 12
- Views: 8633
ContactForm, Clean up text submitted
<r> .<br/> <B><s>[b]</s><U><s>[u]</s>ContactForm, How to Clean up text submitted?<e>[/u]</e></U><e>[/b]</e></B><br/> Will write me a ContactForm.<br/> The form part is no problem, and what to do with submitted message.<br/> I will save message to a plain text file: 'contactmsg.txt'<br/> <br/> It is ...
- Fri Jun 10, 2005 8:17 am
- Forum: Computer Hardware and Software
- Topic: How did I end up here? Gmail
- Replies: 8
- Views: 960
How did I end up here? Gmail
<r> <QUOTE><s>[quote]</s> I googled for an access invite to Gmail and found a link to a portion of this forum/site and decided to signup.<br/> ... if anyone has a spare Gmail invite I would appreciate being able to give it a try.<br/> contact: <EMAIL email="millsml@hotmail.com">millsml@hotmail.com</...
- Thu Jun 09, 2005 10:36 pm
- Forum: General Technology
- Topic: Php how-to for starters
- Replies: 28
- Views: 8074
Php how-to for starters
<r> Yes, it is nice with scripts that does note produce notices.<br/> isset is a good way to avoid this,<br/> if you do not want to add a lot of code that sets 'empty' values for variables<br/> <br/> Another way is to TURN OFF reporting of NOTICE<br/> you add this, at top (beginning) of your php pag...
- Thu Jun 09, 2005 9:48 pm
- Forum: General Discussion
- Topic: WATCHES/WARNINGS IN EFFECT FOR NORTHERN ONTARIO
- Replies: 19
- Views: 2411
WATCHES/WARNINGS IN EFFECT FOR NORTHERN ONTARIO
<r> We dont have tornados and things like that in Sweden.<br/> Very strong storms happens very seldom.<br/> <br/> But we had one in south of sweden 2004.<br/> Was the worst since many years.<br/> Took a lot of forrest trees down and caused electric power failure on large scale.<br/> <br/> Still Swed...
- Thu Jun 09, 2005 12:01 pm
- Forum: Computer Hardware and Software
- Topic: Database Table structure for a Forum
- Replies: 5
- Views: 11230
Database Table structure for a Forum
<r> <E>:)</E><br/> <br/> What a nice looking style in beta Squirrel Bulletin Board System!<br/> I like it. I downloaded the beta.<br/> I even could register an account in this support/demo forum.<br/> <br/> <URL url="http://squirrelbbs.iceteks.com/forums/index.php"><s>[url=http://squirrelbbs.iceteks...
- Thu Jun 09, 2005 11:46 am
- Forum: Computer Hardware and Software
- Topic: Database Table structure for a Forum
- Replies: 5
- Views: 11230
Database Table structure for a Forum
<r> <QUOTE><s>[quote]</s> poisonous_flame:<br/> Are you trying to make the forum database from scratch?<br/> If yes your brave lol.<e>[/quote]</e></QUOTE> Should make me belong to them brave ....<br/> Actually my mini database class is working quite alright (bugs hunting aside).<br/> I have done som...
- Thu Jun 09, 2005 9:47 am
- Forum: Computer Hardware and Software
- Topic: Database Table structure for a Forum
- Replies: 5
- Views: 11230
Database Table structure for a Forum
<r> .<br/> <B><s>[b]</s><U><s>[u]</s>Database Table structure for a Forum<e>[/u]</e></U><e>[/b]</e></B><br/> I am in process to create a <B><s>[b]</s>PHP mini database class<e>[/b]</e></B>. A general php add-on for flat file data storage.<br/> To test my new mini database class I will now <B><s>[b]<...