PHP is compiled with PostgreSQL support but I can not connect. I get
this error message What does it mean and what do I need to do to fix
it
Warning: pg_connect() unable to connect to PostgreSQL server: connectDB()
-- connect() failed: Connection refused Is the postmaster running (with -i)
at 'lo
I can't connect to mssql!
When I start PHP page with MsSQL connection, PHP craches and I receive this:
PHP caused an invalid page fault in
module NTWDBLIB.DLL at 0167:73330fde.
Registers:
EAX=0020 CS=0167 EIP=73330fde EFLGS=00010246
EBX=0010 SS=016f ESP=0063f600 EBP=0063f610
ECX=00797fe0
[EMAIL PROTECTED] wrote:
> PHP is compiled with PostgreSQL support but I can not connect. I get
> this error message What does it mean and what do I need to do to fix
> it
>
> Warning: pg_connect() unable to connect to PostgreSQL server: connectDB()
> -- connect() failed: Connection refused Is t
Jack,
Probably because of the space in the directory "dealing room" - you'd be
best advised to avoid spaces in directory names.
~James
"Jack" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Dear all
> I had a folder which the path is : (\\nedcoraa\pdf_reports
Hello! I have a page which is called by:
Now I want to get the Anchor "#JumpHere" (which could be different each
time) in mypage.php4.
With PATH_INFO, I only get "/myfolder/mypage.php4";
With QUERY_STRING, I only get "MyVar1=Something&MyVar2=Someother"
With PhpInfo, I couldn't find any "JumpHe
> I am looking for PHP code that will submit (post) a form automaically to a
> ANOTHER php page. I do not want to press a submit button. I have found a
> class at PHPClasses but it is too complicated for my needs. What is the
> simplest way of doing this? What is the theoretical approach?
I t
> > Failed opening '/var/www/html/BOOKS/newbooks.php' for inclusion
> > (include_path='.:/php/includes:/usr/share/php') in Unknown
> on line 0
> >
> > I am getting the following error, when the file
> newbooks.php is invoked.
> > The first lines in this entire file starts with the tag,
Oh, it seems, that only Netscape 4 is doing this wrong...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Jimmy,
In many cases, I'd go for a regex, though with this (because it's just a
straight replacement), I'd just use str_replace (and since about the closest
thing to a vertical tab would be a new line in html, use that as the
replacement):
$string = str_replace("^K", "\n", $string);
James
Hey,
Anybody has ideas on how to detect the connection speed of visitors in order
to automatically take them to the Hi-speed or low-speed version of a site?
We want to make a hi and low speed side, but I would prefer not to confuse
visitors with a page where they have to choose
Hello all,
Thanks for the suggestions. But my .php file does not have any include
statement any where in the page. Is there any thing which I have to check
out? The site contains 6 .php files, and it is only in this file the error
comes.
Thanks once again,
Sachin.
--
PHP General Mailing List
php-general Digest 16 Jul 2002 09:16:04 - Issue 1467
Topics (messages 107759 through 107823):
Online Document
107759 by: Glenn Antoine
107762 by: Kevin Stone
107776 by: John Holmes
Re: Installing MYSQL on Windows
107760 by: Lee
107764 by: Analysis &
Hello all,
Thanks for the suggestions. But my .php file does not have any include
statement any where in the page. Is there any thing which I have to check
out? The site contains 6 .php files, and it is only in this file the error
comes.
I have tested this in my local build (Apache server), and
Does anyone know a good PHP-based Formmail Replacement(From matt's script
archive)?
--
JJ Harrison
[EMAIL PROTECTED]
www.tececo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Check execute permissions on the PHP file, try chmod 755.
Sachin Keshavan wrote:
>Hello all,
>
>Thanks for the suggestions. But my .php file does not have any include
>statement any where in the page. Is there any thing which I have to check
>out? The site contains 6 .php files, and it is only
nobody?
does any think this could be a bug or something?
i would like to know before submitting this as a bug.
At 19:18 15-7-2002 +0200, gilles wrote:
>hi,
>
>i've run in to a strange problem,
>
>i'm trying to output a pdf file from disk to the browser.
>
>this is fine under netscape but IE has
Hi there!
I have a problem with the IIS5.
After I have installed PHP4 following the instruction on php.net, everything
works fine instead of handling forms.
Each variable deliverd by a form (e.g. test.php?id=5) is empty (id=="" is
true).
Can anybody help??
Thanks,
Peter
Hello Peter,
Tuesday, July 16, 2002, 12:28:06 PM, you wrote:
PS> Hi there!
PS> I have a problem with the IIS5.
PS> After I have installed PHP4 following the instruction on php.net, everything
PS> works fine instead of handling forms.
PS> Each variable deliverd by a form (e.g. test.php?id=5) i
Jimmy Brake wrote:
>is used in MS Excel when people hit return inside a cell. If they copy
>and paste that into a form its ok, but when I export that data to a csv
>it gets ugly.
>
I'd do validation on the user input on the form and remove it there. The
^k is used to show a control code, they be
On Tuesday 16 July 2002 17:12, Cedric Veilleux wrote:
> What I was thinking about is doing a reverse dns lookup on the client's IP
> and try to determine quickly if he's on a low or hi speed connection.
You have to bear in mind that reverse DNS lookups are not instantaneous. It
can take
Jack wrote:
>Dear all
>I had a folder which the path is : (\\nedcoraa\pdf_reports\dealing
>room\report) it stores a lot of PDF reports in there.
>I'm trying to use the file_exists() function to detect if a specific file
>exist in this folder, but i got a problem is :
>It seems that php can go thr
Peter Stöcker wrote:
>Hi there!
>
>I have a problem with the IIS5.
>
>After I have installed PHP4 following the instruction on php.net, everything
>works fine instead of handling forms.
>
>Each variable deliverd by a form (e.g. test.php?id=5) is empty (id=="" is
>true).
>
I imagine that the relea
Jason Wong wrote:
>On Tuesday 16 July 2002 17:12, Cedric Veilleux wrote:
>
>> What I was thinking about is doing a reverse dns lookup on the client's IP
>>and try to determine quickly if he's on a low or hi speed connection.
>>
>
>You have to bear in mind that reverse DNS lookups are not in
> I feel the idea is not accurate. My ip address (a static one from my
> isp) would remain the same if I went to ADSL from my current
> dial-up access.
>
> HTH
> Chris
Yes. And how about all corporate networks? If I'm accessing your site from
our office I would get the low-speed version until
Hi!
The register_globals are "on".
But using $_POST will cause some problems, because I also use generated
links like "test.php?id=4&usr=test" without using a form!
So I don't get the variables by both these genrated links and forms.
Bye,
Peter
-Ursprüngliche Nachricht-
Von: Nookie [m
I really think you should read the user comments in the online PHP-manual
before doing anything else...
Look here: http://www.php.net/manual/en/function.header.php
Regards
Joakim Andersson
> -Original Message-
> From: gilles [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 15, 2002 7:19
How about a little reading of the manual...
Use $_GET for the URL or $_REQUEST if you want it to cover get, post,
and cookie data...
---John Holmes...
> -Original Message-
> From: Peter Stöcker [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 16, 2002 7:15 AM
> To: [EMAIL PROTECTED]
> S
Just an idea, I'll point it out algorithmically coz it would take
me a bit of time to sketch the code... Here goes and my
appologies if this is not what you want..
Would it not work if you targeted the next application
to open up in window y... The problem is that you said
you want it to be in
Hi,
i stored some jpegs in an mysql-database (one field for data, one for type)
and i'm able to download them and to show them in an tag.
But wat i want is to use the stored data to create a thumbnail to show it
within the browser without creating a file - how can i pass the mysql-blob
directly
> From: Tommi Trinkaus [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 16, 2002 1:25 PM
> Hi,
>
> i stored some jpegs in an mysql-database (one field for data,
> one for type)
> and i'm able to download them and to show them in an tag.
> But wat i want is to use the stored data to create a
>
Algorithmically:
//in php
1) create a counter that will keep count of the # of variables that have
been set
2) if all your variables have been set spit out the relevant JavaScript
that runs the AutoSubmit function... (There are a couple onLine)...
...
It can follow the following Ske
ðÒÉ×ÅÔ!
[EMAIL PROTECTED] wrote:
>>I feel the idea is not accurate. My ip address (a static one from my
>>isp) would remain the same if I went to ADSL from my current
>>dial-up access.
>>
>>HTH
>>Chris
>
>
> Yes. And how about all corporate networks? If I'm accessing your site from
> our offi
Hi there,
I am wondering if it would be possible to activate a php script via cron
periodicly.
Can anybody give me a hint on that or knows a good article?
Thanx in advance,
Andy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Martin,
I have downloaded INVISION, installed everything correct, but I cannot (even
as administrator/moderator)) see where the posts by members go to? Only
posts by administrator appear. Any idea where the new posts by members go to
and how an administrator can approve them?
Thanks.
NOBBY
-
On Tuesday 16 July 2002 20:42, Andy wrote:
> Hi there,
>
> I am wondering if it would be possible to activate a php script via cron
> periodicly.
>
> Can anybody give me a hint on that or knows a good article?
Search archives for "cron OR wget"
--
Jason Wong -> Gremlins Associates -> www.gremli
Martin,
I think I have got it. Thanks.
Best Regards,
NORBU
(SOLUTION FOR YOUR WEB DESIGN & DEVELOPMENT, SOFTWARE & HARDWARE, NETWORK &
INTERNET)
--
WEBMASTER
DrukNet / Bhutan Telecom / BTNIC
PO Box 134
Thimphu BHUTAN
Phone: Work 326997
H
[snip]
I am wondering if it would be possible to activate a php script via cron
periodicly.
Can anybody give me a hint on that or knows a good article?
[/snip]
If you can run PHP from the command line, i.e.
php thisscript.php
it means that you have installed PHP as a standalone executable. If
I have a problem running my Scripts from IIS...
I test them on my localhost which is running
Apache and PHP 4.2.1 and it works perfectly...
However I get an undefined variable error
running it on an IIS Server running PHP 4.2.1
Apart from these messages that make my
"send to" pages look untidy, th
I was looking for in the news, but i did not encounter any thing.
Where can I get an example or the way to read a text file into a variable
and how identify the carriage return and special characters.
Thank you
Edgar
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
$contents = implode('',file($filename));
Regards,
Andrey
"Edgar" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> I was looking for in the news, but i did not encounter any thing.
>
> Where can I get an example or the way to read a text file into a variable
> and how identify
Hi Jay:
> If you can run PHP from the command line, i.e.
>
> php thisscript.php
>
> it means that you have installed PHP as a standalone executable. If so you
What do you mean standalone? If this is in reference to not running it
as a module of Apache, then my set up must be weird, because
I ca
You can have both...a standalone executable and an Apache module! They will
operate on the same server, independently of each other.
Jay
"It's a dessert topping AND a floor wax!" -- Satuday Night Live, circa '76
*
* Want to meet other PHP developers *
* in yo
php.net has little snippets under the documentation
for the fread function... That's a start...
"Edgar" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I was looking for in the news, but i did not encounter any thing.
>
> Where can I get an example or the way t
Sounds more like it's to do with the php.ini settings on the IIS box
than IIS itself.
http://www.php.net/manual/en/configuration.php#ini.error-reporting
HTH,
Richy
==
Richard Black
Systems Programmer, DataVisibility Ltd - http://www.datavisibility.com
Tel
session_name() enables you to refer to a session by name, rather than just
referring to *a* session.
check the manual, but I believe for session "x" you, would call
session_name("mysession_y"); BEFORE session_start(), and for session y, you
would call session_name("mysession_x");
there's a good
"Richard Black" <[EMAIL PROTECTED]> wrote in message
004701c22cc9$880a4be0$16fea8c0@DVLAPTOP1">news:004701c22cc9$880a4be0$16fea8c0@DVLAPTOP1...
> Sounds more like it's to do with the php.ini settings on the IIS box
> than IIS itself.
>
> http://www.php.net/manual/en/configuration.php#ini.error-re
on 16/07/02 2:17 PM, Richard Lynch ([EMAIL PROTECTED]) wrote:
>> Would anyone know of any PHP training or courses in Australia...
>
> Luke and Laura :-) run a fabulous PHP program through the Royal Mumble Iblle
> T-something...
>
> Royal Melbourne Institute of Technology?
>
>> Also for the dev
Well, if you're just going to show your image (no resizing or other
image operations) you don't need to use gd at all. You could just change
the Content-Type and print.
header("Content-Type: $mimetype");
print($imagedata);
/lasso ([EMAIL PROTECTED])
Tommi Trinkaus wrote:
> Hi,
>
> i stor
hi,
well just to make sure, i also ran this test under linux/apache and
win2000/apache testing with IE6 and the same error occurs.
it also doesnt matter if i use sessions,
so, the following doesnt work either with POST, but it does work with GET:
-
-
Well, I'm not sure if this is what your looking for but the simplest way
might be to use JavaScript. Have the second form that you want to post
without a submit button being clicked have an onSubmit event. So on submit
of the first form, javascript will submit the second without the user
clicking
The script was working great before PHP 4.2.x and not after that. So, I
looked through the code and came upon this variable, "$$var". I have no
idea what the purpose of the double "$" is for a variable. Anyone know?
--clip--
$var = "v".$counter."_high_indiv";
As you know, PHP can't do the work becuase it is on the server side, not hte
client side. Meaning, when the server side is finish, all done, then it go
directly to the client side (web browser). If you want PHP to do something
then you'll have to do something to the webpage, like a click button
$users=file('.users');
# puts users in the file into an array so we can
# check for valid or priv users with
if(in_array($HTTP_SERVER_VARS["REMOTE_USER"], $users)){}
# we add additional users to the .users file with the following
$users[]=$newuser;
# adds the new user to the end of the above cre
I have created a table which has a column called cost. How do I add up all
the numerical data in the cost column and display that on a webpage?
-Thanks
-Jay
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Variable variable. Read the docs.
$v = 'foo';
$foo = 'bar';
echo $$v;
Regards,
Andrey
P.S.
Sometimes {} are used : ${$v}
"Scott Fletcher" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> The script was working great before PHP 4.2.x and not after that. So, I
> looked thro
Interesting! Look like the 2nd "$" is decomissioned and is reserve for
something in the future or something. Just like the "_" is when it come
with $_POST as an example. That would explain why it doesn't work with PHP
4.2.x & up.
"Andrey Hristov" <[EMAIL PROTECTED]> wrote in message
002601c22c
Are you running PHP as CGI or ISAPI?
I got so much similar trouble with the ISAPI dll on IIS that I use the CGI
nowadays.
MH
"Kondwani Spike Mkandawire" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have a problem running my Scripts from IIS...
> I test t
The cause for your problem would be that register_globals defaults to off in
PHP 4.2.x and greater.
The solution? Start using the new superglobals ($_POST, $_GET, $_SESSION
etc) or (not recomended) set register_globals = on in php.ini
Read more here:
http://www.php.net/manual/en/language.variable
Could someone please explain the difference between classes and functions
and how to use a class. I write alot of PHP, but I never understood this at
all. I use an include statement in many of my pages and include a file with
a bunch of functions. For instance, I might have a function called stock
variable variable... right up there with array array
basically what you are saying is resolve $var, then find out what that variable
holds
example;
assume your $counter is currently at 5
$var = "v".$counter."_high_indiv";
would mean that $var= "v5_high_indiv"
assuming that v5_high_ind
On Tuesday 16 July 2002 21:53, Dave [Hawk-Systems] wrote:
> $users=file('.users');
> # puts users in the file into an array so we can
> # check for valid or priv users with
> if(in_array($HTTP_SERVER_VARS["REMOTE_USER"], $users)){}
>
> # we add additional users to the .users file with the followin
Hi,
Im having the problem bellow when try make PHP source.
Im using this configure:
./configure --with-apache=/usr/local/src/apache_1.3.23 --with-mysql=/usr/loc
al/mysql --with-pgsql --with-zlib --with-gd --with-gettext
And make error:
Making all in Zend
make[1]: Entering dire
I tried that test script you mentioned and it doesn't work in PHP 4.2.1. I
have a very good idea why is that, must have to do with the php.ini.
Unfortunately, it doesn't work either. I'll tell you what, I'll just throw
out that script and write a different script. This time, no double "$".
--c
I run it as CGI... I have the problem fixed though...
It looks real messy but every time I echo out
a variable that *appears* to be undefined whilst
it actually is, I stick an @ sign infront of it...
Hence I have something like:
echo @$var1;
If I need to stick extra statements I use concatenati
What docs at php.net? under variable, predefine variable or what?
"Andrey Hristov" <[EMAIL PROTECTED]> wrote in message
002601c22cd0$b1995170$1601a8c0@nik">news:002601c22cd0$b1995170$1601a8c0@nik...
> Variable variable. Read the docs.
>
> $v = 'foo';
> $foo = 'bar';
> echo $$v;
>
> Regards,
> An
> -Original Message-
> From: David D [mailto:[EMAIL PROTECTED]]
> Sent: 13 July 2002 16:38
>
> I can manage this script to work.
> Js warn about listid[], he doesnt like [] in a var name !
> Php needs them to collect an array from form checkboxes.
>
>
>
>
> onClick="this.value=check(
>On Tuesday 16 July 2002 21:53, Dave [Hawk-Systems] wrote:
>> $users=file('.users');
>> # puts users in the file into an array so we can
>> # check for valid or priv users with
>> if(in_array($HTTP_SERVER_VARS["REMOTE_USER"], $users)){}
>>
>> # we add additional users to the .users file with the f
Alright! Found the problem! Faulty script written that come before this
script where $$var come into play. At least, it wasn't me, it was the other
programmer's error. :-)
"Scott Fletcher" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Interesting! Look l
Hi,
I have an array of elements which are separated with the operator
comma(,).
==
$array = implode(",", $checkb);
echo $array.'\n';
$result = mysql_query("DELETE FROM temp WHERE inv_tag IN
($array)") or die('Error in quer
I think that the best way you can achieve this, considering all the
troubles and different configurations you will have to make for each
user, is to make them choose the type of connection they want, and set a
cookie in the visitor's browser with a one year life time which stores
that machine/visi
On Tuesday 16 July 2002 22:35, Dave [Hawk-Systems] wrote:
> >> $users[]=$newuser;
> >> # adds the new user to the end of the above created users array
> >> # then write the array to the file
> >> $fd = fopen (".users", "w+");
> >> fwrite ($fd, join("\n",$users));
> >> fclose ($fd);
> >>
> >> the
Wait, you mean IE sends the full uri (including the anchor #JumpHere) as
a GET request?
Anchor is interpreted on the client side, this means browser reads
trought the document looking for
anchor of that name. You cannot get it on server, maybe somehow with
javascript.
Marek
Martin Thoma w
[snip]
Could someone please explain the difference between classes and functions
and how to use a class. I write alot of PHP, but I never understood this at
all. I use an include statement in many of my pages and include a file with
a bunch of functions. For instance, I might have a function calle
I have newbie question.
I am building a search page that will return any number of records and want
to display only 30 at a time say. Then have one of though "Page 1 of 3 [1]
[2] [3] Next>" on top of the record list.
What is the best way to do this.
I was looking at using the LIMIT feature in
On Tuesday 16 July 2002 22:40, Balaji Ankem wrote:
> Hi,
> I have an array of elements which are separated with the operator
> comma(,).
>
> ==
> $array = implode(",", $checkb);
>
> echo $array.'\n';
>
> $result = mysql_query("DELE
I have an interesting question. I am working on a system that I need to
run two commands in the shell, but when I use passthru() on the first
command then run the second command to get the results from the first
command, it doesn't work. Is there any way I can run 2 shell commands in
the same exec
Hi Chris:
On Tue, Jul 16, 2002 at 04:59:33AM +0200, Chris Knipe wrote:
>
> How can I manage to sort $DomainMX from the lowest $Weight to the highest,
> while still preserving the proper $Weight to the $DomainMX?
While I don't have experience with that function, have you taken a look at
the var
On Tuesday 16 July 2002 22:43, César Aracena wrote:
> I think that the best way you can achieve this, considering all the
> troubles and different configurations you will have to make for each
> user, is to make them choose the type of connection they want, and set a
> cookie in the visitor's brow
Hi Jason,
How to make $array look like 'PTX526_P_1','SIM_1' or
"PTX526_P_1","SIM_1".
Thanks and Regards
Balaji
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 16, 2002 8:22 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Problem with implode() function
hi,
does anyone know of a yahoo-groups style web-based front end to
Majorodomo using PHP?
cheers,
jaxon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
JJ Harrison wrote:
> Does anyone know a good PHP-based Formmail Replacement(From matt's script
> archive)?
http://www.google.com/search?q=Formmail+php gave
http://www.lumbroso.com/scripts/formmail.php as one of the top results
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
To add to the below, object classes, can have their own set of functions, called
methods. These methods are specific to the function, and ALL functions within a class
treat any properties (variables) within the class as global.
So if you have a class "Car" with two properties ("Make" and "Mode
It helps a little bit, thank you. Could you provide some code as to what a
Class looks like. I am just trying to understand it better and if I see it,
it might help.
"Jay Blanchard" <[EMAIL PROTECTED]> wrote in message
000401c22cd8$54ce9ce0$8102a8c0@niigziuo4ohhdt">news:000401c22cd8$54ce9ce0$8102a
I am trying to do a simple fopen("http://www.weather.com/index.html";, "r");
For some reason I cannot Open any URL's after trying several.
I get the following error
Warning: stat failed for Resource id #1 (errno=2 - No such file or
directory)
I checked my php.ini to make sure I set the fope
César Aracena wrote:
> I think that the best way you can achieve this, considering all the
> troubles and different configurations you will have to make for each
> user, is to make them choose the type of connection they want, and set a
> cookie in the visitor's browser with a one year life time w
[snip]
example?
[/snip]
http://www.devshed.com/Server_Side/PHP/FormValidatorClass/page1.html
Good tutorial
Jay
*
* Want to meet other PHP developers *
* in your area? Check out: *
* http://php.meetup.com/*
* No developer is an island ...
Here is a sample code (don't take this as gospel... Jay knows more about OOP than I
do, I'm sure!):
class Car {
var $make;
var $model;
function setMake($x) {
$this->make = $x;
}
function setModel($y) {
$this->model = $y;
}
}
$make and $model are the prop
Hello,
How do i make a page which isn't cached for konqueror/opera browers?
Now i have:
$now = gmdate('D, d M Y H:i:s') . ' GMT';
header('Expires: ' . $now);
header('Last-Modified: ' . $now);
header('Cache-Control: no-store, no-cache, must-revalidate,pre-check=0,
post-check=0, max-age=0');
he
This helps quite a bit Thank you.
I am just wondering if I should make classes instead of functions? What
would be the benefit of that? Do you know?
"Martin Clifford" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Here is a sample code (don't take this as gospel
Classes are great for code reusability, I heavily use a MySQL object or
class to make all my conections to a mysql database now and I have included
methods for Transactions.
Its a long one but its the class I use the most and is a great example of
what they are good for.
dbhost;
}
func
[snip]
This helps quite a bit Thank you.
I am just wondering if I should make classes instead of functions? What
would be the benefit of that? Do you know?
[/snip]
You should keep classes and functions seperate in your thought process, they
are not the same and not meant to do or be the same thin
I'm still trying to figure that out, but the fog is clearing slowly but steadily :o)
>From what I've heard on this and other lists, it's all a matter of preference.
>Obviously those that come from an object-oriented environment (Java, etc), will lean
>toward this method, while others stay with
thanks Jay.
"Jay Blanchard" <[EMAIL PROTECTED]> wrote in message
000e01c22cdd$0d0c7530$8102a8c0@niigziuo4ohhdt">news:000e01c22cdd$0d0c7530$8102a8c0@niigziuo4ohhdt...
> [snip]
> This helps quite a bit Thank you.
> I am just wondering if I should make classes instead of functions? What
> would be th
Is there an advantage to Classes vs. Functions?
"Jay Blanchard" <[EMAIL PROTECTED]> wrote in message
000c01c22cdb$11485c10$8102a8c0@niigziuo4ohhdt">news:000c01c22cdb$11485c10$8102a8c0@niigziuo4ohhdt...
> [snip]
> example?
> [/snip]
>
> http://www.devshed.com/Server_Side/PHP/FormValidatorClass/page
so how do you install a second php version?? If you compile it (besides with
what kind of flags) and then do a make and a make install the original
version will be replaced, right?
"Jay Blanchard" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
000f01c22cc9$33046590$8102a8c0@niigziuo4ohhdt">news:000
Hello,
I m trying to make a php command line script, and I m looking for a function
that
can stop the script until a key is pressed.
I modify some args when these are incorrect and put default values,
I d like the user to be informed of that when launching the scripts.
For the moment I make a s
Wow...this is pretty cool.
Do you HAVE to declareall your varibles ahead of time?
"Steve Bradwell" <[EMAIL PROTECTED]> wrote in message
57A1618E7109D311A97D0008C7EBB3A1010C8258@KITCHENER">news:57A1618E7109D311A97D0008C7EBB3A1010C8258@KITCHENER...
> Classes are great for code reusability, I heavily
Since ' is a string delimiter in MySQL it has to be escaped. Try using
mysql_escape_string($string)
(http://se.php.net/manual/en/function.mysql-escape-string.php) on all
the strings before you try to insert them into MySQL.
/lasso ([EMAIL PROTECTED])
Anil Garg wrote:
> Hi,
> I am making a f
On Tuesday 16 July 2002 23:36, Andy wrote:
> so how do you install a second php version?? If you compile it (besides
> with what kind of flags) and then do a make and a make install the original
> version will be replaced, right?
Just doing:
./configure; make; make install
will compile and inst
Instead of a second version, you can call your script via lynx:
TERM=vt100
0 * * * * lynx -dump http://www.domeinnaam.nl/yourscript.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1 - 100 of 225 matches
Mail list logo