gt;
> Matt, one problem I see:
>
> output=exec('/usr/bin/sudo adduser -unencrypted -batch $username hosting
> > "$firstname $lastname" $password');
>
>
> The code won't replace the variables (i.e., variables are not expanded)
> because they're contained within single quotes and will be evaluated
> literally:
> http://php.net/manual/en/language.types.string.php
>
> That said, as others have pointed out, be very, very careful with this type
> of functionality. Even just viewing the code makes me feel like I should
> smoke a cigarette to calm my nerves (and I've never been a smoker ;)
>
> Adam
>
Regards,
Gautam Bhatia
mail2gautambha...@gmail.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
person logs in
change it to true , so even if the person is using other browser, you
can check the value from dbase, if user is already logged in or not. If
that makes sense to you , good luck.
regards,
Gautam Bhatia
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e full code
and pass that to php script via ajax , Other methods are welcome too ');
}
}
}
Regards,
Gautam Bhatia
On Sat, 2010-02-06 at 07:41 -0800, Ryan S wrote:
> Hey guys,
>
> As many of you might know, i totally suck at regex..so would really
> appreciate some help here.
Hey Guys,
Have a great new year and merry Christmas.
Regards,
Gautam Bhatia
mail2gautambha...@gmail.com
#x27;username'@'%' . good luck.
Regards,
Gautam Bhatia
-Original Message-
From: Sudhakar [mailto:sudhakarar...@gmail.com]
Sent: Monday, December 28, 2009 11:14 AM
To: php-general@lists.php.net
Subject: [PHP] 404 page
hi
1.
i have a .htaccess file in my root directory o
hey guys,
Thanks a lot everyone for the links and suggestions ,
I will take a look into mod_rewrite and search engine friendly URL's To
make the site more efficient ,
Regards,
Gautam bhatia.
mail2gautambha...@gmail.com
On Sun, 2009-12-20 at 12:44 +, Ashley She
hello,
You can also try using AJAX technology to communicate with the server
side code that is your php :).
Regards,
Gautam Bhatia
Punjab,India
mail2gautambha...@gmail.com
On Fri, 2009-09-18 at 02:16 +0700, saeed ahmed wrote:
> hello guys,
>
> i'm new here in this list.
hello all,
Is there anyway in php by which i can get the total play
time of a mp3 , I found some information while doing the google thing
using some 3rd party plug ins like getID3 but without any luck, Any help
in this case would be helpful. Thank you.
Regards,
Gautam Bhatia .
8 matches
Mail list logo