Search found 27 matches

by rei27
Mon Dec 28, 2009 3:28 am
Forum: PHP - Code
Topic: Problem of checking email validity
Replies: 4
Views: 134

Re: Problem of checking email validity

For example, i received a lot of email like:
abc@abc.com
cde@cde.com

This kind of email address are invalid, so the server will treat as spam!

I need the code to check where it is valid or not!

I am trying checkdnsrr(), but seem like failed to get what i want!
by rei27
Mon Dec 28, 2009 1:25 am
Forum: PHP - Code
Topic: Problem of checking email validity
Replies: 4
Views: 134

Problem of checking email validity

Hey all, I am facing a problem for my website. My website is a ecommerce website, it will generate some auto email to user. For example, when a user successful register, a email will send to him. The problem is, some of my user give the wrong email. It causes my email function terminated by my hosti...
by rei27
Sun Dec 20, 2009 9:45 pm
Forum: PHP - Code
Topic: Can't get my 'sendmail.php' to work...
Replies: 4
Views: 448

Re: Can't get my 'sendmail.php' to work...

i have the similar problem too. My mail() cant work.   $to  = 'user1@OtherDomain.com' . ','; //Specify Multiple Recipients         $to .= 'user2@OtherDomain.com';         $subject = 'My PHP Email'; //Specify Email Subject         $message = '         <html>             <head>                 <title>...
by rei27
Wed Dec 02, 2009 1:11 am
Forum: Databases
Topic: How to sort date from past to present
Replies: 1
Views: 326

How to sort date from past to present

I wishes my data will show according to the date, but no matter how i try, it cannot be! I am using this code: SELECT * FROM customer ORDER BY date DESC The result shows as: 1 Jacky 30.11.2009 2 Willy 02.12.2009 3 Jason 01.12.2009 Actually I wishes my result show as: 1 Willy 02.12.2009 2 Jason 01.12...
by rei27
Tue Sep 08, 2009 3:06 am
Forum: HTML, CSS and other UI Design Technologies
Topic: Scrollbar within a table
Replies: 3
Views: 1612

Re: Scrollbar within a table

bala_1225 wrote:Hi

try this one...


Because your height it too high but the inner content is too low for that reason only its not displaying properly....

Thanks a lot! It is working fine now :D
by rei27
Tue Sep 08, 2009 12:44 am
Forum: HTML, CSS and other UI Design Technologies
Topic: Scrollbar within a table
Replies: 3
Views: 1612

Scrollbar within a table

I would like to have something like the following picture. That's mean we have the scrollbar in the product table, so we not need to scroll down for the whole page http://img44.imageshack.us/img44/7570/img03c.png I use the following code but seem useless   <tr>   <td align="left" valign=&...
by rei27
Tue Jul 28, 2009 8:28 pm
Forum: PHP - Code
Topic: phpmailer problem
Replies: 4
Views: 187

Re: phpmailer problem

First thing to do, set up Out Look or Evolution (or whatever mail client you use) to use the same settings as you are using for the PHP mailer and see if you can send an email manually. By the look of that error the server was not responding to a an SMTP handshake. If you can get the error codes so...
by rei27
Tue Jul 28, 2009 4:15 am
Forum: PHP - Code
Topic: phpmailer problem
Replies: 4
Views: 187

phpmailer problem

Is it anyone can help me for this? I use phpmailer to send email, but it was a problem occur. The email cannot send out and i tried to debug it. I get the following message, but i don't know how to solve. SMTP -> FROM SERVER: SMTP -> FROM SERVER: SMTP -> ERROR: EHLO not accepted from server: SMTP ->...
by rei27
Fri Jul 10, 2009 3:23 am
Forum: Databases
Topic: Import data from excel to database
Replies: 4
Views: 562

Re: Import data from excel to database

That's means i must create the same table and fields for both excel and database. And the make sure the position for excel is exactly same with my database? Yes, if you want to import it into an existing table. Of course, you can import into a new table and let Access make its own decisions about w...
by rei27
Wed Jul 08, 2009 11:17 pm
Forum: Databases
Topic: Import data from excel to database
Replies: 4
Views: 562

Re: Import data from excel to database

Is it impossible to import excel data to database's table? I know that it can be done by using MySQL command LOAD DATA INFILE 'path/file.txt' INTO TABLE your_table; , but how the data match with the table field? Is it necessary to declare it first? It is definitely possible. You have the correct co...
by rei27
Wed Jul 08, 2009 9:12 pm
Forum: Databases
Topic: Import data from excel to database
Replies: 4
Views: 562

Import data from excel to database

Is it impossible to import excel data to database's table? I know that it can be done by using MySQL command LOAD DATA INFILE 'path/file.txt' INTO TABLE your_table; , but how the data match with the table field? Is it necessary to declare it first?
by rei27
Wed Jul 08, 2009 8:33 pm
Forum: PHP - Code
Topic: How to get page url?
Replies: 6
Views: 196

Re: How to get page url?

SvanteH wrote:Sounds very odd if your production server fails to put any values into $_SERVER["REQUEST_URI"] to be honest.

Thanks a lot, i got the solution. I just put $_SERVER['QUERY_STRING']
by rei27
Wed Jul 08, 2009 4:57 am
Forum: PHP - Code
Topic: How to get page url?
Replies: 6
Views: 196

Re: How to get page url?

SvanteH wrote:What exactly are you trying to use this for?

I need capture the url and store it into database in order to record the visitor hit for this page!
by rei27
Wed Jul 08, 2009 4:40 am
Forum: PHP - Code
Topic: How to get page url?
Replies: 6
Views: 196

Re: How to get page url?

SvanteH wrote:That works fine by me when testing. REQUEST_URI returns the GET request so that should be it. Do you have any more code snippet on which page you're trying to capture it from etc.
The code works fine when i am in localhost, but when i put it into live server, it just can capture the server.
by rei27
Wed Jul 08, 2009 4:11 am
Forum: PHP - Code
Topic: How to get page url?
Replies: 6
Views: 196

How to get page url?

Hello, I need to get the page url, e.g. http://www.sekataplus.com/product_details_view.php?itemId=fca48433630c48d0d1cbe7f703990d84&scId=f070a71e47cc722619ef54a36919b3a2&cId=a2e67a7a792f77e610c17b0864fad1d7 I am using 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] , but it just c...