Search found 19 matches

by theBond
Fri Sep 05, 2008 9:47 am
Forum: Javascript
Topic: submit button not working
Replies: 1
Views: 620

submit button not working

Submit button not working in IE when i use enter key. It works when i use mouse. It works fine in firefox. this is the code i am using, <form method='post' action='mypage'> <input type='text' name='myname' value=''>   <input type='submit' name='submit' value='submit'>   </form>
by theBond
Wed Sep 03, 2008 7:54 pm
Forum: Installation and Configuration
Topic: FTP
Replies: 1
Views: 652

FTP

i am using wampserver and installed ftp server filezilla. This is the code i am using to connect, <?php   $ftpServer = "ftp://192.168.1.27"; $ftpUser = "user1"; $ftpPass = "user1";   set_time_limit(160);   $conn = @ftp_connect($ftpServer) or die("Couldn't connect t...
by theBond
Sat Aug 30, 2008 8:28 am
Forum: Javascript
Topic: ajax call
Replies: 1
Views: 311

ajax call

This code is working fine. But i wanted to know if i am doing any wrong here. I am calling a function inside another function onComplete: function (){   $('msg').innerHTML = 'i am here';   }   inside good()         function good() {     var url = 'myurl';     var pars = 'param1=' + param1;         v...
by theBond
Sun Aug 24, 2008 5:01 am
Forum: PHP - Code
Topic: mod_rewrite
Replies: 0
Views: 182

mod_rewrite

Hi, After searching google for crawler this is what i understand. A crawler extracts all links of the site untill no new links are found. It keeps the links either in the database or in a file. By comparing the links and the 'keyword' of search the search engine prints the links. For example, if the...
by theBond
Fri Aug 22, 2008 7:46 am
Forum: PHP - Code
Topic: improving coding
Replies: 1
Views: 159

improving coding

I am looking for some guideline to improve coding of file uploading i am using a single variable called $act to decide the respective action should be taken. it starts on delete $id = $_GET['id'] if($act=='delete') { //getting the existing file name through $id //unlink it //delete the filename //ch...
by theBond
Wed Aug 20, 2008 9:34 pm
Forum: Installation and Configuration
Topic: wamp
Replies: 2
Views: 1139

wamp

Can i use wamp for an intranet setup. It has 100 users.
by theBond
Sun Aug 17, 2008 8:47 pm
Forum: Installation and Configuration
Topic: FTP in PHP
Replies: 1
Views: 744

FTP in PHP

Hi,

I have installed WAMP server and its working fine. The site i am developing needs FTP to transfer huge files. Should i have to install a FTP server? Or Can i use WAMP itself? Kindly guide me.

Thanks
by theBond
Fri Aug 15, 2008 9:10 am
Forum: Databases
Topic: Designing Intranet Messaging system
Replies: 1
Views: 357

Designing Intranet Messaging system

Hi, I have to design an intranet messaging system. This is the design i have now. pvt_msgs private_message_id pvt_msg_from_id pvt_msg_to_id private_message_subject private_message pvt_msg_date Currently i am not able to messages if a person replies to the message (As it gets updated and the first me...
by theBond
Tue Aug 12, 2008 12:41 pm
Forum: PHP - Code
Topic: huge file uploading
Replies: 2
Views: 83

huge file uploading

I am not able to upload files of more than 2mb. I changed upload_max_filesize from 2M to 100M i n php.ini and restarted the server. phpinfo() shows upload_max_filesize 100M for both local value and Master value. Kindly help

Thanks in advance.
by theBond
Fri Aug 08, 2008 6:14 pm
Forum: PHP - Code
Topic: PHP4 and PHP5
Replies: 0
Views: 91

PHP4 and PHP5

Can I use the below code for portability?   function cleanData( $value ) {     $trim_value = trim($value);         if( get_magic_quotes_gpc() )     {           $trim_value = stripslashes( $trim_value );     }         if( function_exists( "mysql_real_escape_string" ) )     {           $trim...
by theBond
Mon Jul 28, 2008 8:00 pm
Forum: PHP - Code
Topic: submitting a simple form
Replies: 1
Views: 120

submitting a simple form

1. Post values from form 2. If any error is detected show the form with errors along with the submitted values 3. if no error insert into database   $action = $_POST['action']; if($action == 'submit') {   $name = $_POST['name'];   $address = $_POST['address'];     if(magic_quotes_gpc())   {         ...
by theBond
Fri Jul 25, 2008 11:26 am
Forum: Databases
Topic: PDO
Replies: 1
Views: 298

PDO

If i use PDO can i skip using head spinning security issues like, checking for magic quotes, adding slashes etc?
by theBond
Wed Jul 23, 2008 12:37 pm
Forum: Javascript
Topic: Implementing Lightbox
Replies: 11
Views: 721

Re: Implementing Lightbox

If the captions are in title attributes then you are not going to be able to keep them from showing.
Yes. what's the alternative?
by theBond
Wed Jul 23, 2008 9:38 am
Forum: PHP - Code
Topic: Intranet Search Need Advises
Replies: 0
Views: 426

Intranet Search Need Advises

Hello Friends,


I have to develop an intranet search. I need your advices and suggestions. The site contains tables:- members, products, ebooks, invoice, category, orders. In future we may add file uploading also.

Thanks
by theBond
Wed Jul 23, 2008 9:02 am
Forum: Javascript
Topic: Implementing Lightbox
Replies: 11
Views: 721

Re: Implementing Lightbox

Its OK, Atleast can u tell me how to disable the caption being shown on mouseover when i give textlinks?