| Author |
Message |
phpadam44
Replies: 5
Views: 405
|
Forum: Friendly PHP Lounge for Free PHP Help and PHP Discussion Posted: Sun Sep 07, 2008 12:20 am Subject: passing variables values using POST
you could also use curl
http://phpgfx.com/tutorials/?action=read&id=32
|
 |
phpadam44
Replies: 3
Views: 389
|
Forum: Friendly PHP Lounge for Free PHP Help and PHP Discussion Posted: Sun Sep 07, 2008 12:19 am Subject: test
Well how about you explain your problem and I can try to help. Or you can send me code some other way. Let me know,
-Adam
|
 |
phpadam44
Replies: 3
Views: 344
|
Forum: Friendly PHP Lounge for Free PHP Help and PHP Discussion Posted: Mon Jul 28, 2008 12:40 pm Subject: send sms from cell to my application
You will need to use the mail() function and generally a person's SMS address will be
phonenumber@serviceprovider.com
I think there is a list of service providers and their SMS emails somewhere ...
|
 |
phpadam44
Replies: 3
Views: 758
|
Forum: SEO - Search Engine Optimization - Internet Marketing Posted: Thu Jul 17, 2008 10:04 pm Subject: questions about SEO
1. Robots.txt file
2. Not sure what you mean
3. All pages I think
4. http://www.dnscoop.com
|
 |
phpadam44
Replies: 2
Views: 253
|
Forum: Friendly PHP Lounge for Free PHP Help and PHP Discussion Posted: Thu Jul 17, 2008 10:00 pm Subject: using string functions
<?php
$ip = ereg_replace( "[^0-9.]", "", $_SERVER["REMOTE_ADDR"] );
$break = explode( ".", $ip );
print $break[2 ...
|
 |
phpadam44
Replies: 1
Views: 234
|
Forum: Friendly PHP Lounge for Free PHP Help and PHP Discussion Posted: Thu Jul 17, 2008 9:55 pm Subject: string comparison in php
if ( eregi( $keyword, $my_file ) ) { print 'filename.html'; }
|
 |
phpadam44
Replies: 2
Views: 300
|
Forum: Friendly PHP Lounge for Free PHP Help and PHP Discussion Posted: Tue Jul 08, 2008 11:28 pm Subject: Problem in searching through a 2D array
Your full code page is a broken link. I think seeing the full code will allow me to help you better.
Note:
Why add a whole new if statement at if($rt==true)? Why don't you just put thi ...
|
 |
phpadam44
Replies: 7
Views: 306
|
Forum: Friendly PHP Lounge for Free PHP Help and PHP Discussion Posted: Thu Jun 19, 2008 11:04 pm Subject: changing session time out in php.....
ok, to keep a cookie for 8 hours on a client use this.
setcookie( "User", "Name", time( )+60*60*8 );
I will be happy to help you more if you need it.
- ...
|
 |
phpadam44
Replies: 3
Views: 403
|
Forum: Friendly PHP Lounge for Free PHP Help and PHP Discussion Posted: Thu Jun 19, 2008 10:59 pm Subject: Session problem
I don't see any redirects from med.php to client.php, are you using only these scripts or a larger one with the rest of the code?
As for your problem, one of your mysql operations is probably faili ...
|
 |
phpadam44
Replies: 3
Views: 465
|
Forum: Friendly PHP Lounge for Free PHP Help and PHP Discussion Posted: Thu Jun 19, 2008 10:43 pm Subject: problem in login script
like adeydas said, simply use this line as the first in your code
ob_start( );
-Adam
|
 |
phpadam44
Replies: 7
Views: 306
|
Forum: Friendly PHP Lounge for Free PHP Help and PHP Discussion Posted: Thu Jun 19, 2008 11:00 am Subject: changing session time out in php.....
You are able to use sessions and cookies in the same page.
As for yur continuing problems, the only thing I can tell you is switch to cookies. Post more info on what you need to do and I will ...
|
 |
phpadam44
Replies: 1
Views: 277
|
Forum: Friendly PHP Lounge for Free PHP Help and PHP Discussion Posted: Wed Jun 18, 2008 11:10 pm Subject: Mailer Error: Language string failed to load: instantiate
could you please show the code that is contained in the required files?
Also, it may be easier to create your own method of mailing instead of using PHPMailer.
Regards,
-Adam
|
 |
phpadam44
Replies: 4
Views: 588
|
Forum: Beyond PHP: Other Programming Languages Posted: Wed Jun 18, 2008 3:43 pm Subject: How to make multi language website
well, either make copies of your site, translate them into another language and put them in different directories, or have files with arrays of language phrases and use this code (or something similar ...
|
 |
phpadam44
Replies: 7
Views: 306
|
Forum: Friendly PHP Lounge for Free PHP Help and PHP Discussion Posted: Wed Jun 18, 2008 3:35 pm Subject: changing session time out in php.....
try using session.gc_probability and session.gc_divisor as well as session.gc_maxlifetime.
Also, try using the function session_cache_expire() and setting a new expiration.
-Adam
|
 |
phpadam44
Replies: 4
Views: 303
|
Forum: Friendly PHP Lounge for Free PHP Help and PHP Discussion Posted: Tue Jun 17, 2008 11:30 pm Subject: html option menu to show diff messages with php
The problem is with this line
$l ="$_POST[language]"
It should have been
$l=$_POST['language']
It should not be that, it should be this
$l = $_POST[&quo ...
|
 |
| |