I seem to have a php-mysql problem on my new Sun Qube3 (RH Linux).
php works fine, mysql works fine, apache works fine, only the combination of
the three seems troublesome.
php does not recognize commands like mysql_connect()
when trying to start phpMyAdmin I get: "cannot load MySQL extension"
In
Okay, IC thank's
:)
Scott Houseman writes:
> This is very simple
>
> To access variables from GET form, which you would use
> request.querystring( ) for in ASP,
> use the $_GET array in PHP, e.g. $var = $_GET{'var'}
> To access POST form values, which you would use request.form( ) for
I have just double checked my facts and in both Java and C++ you cannot
access members of an ordinary class without first instantiating the class.
In both cases the only way you can do so is if that class contains a member
specifically declared as being special ie a class member as opposed to an
i
"Rusty Small" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have written a script in which the main purpose is to download html
pages
> from multiple web servers. I'm using the fopen() function to download
these
> pages. I would like to be able to downloa
I think you mean ++$hid, otherwise the value is inserted before it is
incremented,
and why not change to $_GET["hid"] for future compatibility and just to make
sure.
Are there any scoping issues we don't know about, e.g. is this snippet
within a function?
Tim Ward
www.chessish.com
> -Origina
Hello,
PN>src="Gif/nextque.gif"
PN> border="0">
i have written code such that initially it will display the value
correspond to the value 1..after every click it will increment the value
2,3...so on..but now it is displaying the value 1 and for after each click
again it is displaying 1
This is very simple
To access variables from GET form, which you would use request.querystring( ) for in
ASP,
use the $_GET array in PHP, e.g. $var = $_GET{'var'}
To access POST form values, which you would use request.form( ) for in ASP, use the
$_POST
array in PHP e.g. $var = $_POST{'var'}.
It depends on the version of PHP, in older versions you just use the
variable name ie in your example just use $var to access it's contents. In
new versions, with register globals turned off use $_GET['var'] to access it
ie:
Print $_GET['var']
Will print numberx
Thanks
Mark
-Original Mes
I am newbie in php
I have var $query_string in my address page.
I want get value of query string.
For example I give string on my query string like
www.mypages.com?var=numberx
I just want get a value of var or "numberx"
I usually do this var on asp
request.querystring("var") , so I'll get the val
Do you think it is possible to export email addresses from Outook Express
with PHP.
I looking for a script using COM but i only found exemples for MSOutlook.
What i want to do is an address book for each members of my site
(www.universemail.net a directory of email addresses) : if they have
Outlo
Why don't you just wright your own little debug thing?
foreach ($TickersCurrent as $Ticker=>$Value)
{
print "$Ticker - $Value\n";
}
::Lewis
"Christopher J. Crane" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am having problems with arrays. I
Here's a simplier version...and I'm still having a problem with it. It's
driving me insane!!! :)
class MySQL
{
function SET ( )
{
$this->MYVAR = "Hello World!";
}
function RETREIVE ( )
{
print $this->MYVAR;
}
}
$helpme = new MySQL;
$helpme->SET;
$helpme->RETREIVE; /* Prints NOTHIN
Throw out everything untill you get second empty line
Phil Powell wrote:
>If you go to http://valsignalandet.com/feedback.php you can get a clearer indication
>of what I am trying to get rid of. Following is my function using to produce the
>stuff up there, which I don't want, instead, I eith
The server never sends you somethink you don't request. Simply get the
page and there will be no images. If you would want to do the oposite
you would have much more trouble.
Rusty Small wrote:
>I have written a script in which the main purpose is to download html pages
>from multiple web serv
I thought someone might mention that, but that is actually correct.
The problem is that the variable assigned on the line
$this->DBLink[$MyVars[NAME]] = mysql_connect( $MyVars[HOST] ,
$MyVars[USERNAME] , $MyVars[PASSWORD] ); dissapears and can't be retreived
on the line mysql_select_db( $MyVars[D
Hi,
Thursday, October 3, 2002, 6:01:53 PM, you wrote:
O> You know...maybe I should mention where this code is...
O> I have my main file which loads using 'require.once' a second file called
O> 'everything.php'.
O> Inside everything.php is a class called 'mainclass' which is called by the
O> mai
Yes,
Short tags should be On, cause
results in the exptected page.
Still unable to understand why this is happening, here are some of the
following code snippets with the errors:
NO ERROR REPORTED FROM PHP
[results in the Apache/access.log] 127.0.0.1 - - [03/Oct/2002:13:33:49
+0530] "G
Yes... get him to download the latest plug-in, IE 5.0 to IE 5.5 even are
weired with dynamic content even it it's a form built up from php...
Neway... I suggest that he should upgrade the flash plug-in and/or IE.
"Rebekah Garner" <[EMAIL PROTECTED]> wrote in message
002901c26a54$513462e0$0300a8c
Hi!
$result=mysql_query("select count(*) as count from AuthNum");
$a_row=mysql_fetch_object($result);
$NumberOfRows=$a_row->count;
if ($NumberOfRows)
{
/* There is at least one row */
}
else
{
/* There are no rows */
}
Hope this helps (especially the "as count" part in t
You know...maybe I should mention where this code is...
I have my main file which loads using 'require.once' a second file called
'everything.php'.
Inside everything.php is a class called 'mainclass' which is called by the
mail file.
This class ('mainclass') loads the MySQL class from the previ
Hi ,
I 'm using RedHat 7.2 +Apache 1.3.20 + Java 1.4.0 + PHP 4.2.1 (compiled with Java
support) . I
configured php for using Java. I wrote some Java code which uses SSL certificate . I
can run my code
from CLI (Command Line Interface) and it works fine but when I try to run from browser
it ret
Hi everyone! I can't figure out why this doesn't work. The call to the
CONNECT function works and it connects with no problem, and it does save the
Resource ID in $this->DBLink[]...however, when CHOOSEDB is called, the
Resource ID just saved is gone. $this->DBLink is just empty, and I can't
figure
101 - 122 of 122 matches
Mail list logo