Could I add a question regarding the cron command?
If you automatically run a php script through the cron command is timeout
taken under account or does it run through the "command line" which is
faster (and timeout is not taken under account?)
Thanks all
Mario
- Original Message -
From:
For one of my php applications I want to check user's UNIX[Linux] account. If his /
her username password pair matches with that of /etc/passwd or samba or NIS then only
the user will be allowed to access the contents. How to achieve this ?
TIA
Shekhar
___
V I I
Try the following,
INSERT INTO questions(user_id,objective,question,question_type)
VALUES('$uawr_idx', '$objective', '$question', '$question_type')
Define the rows you want to insert into.
Hope this helps!
Regards,
Ray
- Original Message -
From: "Todd A. Jacobs" <[EMAIL PROTECTED]>
To:
I would set your database up like so.
tablecompany
idcompany otherstuff
tableusernamepass
compidusernamepassword
Make the ID in the tablecompany auto_increment then test the
tableusernamepass compid
against it when the user properly logs in. Exampe of the entries
hello all,
As we know, there are a lot of php design patterns(more than 20). I want to
know that which patterns are important and necessary for ZCE exam.
PHP5 Study Guide only covers Singleton,Factory,Registry,MVC and ActiveRecord.
But i still feel that more patterns are necessary for the exam.
C
hello all,
As we know, there are a lot of php design patterns(more than 20). I want to
know that which patterns are important and necessary for ZCE exam.
PHP5 Study Guide only covers Singleton,Factory,Registry,MVC and ActiveRecord.
But i still feel that more patterns are necessary for the exam.
C
hello all,
As we know, there are a lot of php design patterns(more than 20). I want to
know that which patterns are important and necessary for ZCE exam.
PHP5 Study Guide only covers Singleton,Factory,Registry,MVC and ActiveRecord.
But i still feel that more patterns are necessary for the exam.
C
Hi,
I'm using the following code:
$fp = fopen($filename, 'r+');
$content = fread($fp,
filesize($filename));
fclose($fp);
header("Content-type:
application/msword");
header("Content-Disposition: attachment;
filename=$filename");
echo $content;
exit;
___
Hi all,
I want to be able to have an array of elements of different types. As an
example: the first element is a boolean, the second is an integer, and the
thirs is a string.
In php there is no typing, i'm just wondering if there is a way to have that,
it would be a lot better than having an a
Hi,
Do you know if there is a way to generate a formated Excel report.
I want some rows to be of different colors than the others.
Thank you
__
Get the name you've always wanted @ymail.com or @rocketmail.com! Go to
http://c
Hi Tommy,
The code in the link is traightforward. The problem is you need to install
ADOdb.
I'm wondering if there is a way to do it from scratch.
Thanks
- Original Message
From: Tommy Pham
To: Php Developer ; php-general@lists.php.net
Sent: Tue, April 20, 2010 11:37:21 AM
Su
Hi, somebody knows if it is possible to open excel content in a new window?
what i want is basically initialize the headers and instead of echo $content i
want it to open in a new window. is that possible?
- Original Message
From: Tommy Pham
To: Php Developer ; php-general
Hi,
I found a good function at php.net that sends email with atachment, but
unfortunately i still cannot figure out how to send a body of the email too.
Here is the code:
function sendEmailWithAttachement($to, $subject, $message, $file)
{
if (strtoupper(substr(PHP_OS,0,3)=='WIN')) {
$eol=
some people don't remove the "Re:" prefix when answering to the questions It
opens a new topic on the list and that's not appropriate .
Thank ya
-
Moody friends. Drama queens. Your life? Nope! - their life, your story.
Play Sims Stories at Yahoo! Games.
I wanna know that is there a way to forge someone's IP address? for example, I
have a client with an static ip address, and she is a superuser. Can i rely on
her IP address? or somebody else can forge her IP? I don't want her to enter a
username and a password..
Cheers,
Daniel
16 matches
Mail list logo