Kevin Javia wrote:
I am experimenting on my site and I want to make it password protected like
www.realsolution.com.
If any one enters correct user name and password, only then they will be
able to enter into my site.
How can I do that in PHP?
Any ideas? Thanks a ton in advance.
Try this:
functio
Hi Marcus,
Marcus Boerger wrote:
having a function __toString() would interfere with the mapping ideas of
SimpleXML. However it is there internally so you simply do one of the
following:
php -r '$x=SimpleXML_load_string("blablabla"); echo
$x, "\n"; var_dump((string)$x);'
I'm aware of that. But h
Well, but I don't use multithreading? PHP is running as CLI exec, not
compiled into Apache...
That's my configure command:
./configure --enable-pcntl --with-curl --with-mysql
Or do I have to care for thread safety anyway?
Regards,
Steve
Richard Lynch wrote:
Steve wrote:
I have a program which c
Hi there
Just an update. We altered our code last night and the result is that
we have managed to bring in everything with no problem now. The slowest
part was actually pulling down the emails which are on another server.
I'd like to thank everyone for their help
I have another project I'm wor
hello
when connecting to MySQL 4.1 using PHP 5 and PEAR::DB I get this error:
DB Error: connect failed
a closer look gets this:
Can't connect to local MySQL server through socket 'localhost' (2)
the code for the connection is like this::
public static function getConnection() {
$
Hello,
I need to make a script/form that can create username and md5 password and
save the info to mysql db.
Can anyone help?
Thanks
-Will
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks for your help Jason, yes aggregating methods was what i had in mind,
but now as i explore it as a option i realise that it would work best is if
their was a way for me to pull my object out of the database variables, data,
methods and all and then instantiate them some how, with out any of t
Thank you people.
"Kevin Javia" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I am experimenting on my site and I want to make it password protected
like
> www.realsolution.com.
>
> If any one enters correct user name and password, only then they will be
> able to enter into my sit
Thanx!
I found a component for Delphi that solved my problem through SAPI.
It's called PHP4Delphi.
/ Mike
"Jason Barnett" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Does anyone have any good ideas of how to find out what extension was
loaded/enabled from what actual file.
For example the "ming" extension (thats its internal name) could come from
php_ming.dll in my extensions dir. But if the file name is say mingFlash.dll
how can i determine (in php) t
> Jason Wong wrote:
> > On Wednesday 09 February 2005 02:31, Richard Lynch wrote:
> >> Phil Ewington - 43 Plc wrote:
> >> > For some reason user_prefs will not open
> >> > for read/write even when I tested it under apache.apache and chmod'd
> >> > to 755,
> >> > perhaps because /home is owned by ro
How can I read the contents of a web page that uses basic authentication?
I want to use fopen() but dont know how to do this and also send the
username and password
--
Diana Castillo
Global Reservas, S.L.
C/Granvia 22 dcdo 4-dcha
28013 Madrid-Spain
Tel : 00-34-913604039 Ext 216
Fax : 00-34-9
dear Sirs,
I am running a script which is on the remote server. I do not want to wait
output of that script, when I run my script. Because some time, other script
takes a long time to complete job. I just want to run other script.
I used following curl option but still my script grap other script
http://uk.php.net/header should help you.
BTW, you should address your replies to the list and not to individual ppl.
Mikey
> -Original Message-
> From: Diana Castillo [mailto:[EMAIL PROTECTED]
> Sent: 17 February 2005 12:36
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] FOPEN
>
> how do
Hello Joe,
If you are careful, you can build a string of PHP and eval() it to create a new
class definition. I've done this before, but it was for the novelty more than
needed to actually use it.
I know for a fact that I have seen several projects for this on the web;
However, I tried doing a qui
can u help me to use $_SERVER['remote_addr'] to find the IP address ?
i am new to php. i also want to find what page of my site he is viewing ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello...
Someone knows how this work ?
use_soap_error_handler
I search a way to handle SoapFault exceptions from the SoapServer class...
Regards
FENDT Charles
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
FENDT Charles wrote:
Hello...
Someone knows how this work ?
use_soap_error_handler
I don't have a clue but looking at the docs you have at least 2 other ways
of
handling SOAP errors:
1. http://php.paradoxical.co.uk/manual/en/function.is-soap-fault.php
2. use a try/catch block
try {
// do s
Jochem Maas a écrit :
FENDT Charles wrote:
Hello...
Someone knows how this work ?
use_soap_error_handler
I don't have a clue but looking at the docs you have at least 2 other
ways of
handling SOAP errors:
1. http://php.paradoxical.co.uk/manual/en/function.is-soap-fault.php
is_soap_fault is only
FENDT Charles wrote:
Jochem Maas a écrit :
FENDT Charles wrote:
Hello...
Someone knows how this work ?
use_soap_error_handler
I don't have a clue but looking at the docs you have at least 2 other
ways of
handling SOAP errors:
1. http://php.paradoxical.co.uk/manual/en/function.is-soap-fault.php
On Thu, 17 Feb 2005 11:33:45 +0200, William Stokes <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I need to make a script/form that can create username and md5 password and
> save the info to mysql db.
>
You can use: http://www.php.net/md5 to make MD5 hashes from strings,
or you can just the format of
Jochem Maas a écrit :
FENDT Charles wrote:
Jochem Maas a écrit :
FENDT Charles wrote:
Hello...
Someone knows how this work ?
use_soap_error_handler
I don't have a clue but looking at the docs you have at least 2 other
ways of
handling SOAP errors:
1. http://php.paradoxical.co.uk/manual/en/funct
Hello all,
What is the best way to do this? I have two arrays:
$cars=array("ford","chevy");
$models=array("ford"=>array("ranger","escape"),"chevy"=>array("malibu","tahoe"));
then I need to traverse both arrays:
foreach ($cars as $car){
//now I need to get into the models
FENDT Charles wrote:
...
just an exmple :
http://test/";);
try {
$server->handle("");
} catch (Exception $e) {
echo "ERROR\n";
}
echo "end\n";
?>
I can't test this (no machine with the SOAP extension + lack of time +
less than stellar skills when it comes to compiling stuff :-)
I am wondering
On Thu, 2005-02-17 at 19:11 +0530, K Karthik wrote:
> > can u help me to use $_SERVER['remote_addr'] to find the IP address ?
> > i am new to php. i also want to find what page of my site he is viewing ?
>
print_r($_SERVER);
what do you see?
--
/***
* Robb
Hello,
What is the best or right way to compare users name and password given in a
web form to data in mysql database?
I saw one example where sql SELECT query was made with username and password
as WHERE and the script tested how many rows was returned from database if
there was 1 row returne
[snip]
What is the best or right way to compare users name and password given
in a
web form to data in mysql database?
I saw one example where sql SELECT query was made with username and
password
as WHERE and the script tested how many rows was returned from database
if
there was 1 row returned
Hi,
I am trying to schedule the running of some PHP scripts on my Win2K PC
at home.
On my live server I use Linux, so am fully familiar with Crontab. I am
not that familiar with running scripts using the scheduler in Win2K though.
So far what I have is:
C:\php\php.exe -q c:\path\to\php\file.php
Anybody happen to have an archive of the old [EMAIL PROTECTED]
Majordomo mailing list from 1995 or have an idea where I might be able
to get that? Or perhaps an email backup of any correspondence with me
from back then?
Please reply privately to avoid cluttering this list.
-Rasmus
--
PHP Gener
Am 2005-02-17 11:31:22, schrieb bob:
> Hi,
> On my live server I use Linux, so am fully familiar with Crontab. I am
> not that familiar with running scripts using the scheduler in Win2K though.
> Any suggestions?
wincron.exe ?
Search with GOOGLE for it...
It exist since the old WfW 3.11 days.
I dont know if it's the right place to post, but anyway...
(Sorry for the cross-post.)
I think the doc for the mail function [1] should be improved,
after reading bug 15841 [2], mail.c [3], skim some RFCs,
and after I had different problems with PHP mail()
Basicaly, the doc says to use
- \n in body
> On my live server I use Linux, so am fully familiar with Crontab. I am
> not that familiar with running scripts using the scheduler in
> Win2K though.
I use nncronlite which is a cron implementation for windoz (familiar
crot.tab file);
http://www.batchconverter.com/nnCronLITE-download-16062.sht
Forget about the $cars array. The array "key" in the $models array will
be your car list.
$cars=array("ford","chevy");
$models=array("ford"=>array("ranger","escape"),"chevy"=>array("malibu","
tahoe"));
//Loop through first level of array, getting car maker
foreach($models as $carmaker=>$models)
--- Begin Message ---
Here is the setup that I have used.
Please, adapt to your needs.
Table 'theTable' is supposed to contain columns fname, mname, lname
and ePass (encrypted password). The crypt() function produces a password
that
cannot be decrypted and really works well.
Of course, you need t
Hii,
Iam currently doing a research on OPen Source Systems.I need some help
on that.I would like to know if there is performance modelling done in
open source and it wud b nice if somebody can throw some light on the
vendor specific certifications for open source.
Please Do help me On this,
Many
Is there anyone on this list who has written fast and decent
crawlers in PHP who would be willing to share their experiences?
My first inclination would be to use an existing crawler to grab the
pages and store all the files locally (even if only temporarily). Then,
you can use PHP to do whatev
Im currently using md5() to hash strings to be used,
as an id for a cache system.
Im trying to determine if md5() would be the fastest,
*cheapest* solution.
The only native php functions that I know of are md5() and sha1().
Are there any other native php functions that hash
strings?
Thanks
--
PHP G
What is the best way to do this? I have two arrays:
$cars=array("ford","chevy");
$models=array("ford"=>array("ranger","escape"),"chevy"=>array("malibu","tahoe"));
Why do you even need the $cars array? Wouldn't this work?
foreach($models as $car => $model_array) {
foreach($model_array as $key =>
Gerard Samuel wrote:
Im currently using md5() to hash strings to be used,
as an id for a cache system.
Im trying to determine if md5() would be the fastest,
*cheapest* solution.
The only native php functions that I know of are md5() and sha1().
Are there any other native php functions that hash
str
Check out PHPdig;
http://www.phpdig.net/
Warren
> -Original Message-
> From: Jamie Alessio [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 17, 2005 9:22 AM
> To: John Cage
> Cc: php-general@lists.php.net
> Subject: [PHP] Re: Crawlers (was parsing large files - PHP or Perl)
>
>
> >
Gerard Samuel wrote:
> Im currently using md5() to hash strings to be used,
> as an id for a cache system.
> Im trying to determine if md5() would be the fastest,
> *cheapest* solution.
> The only native php functions that I know of are md5() and sha1().
> Are there any other native php functions t
Christophe Chisogne wrote:
> - Under *nix, PHP mail uses \n to send subject, to, etc [3]
>to the sendmail/postfix/qmail binary (ok, *nix eol is \n),
>then the MTA uses translate this to SMTP with \r\n
>(adding \r to standalone \n if needed) -- ok, RFC want \r\n
I use sendmail.
I use \
bob wrote:
> C:\php\php.exe -q c:\path\to\php\file.php
>
> But this doesn't seem to do anything..the task manager in the windows
> scheduler just keeps saying that the task has not been run.
>
> Any suggestions?
The Task Scheduler uses the 'at' command under the hood, same as cron...
Perhaps if y
> $headers = "From: [EMAIL PROTECTED]: [EMAIL PROTECTED]";
Hey, what's that bullcrap \r\ in there after the Cc: line?!
You can't do that!
Use \r\n there or it will NEVER work right.
You're not following the spec.
:-)
--
Like Music?
http://l-i-e.com/artists.htm
--
PHP General Mailing List
William Stokes wrote:
> What is the best or right way to compare users name and password given in
> a
> web form to data in mysql database?
It's kind of a Good Idea to store the password encrypted using MySQL's
md5() function or other similar functions.
In the old days, you'd use their password()
blackwater dev wrote:
> What is the best way to do this? I have two arrays:
>
> $cars=array("ford","chevy");
> $models=array("ford"=>array("ranger","escape"),"chevy"=>array("malibu","tahoe"));
>
> then I need to traverse both arrays:
>
>foreach ($cars as $car){
> //now I need
Diana Castillo wrote:
>How can I read the contents of a web page that uses basic
> authentication?
> I want to use fopen() but dont know how to do this and also send the
> username and password
You may be able to do embed the username/password in your URL:
$file = fopen("http://username:[
Zac Barton wrote:
> Does anyone have any good ideas of how to find out what extension was
> loaded/enabled from what actual file.
>
> For example the "ming" extension (thats its internal name) could come from
> php_ming.dll in my extensions dir. But if the file name is say
> mingFlash.dll how can i
[EMAIL PROTECTED] wrote:
> when connecting to MySQL 4.1 using PHP 5 and PEAR::DB I get this error:
>
> DB Error: connect failed
>
> a closer look gets this:
>
> Can't connect to local MySQL server through socket 'localhost' (2)
>
> the code for the connection is like this::
>
>
> public st
Steve wrote:
>
> Well, but I don't use multithreading? PHP is running as CLI exec, not
> compiled into Apache...
>
> That's my configure command:
> ./configure --enable-pcntl --with-curl --with-mysql
>
> Or do I have to care for thread safety anyway?
For all I know (not much) --enable-pcntl may i
Richard Lynch wrote:
Gerard Samuel wrote:
Im currently using md5() to hash strings to be used,
as an id for a cache system.
Im trying to determine if md5() would be the fastest,
*cheapest* solution.
The only native php functions that I know of are md5() and sha1().
Are there any other native php
joe Lovick wrote:
> Thanks for your help Jason, yes aggregating methods was what i had in mind,
> but now as i explore it as a option i realise that it would work best is if
> their was a way for me to pull my object out of the database variables,
> data,
This is certainly do-able. You serialize(
Zac Barton wrote:
> Hi,
>
> Does anyone have any good ideas of how to find out what extension was
> loaded/enabled from what actual file.
>
> For example the "ming" extension (thats its internal name) could come from
> php_ming.dll in my extensions dir. But if the file name is say mingFlash.dll
NathanielGuy#21 wrote:
> function displaygallery($user = FALSE, $lastprinted = 0, $move =
> 'forward', $limit = 10) {//Line 52
> Error thrown
> --
> Parse error: parse error, unexpected T_STRING in
> /home/blacknut/public_html/picserv/includes/gallery.class on line 52
You probably have a missing
[EMAIL PROTECTED] wrote:
> On 16 Feb 2005 Richard Lynch wrote:
>
>> Use the exact same session stuff you have now and just dump the
>> serialized data into SQL using the 5 functions for session handling.
>
> Oh, OK, that's what you meant about the 5 functions. I am not sure of
> the advantage to t
Hi There,
I have an app which is installed across a dozen odd organisations, and one
this week which is running on an OS X Xserve machine.
Intermittently this week the PHP app has been seeing the wrong time.
Shifting 12hrs at a time. The IT administrator who runs the box says that
it's all okay,
Hi everybody:
Does it exists someone library I can print html files to pdf without it loss
information about my property css classes(background,color,width...)?
With GPL library HTML_To_PDF3.3 it isn't possible...
If the library is GPL much better.
Thank you for all...
--
--
Hello. I've developed a script to use in shell to resize several images,
but, when i try to run it, i keep receiving this error:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 2048 bytes)
how can i solve it ?
PHP: 5.0.3
php.ini settings:
max_execution_time = 300
The 12 hours seems suspicious to me since it's the difference between
AM and PM.
My other guess would be that it's grabbing Greenwich time, but it
doesn't look like your offset from GMT is twelve hours.
On Feb 17, 2005, at 4:12 PM, Rowan Hick wrote:
Hi There,
I have an app which is installed ac
Bruno Santos wrote:
Hello. I've developed a script to use in shell to resize several images,
but, when i try to run it, i keep receiving this error:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 2048 bytes)
how can i solve it ?
PHP: 5.0.3
php.ini settings:
max_e
Guys/Gals
In a long debate with a friend, he tried to convince
my that ASP.Net is the language to go for. Me, I don't
like MS product. I really could not convince him that
PHP is better than ASP.Net. Can you guys/gals help me
to convince this guy that PHP is the language to go
for.
Thank you
==
Guys/Gals
In a long debate with a friend, he tried to convince
my that ASP.Net is the language to go for. Me, I don't
like MS product. I really could not convince him that
PHP is better than ASP.Net. Can you guys/gals help me
to convince this guy that PHP is the language to go
for.
Thank you
==
On Thu, 17 Feb 2005 13:15:08 -0800 (PST), OOzy Pal <[EMAIL PROTECTED]> wrote:
> In a long debate with a friend, he tried to convince
> my that ASP.Net is the language to go for. Me, I don't
> like MS product. I really could not convince him that
> PHP is better than ASP.Net. Can you guys/gals help
I find it humorous that these types of debates keep coming back up -- no
matter what the topic, the IT world can not seem to agree on anything.
OS wars - Browser wars - coding languages.
It all gets very tiring. Bottom line - go with what you like and with what
can get the job done. Myself pers
On Thu, 17 Feb 2005 13:41:03 -0800, Stephen Johnson
<[EMAIL PROTECTED]> wrote:
> I find it humorous that these types of debates keep coming back up -- no
> matter what the topic, the IT world can not seem to agree on anything.
>
http://en.wikipedia.org/wiki/Internet_troll
It happens in comp.lang.
Hey has anyone had an error like this one? and have a solution
---
Warning: Unexpected character in input: '' (ASCII=1) state=1 in
**/_eid_page_functions.php on line
173
it appears to be very random... could be my PHP code... but t
It could be flicking between GMT and local time, local time is 13 hrs
difference.
There's nothing on the server that would be changing an environment variable
for the PHP app, so I'm pretty much ruling out interference from that. I
still keep coming back to the server clock must be wrong but the
On Thu, 17 Feb 2005 17:04:06 -0500, Joe Harman <[EMAIL PROTECTED]> wrote:
> Hey has anyone had an error like this one? and have a solution
>
> ---
> Warning: Unexpected character in input: '' (ASCII=1) state=1 in
> **/_eid_page_functions.php on line
--- OOzy Pal <[EMAIL PROTECTED]> wrote:
> In a long debate with a friend, he tried to convince
> my that ASP.Net is the language to go for. Me, I don't
> like MS product. I really could not convince him that
> PHP is better than ASP.Net. Can you guys/gals help me
> to convince this guy that PHP is
Gerard Samuel wrote:
...
>>> Im trying to determine if md5() would be the fastest,
>>> *cheapest* solution.
...
> What Im looking for is something where the generated hashes can
> be reproduced.
> For example, md5('foo') today, will be equal to md5('foo') tomorrow.
> Thanks
AFAIK crc32() is the fa
Rowan Hick wrote:
...
>
> Has anyone out there seen weird problems like this before ?
>
> Many Thanks,
> Rowan
The other suggestions are good. If they don't pan out, check to see if
you use the function strtotime(). It has been buggy in a few versions
of PHP and may not be acting properly in
Joe Harman wrote:
> Hey has anyone had an error like this one? and have a solution
>
> ---
> Warning: Unexpected character in input: '' (ASCII=1) state=1 in
> **/_eid_page_functions.php on line
> 173
>
>
> it appears to be very rando
Bruno Santos wrote:
> Hello. I've developed a script to use in shell to resize several images,
> but, when i try to run it, i keep receiving this error:
>
> Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
> allocate 2048 bytes)
>
> how can i solve it ?
If you actually NEED mo
[NB Got trigger-happy on the delete again. Sorry.]
> convert HTML to PDF with CSS intact
There's a 'webthumb' application from the GD guys that would, in theory,
let you snatch the way a URL looks to your web-server's X + Mozilla setup,
and then you'd have that as a JPEG, which you could then cr
I am developing an application that will require a set of formulas to
calculate measurements. We take information from measurers and based
on that with some formulas calculate how much material is needed. We
have a Product Series and each Series has 3-4 Product Lines. . The
formula to calculate the
Juan Antonio Garrido wrote:
> Hi everybody:
>
> Does it exists someone library I can print html files to pdf without it loss
> information about my property css classes(background,color,width...)?
>
> With GPL library HTML_To_PDF3.3 it isn't possible...
>
> If the library is GPL much better.
>
Hi, I've been trying to get these 2 compiled together for a while, and
have had no luck.
WHere my problem lies, I think, is that I'm not sure what directory
should be specified on the --with-mysql part
./configure --with-apxs2=/usr/local/apache/bin/apxs
--with-mysql=/usr/include/mysql/ --with-
Thanks to you all, the problem ended up being me leaving off a sigle
quote in a function declared before. 8_ I didnt expect that to be
the error because I was thinking it would flag it much sooner in my
script than it did. Thanks for the help.
--nathan
On Thu, 17 Feb 2005 11:48:12 -0800 (PST),
Mike Smith wrote:
...
>
> TopMeasurment+1.6875+OutOfPlumbWall
>
...
> static). Other formulas have 10 and 12 "variables" in them. How have
> others gone about storing formulas that require such modifications?
>
> TIA,
> Mike Smith
If I was programming this I would probably create 16 functions f
Chris wrote:
Hi, I've been trying to get these 2 compiled together for a while, and
have had no luck.
WHere my problem lies, I think, is that I'm not sure what directory
should be specified on the --with-mysql part
./configure --with-apxs2=/usr/local/apache/bin/apxs
--with-mysql=/usr/include/m
Hello,
im working on an article system and looking to avoid running three queries.
example, i have this query:
SELECT id,title FROM articles WHERE id=$_GET[id]
now say $_GET[id] = 5
I would like to get the previous id 4 and the next id 6 (if there is one)
so i can do something like:
<< Previous
> Hi, I've been trying to get these 2 compiled together for a while, and
> have had no luck.
>
> WHere my problem lies, I think, is that I'm not sure what directory
> should be specified on the --with-mysql part
>
> ./configure --with-apxs2=/usr/local/apache/bin/apxs
> --with-mysql=/usr/include/
Sebastian wrote:
Hello,
im working on an article system and looking to avoid running three queries.
example, i have this query:
SELECT id,title FROM articles WHERE id=$_GET[id]
now say $_GET[id] = 5
I would like to get the previous id 4 and the next id 6 (if there is one)
so i can do something like
Now I am assuming that 4 and 6 would not always be the next article ID -
otherwise you could just increment your id accordingly.
If you wanted to do that without running multiple queries, this is who I
might do it, rather sloppy, but I think it would work.
$idGet= $_GET['id'];
$sql = "select id,
I have an install of PHP 5 on Windows 2003 Server with Apache 2 and when I
reference mysqli in my php code, I get an error that the mysqli class is not
found.
I looked at the php.ini file and I added a line for php_mysqli in the
extensions section and I edited the extension_dir directive to poi
On Thu, 2005-02-17 at 18:24, Sebastian wrote:
> Hello,
> im working on an article system and looking to avoid running three queries.
> example, i have this query:
>
> SELECT id,title FROM articles WHERE id=$_GET[id]
>
> now say $_GET[id] = 5
>
> I would like to get the previous id 4 and the next
Jason Barnett wrote:
Gerard Samuel wrote:
...
Im trying to determine if md5() would be the fastest,
*cheapest* solution.
...
What Im looking for is something where the generated hashes can
be reproduced.
For example, md5('foo') today, will be equal to md5('foo') tomorrow.
Thanks
While back I read in an article that placing UN and PASSwords in a PHP was
not secure. couple of open source programs that I have seen they have for
example
$database = ;
$username = ;
$password = ;
It makes me wonder how secure in reallity it is to place your UN and
Passwords on a
On 17 Feb 2005 19:28:18 -0600, Bret Hughes <[EMAIL PROTECTED]> wrote:
> On Thu, 2005-02-17 at 18:24, Sebastian wrote:
> > Hello,
> > im working on an article system and looking to avoid running three queries.
> > example, i have this query:
> >
> > SELECT id,title FROM articles WHERE id=$_GET[id]
>
On Thu, 2005-02-17 at 20:47 -0600, .hG wrote:
> While back I read in an article that placing UN and PASSwords in a PHP was
> not secure. couple of open source programs that I have seen they have for
> example
>
> $database = ;
> $username = ;
> $password = ;
>
> It makes me wond
--- ".hG" <[EMAIL PROTECTED]> wrote:
> While back I read in an article that placing UN and PASSwords in a PHP
> was not secure.
Well, that's very subjective. In a shared hosting environment, it
certainly does pose a risk. If you place it within document root (don't do
that), it poses a signifi
On Thu, 2005-02-17 at 22:02, Jason Petersen wrote:
> On 17 Feb 2005 19:28:18 -0600, Bret Hughes <[EMAIL PROTECTED]> wrote:
> > On Thu, 2005-02-17 at 18:24, Sebastian wrote:
> > > Hello,
> > > im working on an article system and looking to avoid running three
> > > queries.
> > > example, i have th
How can I determine which users have signed in and are still on-line during
the first minute after they have signed in? My sql statement currently
reads:
SELECT * FROM tblusers WHERE usignedin = "yes" AND utimesignedin = (time() -
60)
Hoe does one indicate seconds in a SQL statement? Can I use
i have got string as "/home/karthik/welcome.php/view.php"
i just need "view.php" how shall i remove rest of the string.
please do help me.i am new to php.
-thanks,
karthik
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
i am so surprised for the immediate reply.thank you so much.
i'll be thank ful again if you could help me finding the current date
and time using php.
thanks,
karthik
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi.
Are there some code-examples how to build a forum
with php and xml?
Tnx
Stefan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
On my page, all my content is updated via a textarea online.
If I include PHP code embeded with my HTML in the textarea, the database
converts it to plain text, instead of code that can be used. It doesn't
convert < to < though, it's still in the database as <, just when
it's read out aga
On Fri, 2005-02-18 at 00:45, Tim Burgan wrote:
> Hello,
>
>
> On my page, all my content is updated via a textarea online.
>
> If I include PHP code embeded with my HTML in the textarea, the database
> converts it to plain text, instead of code that can be used. It doesn't
> convert < to < tho
dan wrote:
Chris wrote:
Hi, I've been trying to get these 2 compiled together for a while,
and have had no luck.
WHere my problem lies, I think, is that I'm not sure what directory
should be specified on the --with-mysql part
./configure --with-apxs2=/usr/local/apache/bin/apxs
--with-mysql=/us
Hans Zaunere wrote:
Hi, I've been trying to get these 2 compiled together for a while, and
have had no luck.
WHere my problem lies, I think, is that I'm not sure what directory
should be specified on the --with-mysql part
./configure --with-apxs2=/usr/local/apache/bin/apxs
--with-mysql=/usr/include
1 - 100 of 102 matches
Mail list logo