I have experience with loading mysql.dll and other module which unable
to load, even the module is exist on the path.
In my problem, it was solved by put php directory (c:/php) on windows
system variables (Environment Variables), please check Instalation
FAQ(5.14) of PHP Manual.
It look like, requi
On Friday 14 April 2006 10:07 pm, you wrote:
> I don't have any further suggestions to make; it sounds like you're
> looking at all the right things. I hope you find the problem by
> stripping it down to the bare bones. Please post your findings to
> the list whether you figure it out or not.
>
T
Mohsen Pahlevanzadeh wrote:
Dear all,
I remember that i use a func that it return an array what it consist
of result of my sql query.
Please name me that.
Yours,Mohsen
Was it mysql_fetch_array()?
Which SQL was it?
Also, are you aware that even entering an incorrect function name
at php.
At 12:15 PM 4/14/2006, Geoffrey E. Quelch wrote:
even though the string does contain 9 consecutive spaces, only one is ever
printed to the screen with echo, print or printf.
At 01:19 PM 4/14/2006, Satyam wrote:
It is not PHP but HTML. In HTML any 'whitespace character', that
is space, tab or
It is not PHP but HTML. In HTML any 'whitespace character', that is space,
tab or new line, is taken as a single whitespace character. It has nothing
to do with PHP.
You can either replace them with which prints as a space but doesn't
fall into the category of 'whitespace character' and i
At 12:54 PM 4/14/2006, Bing Du wrote:
Would anybody remind me how this should be achieved?
This returns all the names of the fields.
while( ($f = odbtp_fetch_field( $qry )) ) {
echo $f->name . "\n";
}
This returns the query results:
while( ($rec = odbtp_fetch_array($qry)) ) {
f
Hi,
Would anybody remind me how this should be achieved?
This returns all the names of the fields.
while( ($f = odbtp_fetch_field( $qry )) ) {
echo $f->name . "\n";
}
This returns the query results:
while( ($rec = odbtp_fetch_array($qry)) ) {
foreach ($rec as $var) {
ech
On Friday 14 April 2006 12:15, Geoffrey E. Quelch wrote:
> Hi,
> I am running a self-compiled PHP version 4.4.2 on Apache 1.3.34 on White
> Box Enterprise Linux 3.
>
> I found a problem in my database access code (Oracle 9.2.0.4 if it matters)
> and have determined that spaces in string variables a
Hi,
I am running a self-compiled PHP version 4.4.2 on Apache 1.3.34 on White Box
Enterprise Linux 3.
I found a problem in my database access code (Oracle 9.2.0.4 if it matters)
and have determined that spaces in string variables are being compacted on
output in PHP.
This PHP extract, when run,
tedd wrote:
Jochem:
$_SESSION has another advantage - everything you stick in it is
automagically
serialized and unserialized at end/start of the request.
I didn't know that.
Thanks, now I have to figure out a way to store a $_SESSION in a cookie
and read it back without inferring with wh
Hey Tedd / Robert,
Thanks for replying.
--
Tedd:
However, I read where one can detect if a user has cookies on by
sending a cookie and then reading it back. And considering that you
can send a cookie via js, you could do that. However, that would mean
that the user had to have
[snip]
is there a function to take a second count and return it as a
formatted difference?
like a date_diff('H hours i',6133)
that uses date()'s formatting.
[/snip]
http://www.php.net/mktime
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
thanks a lot for your posting,
[cut]
Posted by Fred Mitchell on December 11 2004 2:47pm [Delete] [Edit]
Let's say you are doing a LEFT JOIN with a table that shares a column
name in common with another table, and that you are selecting for
instances where the join is missing, that is IS NUL
[snip]
> SELECT table1., *table2.*
> FROM table1 LEFT OUTER JOIN table2
> ON(table1.id = table2.id)
[/snip]
Oops, typo.
SELECT table1.*, table2.*
FROM table1 LEFT OUTER JOIN table2
ON(table1.id = table2.id)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.p
[snip]
table1
id
name
value
table2
id
x
y
i want to
id name value x y
but there is no id from table 2 that is in table2.id and i want the
resource to bu something like this:
id(from table 1) name value (empty) (empty)
> SELECT table2.*
> FROM table1 LEFT OUTER JOIN table2
> ON(table1.id
thanks for your posting, but I have:
table1
id
name
value
table2
id
x
y
i want to
id name value x y
but there is no id from table 2 that is in table2.id and i want the
resource to bu something like this:
id(from table 1) name value (empty) (empty)
Jay Blanchard wrote:
> [snip]
> $sql = "SE
On Fri, 2006-04-14 at 13:34, tedd wrote:
> Ryan:
>
> First question. Technically no, you can't detect js from php.
>
> However, I read where one can detect if a user has cookies on by
> sending a cookie and then reading it back. And considering that you
> can send a cookie via js, you could do
Jochem:
$_SESSION has another advantage - everything you stick in it is automagically
serialized and unserialized at end/start of the request.
I didn't know that.
Thanks, now I have to figure out a way to store a $_SESSION in a
cookie and read it back without inferring with what the user is
[snip]
$sql = "SELECT * FROM `table1` LEFT JOIN `table2` USING `id` WHERE ...
GROUP BY `table1`.`id`";
mysql_query($sql);
the problem is, that, when in table2 is not matching data using that id,
i lose that id from output array. but i don`t want to.. is there any
posibility to keep that id?
[/sni
Ryan:
First question. Technically no, you can't detect js from php.
However, I read where one can detect if a user has cookies on by
sending a cookie and then reading it back. And considering that you
can send a cookie via js, you could do that. However, that would mean
that the user had to h
i reload my pages with a function using a meta tag...
- Original Message -
From: "Jay Blanchard" <[EMAIL PROTECTED]>
To: "Alain Roger" <[EMAIL PROTECTED]>
Cc: "PHP General List"
Sent: Friday, April 14, 2006 9:45 AM
Subject: RE: [PHP] how to reload a PHP page via PHP code
[snip]
So
Hi,
Like the subject says; I have two questions:
1) Is it possible to detect JavaScript via php... and yes I do know that JS
is client side while PHP is server...but how else to do it?
The reason I ask is before serving an AJAX page I would like to make sure JS
is enabled, if not, serve the other
And Maybe get all that government subsidized money for bringing in jobs
to a location that lost them due to a call center closing... yeah,
that's the ticket!!
tedd wrote:
> At 9:25 AM -0400 4/14/06, Wolf wrote:
>> And they wonder why labor is so cheap in India and they keep sending
>> jobs and op
Display the different ways in which you've seen php using mysql, and we'll
see if any one of them is any more secure than another.
Most Security issues can be left to MySQL and the MySQL API.
A few pointers -
Store parameters(username/password) outside the DocuementRoot.
Put your server on local
[snip]
Sorry, but i do not find it in my PHP manual :-(
[/snip]
http://www.php.net/manual/en/reserved.variables.php
It is actually the first one mentioned on the page. :(
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
i was wondering what is the most secure way to use mysql in php. is there a
certain way it should be done or a way that is more secure than another?
iv'e seen it done many ways and was wondering if it was just preference or a if
there was a reason behind it.
if you guys could post some example
Sorry, should have posted lastnight.. Stephen Johnson helped out a lot,
it's working great now.
Thanks for the relpy though
-Original Message-
From: Joe Henry [mailto:[EMAIL PROTECTED]
Sent: Friday, April 14, 2006 11:44 AM
To: php-general@lists.php.net
Cc: Stephen Johnson; Gary E. Terr
Alain Roger wrote:
Hi,
I would like to know if it exist a method to reload a PHP page via PHP code
?
the topic behind is that i do not want to specify the PHP page to reload.
It must reload the actual page only.
for example, if use views the page : test.php and click on US flag image.
PHP shoul
At 9:25 AM -0400 4/14/06, Wolf wrote:
And they wonder why labor is so cheap in India and they keep sending
jobs and opening call centers and such over there... They read scripts
all day, you would think that they would know how to Google.
Maybe we could open a call center here for answers to
[snip]
I would like to know if it exist a method to reload a PHP page via PHP
code
?
the topic behind is that i do not want to specify the PHP page to
reload.
It must reload the actual page only.
for example, if use views the page : test.php and click on US flag
image.
PHP should reload this page
Hi,
I would like to know if it exist a method to reload a PHP page via PHP code
?
the topic behind is that i do not want to specify the PHP page to reload.
It must reload the actual page only.
for example, if use views the page : test.php and click on US flag image.
PHP should reload this page wi
On Thursday 13 April 2006 8:44 pm, Stephen Johnson wrote:
> On 4/13/06 7:40 PM, "Gary E. Terry" <[EMAIL PROTECTED]> wrote:
> > Quite possibly a stupid question, but here goes.
> >
> > I have a form that is a list of jobs. On that list is a
> > checkbox. The form field is named 'changedate'.
> >
> >
Thanks for the duplicate posts.
Perhaps read the error message? Look at line 9 of
/a/www/data/filname/garbled/radio.blog/index.php
The variable is being set incorrectly.
Regards,
Peter Hoskin
Noah wrote:
Hi there,
I just upgraded to apache2.2.0 and reinstalled php4-4.4.2_1 on a FreeBSD 4.11
Hi there,
I just upgraded to apache2.2.0 and reinstalled php4-4.4.2_1 on a FreeBSD 4.11
machine. I am trying to make sure that my PHP is properly installed and
configured.
I am seeing the following PHP Notice about 10 entries a day in my
/var/log/messages in regards to:
--- snip --
httpd: PH
Hi there,
I just upgraded to apache2.2.0 and reinstalled php4-4.4.2_1 on a FreeBSD 4.11
machine. I am trying to make sure that my PHP is properly installed and
configured.
I am seeing the following PHP Notice about 10 entries a day in my
/var/log/messages in regards to:
--- snip --
httpd: PH
Hi there,
I just upgraded to apache2.2.0 and reinstalled php4-4.4.2_1 on a FreeBSD 4.11
machine. I am trying to make sure that my PHP is properly installed and
configured.
I am seeing the following PHP Notice about 10 entries a day in my
/var/log/messages in regards to:
--- snip --
httpd: PH
> While all the data-munging in PHP is very interesting...
>
> Might I suggest that you just use MySQL's date_format() function to
> ask MySQL to give you the data you want in the first place?
>
> Some purists would claim that the database is not the place to put
> presentation logic, of course.
>
And they wonder why labor is so cheap in India and they keep sending
jobs and opening call centers and such over there... They read scripts
all day, you would think that they would know how to Google.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/uns
go away and RTFM, STFW, anything but ask another question here until you can
show
even the slightest inclination to do you're own research and that you'll bother
to response to people when then do actually give answers (like maybe a thank
you if someone
does actually help you, for instance).
th
Hi to all,
we completed one module of our project in English language.but
our client asked to do it in chinesse language also.I dont have any idea
regarding this.whether we have to download any chinesse fonts or is there any
tutorials available for this purpose.or project is in PH
40 matches
Mail list logo