Opening the file in vi shows that BBEdit is, for some reason, using
\xca where the spaces should be. Off to BareBones.com I go...
>Well, 312 is not a space. Please use a text editor that knows what a
>space is. The other lines look fine, but your $test<312>=<312> stuff
>there is bogus.
>
>-Ras
Well, 312 is not a space. Please use a text editor that knows what a
space is. The other lines look fine, but your $test<312>=<312> stuff
there is bogus.
-Rasmus
On Wed, 19 Jun 2002, Joshua Alexander wrote:
> Thanks, I didn't know about od
>
> 000< ? p h p \n \n $ t e
Thanks, I didn't know about od
000< ? p h p \n \n $ t e s t 312 = 312 "
020j u s t a b o u t a n y t h
040i n g " ; \n \n e c h o " t h i
060s w a s j u s
Sounds like you're using Mac OS X, if you got PHP from entropy.ch ... Make
sure you do NOT use TextEdit to edit/create your PHP scripts. Grab a copy of
BBEdit Lite instead from www.barebones.com. You'll be glad you did!
-Clay
> From: Joshua Alexander <[EMAIL PROTECTED]>
> Date: Wed, 19 Jun 2002
Doing a search on php.net for T_CONSTANT_ENCAPSED_STRING comes up with this
page:
http://www.php.net/manual/en/tokens.php
This then leads to:
http://www.php.net/manual/en/language.types.string.php#language.types.string
.syntax
I have no idea how to interpret all this, but try changing mailto:[
this is the problem:
$query = "Select OSUSER
>From v$session
Where USERNAME = (Select USER From DUAL)
And AUDSID =(Select USERENV('SESSIONID') From DUAL)";
1.
mysql does NOT support subselects!
2.
delete the "<" in front of "FROM"
3.
you have to quote "v$session": "v\$session"
start with a shor
Are you using a broken editor of some sort? All I can think of here is
that your spaces aren't really spaces. Try an od -c on that file from
your prompt.
-Rasmus
On Wed, 19 Jun 2002, Joshua Alexander wrote:
> I just installed the php 4.2.1 from entropy.ch and when running this script:
>
>
>
I just installed the php 4.2.1 from entropy.ch and when running this script:
I get this error:
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in
/Library/WebServer/Documents/west.php on line 3
Anyone know what *that* is about?
-Josh
$var1 = "Names";
$var2 = &$var1;
Pradeep Dsouza
Naharonline.com
- Original Message -
From: "Renaldo De Silva" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 19, 2002 4:14 AM
Subject: [PHP] using a variable stored in a variable.
> how can i use a variable stored in
The name of the function is ord
Pradeep Dsouza
Naharonline.com
- Original Message -
From: "James Drabb" <[EMAIL PROTECTED]>
To: "Php-General (E-mail)" <[EMAIL PROTECTED]>
Sent: Wednesday, June 19, 2002 12:27 AM
Subject: [PHP] Ascii Value
Hey *,
In C I can cast a char 'j' to an int
Use ODBC.
Niklas
-Original Message-
From: sonjaya [mailto:[EMAIL PROTECTED]]
Sent: 19. kesäkuuta 2002 7:57
To: [EMAIL PROTECTED]
Subject: [PHP] open database paradox
i want to open and read database in paradox , how
###
This message has be
Hello PHP mania,
I'm a newcomer right here, i just wanna ask a litle dummy question :
I put the SQL below into my SQL Plus editor :
**
Select OSUSER
>From v$session
Where USERNAME = (Select USER From DUAL)
And AUDSID =(Select USERENV('SESSIONID') From DUAL)
I'm fiddling around with the SSL connection capabilities of MySQL
4.0.1-alpha ... In order for an SSL connection to succeed, the client and
server must have some ssl parameters set either in MySQL's my.cnf file, or
on the command-line to start the client or server.
I've got the server configured
exec() is used to run unix commands and pass results back to php.
But this runs the commands on the m/c the web server is on, don't know how
you can log onto other m/cs though.
> Hi,
> I want to run some unix commands on multiple machines(in
> a network) from my web server and display results
Hi,
I want to run some unix commands on multiple machines(in
a network) from my web server and display results in the
browser .
eg.
I want to run "pkginfo" or "showrev -p" kind of commands on
multiple machines and gather the result on the web server
and display in the browser .
Can anyboby
Why don't you just use 4.2? I wouldn't use 4.3 on a linux box, let
alone a windows xp machine. Give it a try with 4.2. If it works, then
it is indeed a version conflict.
--
Tyler Longren
Captain Jack Communications
[EMAIL PROTECTED]
www.captainjack.com
On Tue, 18 Jun 2002 21:30:22 -0700 (P
hello people, i seem to have a little problem here. I
hope someone could help.
i have a machine running apache on linux and another
one with apache on winxp.
i've downloaded and installed the php-4.3-alpha
version s for linux and windows. mysteriously, the
php_pgsql.dll is not included in the w
if your database is more than a couple mb you may not
be able to do this - shared hosts limit your max
memory per script and max upload size.
Use select into outfile like this:
SELECT a,b,a+b INTO OUTFILE "/tmp/result.text"
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
LINES TERMINATED BY
Ricky u need to change the session.save_path in the setings file to the
actual physical path where u would want to store cookie values.
"Ricky Dhatt" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> After upgrading to PHP 4.2.1 on my Linux 2.2.14 box, I've started to
receive
> th
i want to open and read database in paradox , how
http://www.php.net/manual/en/function.gmdate.php
You may have to look at other functions also related to this.
> Thanks!
>
> "Fargo Lee" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > Hi, if I have a variable containing a number of seconds what function
> would
> > I use to
Till having no luck.
Expires didn't work.
I've put it on another server with the same results.
Completely stripped sessions off of the code and it works perfectly with a
normal username variable. Perhaps the session headers are confusing IE?
We will try to update to the latest version of PHP
Thanks!
"Fargo Lee" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hi, if I have a variable containing a number of seconds what function
would
> I use to output something like ...
>
> 13 Hours, 12 Minutes, 3 Seconds
>
> or
>
> 23 Days, 13 Hours, 12 Minutes, 3 Seconds
>
> Any exa
- Original Message -
From: "hugh danaher" <[EMAIL PROTECTED]>
To: "Peter" <[EMAIL PROTECTED]>
Sent: Tuesday, June 18, 2002 9:53 PM
Subject: Re: [PHP] dynamic water marks?
> You can use the image functions in php/GD to bring up a .jpg or .png image
> from an online directory, add text or
Or, if the watermarks *must* be dynamically generated and visible, use
something like ImageMagik to lay something transparent over the image on the
fly. Wouldn't be exactly speedy, but would do the job. (I've seen this done
on a few sites before -- visible graphic watermark is customized for the
l
The only ways would be:
1. dynamically add the water mark to the actual image (change the pixels) so
that the source file has a watermark.
2. add a css layer on top of the image that contains a watermark
Which brings me to the question, why don't you just add a watermark to each
image? If a c
howdy
does any one know if it's possible to assign a dynamic watermark to am image
or place a watermark effect over a images so it looks like it's on the file
when it's not really?...with out going into layers hopefully ... for
example...
a user up loads a simple image to the site say in jp
I mentioned a couple in a previous email:
header("Expires: " . gmdate("D, d M Y H:i:s", time()) . " GMT");
header("Cache-Control: Private");
Most HTTP headers with regards to caching are more intended to dictate
proxy behavior. For example, the header above specifying that
cache-control be pri
Hi all. I'm having the same problem when developing a site with a flash
animation inside. Let's say I'm seeing the page, I change the flash
background color, save the flash animation again and refresh the page...
nothing happens.
I found out that is a problem of configuration of my IE. If I go to
this will work a treat 4 ya...
Cheers
> -Original Message-
> From: Anil Garg [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 18, 2002 5:35 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] table porblem in netscape!!
>
> I have made a table as shown below..
> But when i open it
That sounds like IE is just caching the page then and showing you the
same one previously displayed for that URL, at which time you were not
logged in.
As a small test, you might try including this PHP code at the top of
your scripts:
header("Expires: " . gmdate("D, d M Y H:i:s", time()) . "
> For example, if I show the student: echo "Welcome &userid" at the
login
> script, when that student goes to some other page that is does not
holds
> the login script, it would print "Hi " instead of "Hi Whatevername".
How
> can I keep track of this things??? Cookies which I want to avoid???
N
The only way I've found of doing this, is using thumbnails. Obviously it
doesn't serve all kinds of purposes, but no matter what kind of
protection you use, a user can simply "Save Web Page" and open the image
as local in the machine. The things about thumbnails, is that you show
the image but in
Depends what you're protecting. If someone wants it bad enough, they'll
find it. It's like using a "really hard to guess password" and then
leaving your box open to the world to guess at...
---John Holmes...
> -Original Message-
> From: Fargo Lee [mailto:[EMAIL PROTECTED]]
> Sent: Tuesda
No. Once you show the user the image, they can get it. You can make it
harder by disabling right click or whatever, but it's not going to stop
most people. The easiest way around all of that is to just click on the
image and drag it to the address bar. It gets around almost all of the
javascript n
Thanks again for the input. I also like using sessions instead of http
auth. I been working with it quite a lot lately, but I still don't know
how to do one thing and will need it with something like this. It would
help to keep track of each user (what he/she does), in order to make PHP
throw stat
Had more of a look at the server side of things. It isn't even requesting
the page in IE (according to the server logs). It's like once it has a copy
of the page, it is completely ignoring the server copy. I have tested on
several different machines and on a few different networks (including th
Netscape tends to enforce html standards, while IE is lax and lets
things go.
You has to have something in it for it to be displayed.
The code is for a non-breaking space. I remember a long time ago having
this problem and I would put a period with the font color switched to
match the backgr
Put a space before WHERE and _ALWAYS_ use MySQL_error() with your
queries... you'll stop wasting your time and ours.
MySQL_query($query) or die("Error in Query: $query >> " .
MySQL_error());
Good idea to print out the query if you can, that way you know what's
actually being sent to MySQL.
---
Each to their own, but I believe sessions will make it easier for you to
"know" who they are from page to page, for example when they post into a
forum or ask a question, it's all based on their user id.
FWIW, photocopying more than 10% of a book is breech of copyright as well...
even if it was i
I think I just solved this for myself!
Look in your /etc/php.ini for:
file_uploads = Off
...change it to
file_uploads = On
- AFC
"Seoz" <[EMAIL PROTECTED]> wrote in message
005601c2173a$1a25ebb0$764efea9@dreamfactory">news:005601c2173a$1a25ebb0$764efea9@dreamfactory...
Hello I'm Korean PHPe
Got it! 'file_uploads' was Off in /etc/php.ini. That was stopping all
form variables from being passed from the file upload form
Thanks all!
AFC
"Anthony 'Crash' Ciarochi" <[EMAIL PROTECTED]> wrote in message
024e01c21711$111d2200$[EMAIL PROTECTED]">news:024e01c21711$111d2200$[EMAIL PROTECTE
Thanks on the quote. Actually, I am wondering about the legal concern
about publishing books in a site like this. It comes to my mind, that if
only registered students are able to search trough this site, it will be
just like an open University library. Of course the University would
hold at least
Hello I'm Korean PHPer.
I found a Strange problem with 'multipart/form-data'.
I made this script:
-- test.php --
--
It works good.
but when I modify it a little bit, problem occurs.
-- test.php (modified) --
--
I just inserted ' enctype="multip
Thanks for the info Chris.
Its causing me some serious headaches. IE just refuses to release the old
information.
Best Regards
Bob (Coffee + Laptop = KABOOM!) Irwin
Server Admin & Web Programmer
Planet Netcom
- Original Message -
From: "Chris Shiflett" <[EMAIL PROTECTED]>
To: "Bob Irwin
on 19/06/02 9:35 AM, César Aracena ([EMAIL PROTECTED]) wrote:
> b) An area where the students can read or download books, in order
> to avoid having to spend so much money in photocopies.
That will be illegal :)
Everything else sounds good.
Start with a decent user/member/login/session s
I'm not sure if this might be related to the problem you're having, but
Internet Explorer has a long history of poor cookie implementation, from
the browser allowing anyone to read cookies from any site (versions 4.0
- 6.0) to the browser not sending the cookie information in subsequent
reques
> local = '$local', city = '$city', postcode = '$postcode', id = '$id'";
> $sql .= "WHERE username='$username'";
This would be:
local = 'x', city = 'x', postcode = 'x', id = 'x'WHERE username='x'
Which is your fault.
> $sql .= "WHERE username='$username'";
needs to change to
> $sql .= " WHER
> When working with Boolean expressions in this way, deMorgan's laws often
come in handy; these state that:
>
> !a AND !bis the same as !(a OR b)
> !a OR !b is the same as !(a AND b)
>
> Hope this helps!!
I don't know who this deMorgan dude is, but that rule is being wri
Try:
mysql_query($sql) or die (mysql_error());
Should give you an idea where the problem is.
Cheers,
-J
On Wed, 19 Jun 2002 11:32:39 +1200, Phil Reid wrote:
> I am in urgent need of help! (AGAIN)
>
> Can anyone spot anything wrong with this query?
>
> $sql = "UPDATE IGNORE customer SET f
Do you have OpenSSL >= 0.9.5 installed?
If so, try putting the install dir in the configure:
--with-ssl-imap=/usr
-J
On Wed, 19 Jun 2002 11:51:15 +1200, Php User wrote:
> At this point in the make I get this error related to --with-imap and
> --with-ssl-imap ...I believe
>
> Making all in .
try ifconfig -a ...
-Original Message-
From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 19 June 2002 3:50 AM
To: [EMAIL PROTECTED]
Subject: [PHP] php server - ive installed linux red hat 7.2 now what?!?
okay, so I've installed linux red hat 7.2 and it's working well!
G'day,
I'm using scripts that are using sessions. A user logs into a main page
with
a master list of database entries. They go to another page, add a new
database entry and it appears on the master list. The user adds another
database entry and upon going back to the master list, the new entr
At this point in the make I get this error related to --with-imap and
--with-ssl-imap ...I believe
Making all in .
make[1]: Entering directory `/usr/lib/php-4.2.1'
/bin/sh /usr/lib/php-4.2.1/libtool --silent --mode=link gcc -I.
-I/usr/lib/php-4.2.1/ -I/usr/lib/php-4.2.1/main -I/usr/lib/php-4.2.1
you might need to place a space before WHERE
-Original Message-
From: Phil Reid [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 19, 2002 9:33 AM
To: [EMAIL PROTECTED]
Subject: [PHP] URGENT
I am in urgent need of help! (AGAIN)
Can anyone spot anything wrong with this query?
$sql =
Hi all,
All of you, who have read any of the posts Ive made in the past, may
have noticed that Im really new to PHP and RDBM. Well, now I have the
chance of making a great web site and would like it to be my personal
signature in the future, so I would really like to do it right. Also, I
wou
I am in urgent need of help! (AGAIN)
Can anyone spot anything wrong with this query?
$sql = "UPDATE IGNORE customer SET forename = '$forename', surname =
'$surname', e-mail ='$email', company = '$company', homephone =
'$homephone', workphone = '$workphone', mobilephone = '$mobilephone',
addre
This is the code I use to send tiff images for download. It should work for
other file types too. Obviously, $buff is the actual contents of the file,
so you could use fpassthru() or echo's or what ever, this code was done when
I was first learning php and I used fread() to get $buff. (I should ch
You can place the file anywhere you like, as long as the script has read
access to it.
I suggested putting it outside the document root to make sure people don't
"accidentally" find it. I say "accidentally" because, if ppl are like me, I
like to probe around other ppl's site to see what hidden th
Hi all!
Looking for a high quality, but fairly simple PHP/MySQL event calendar
program that is not so over-programmed [e.g. templated to death, api's that
sort of thing] as to be impossible to customize. Been through most
everything on Hotscripts, and found mainly problems. Client wants to buy a
Hey Martin, could you send me the syntax for attaching a file? I'll be
doing something like this next week and this would come in handy.
Thanks,
-Ed
> -Original Message-
> From: Martin Towell [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 17, 2002 5:58 PM
> To: 'Fargo Lee'; [EMAIL PR
Ok think I am all good now. Added ...
$fh = fopen("$download_file", "r");
then changed ...
passthru($download_file);
to
fpassthru($fh);
Thanks, again!
"Fargo Lee" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Thanks for the code, I think I am getting th
Anthony,
Can you create a very simple test case that demonstrates this problem
and post it? It might reveal something, because otherwise, I don't see a
cause for trouble with what you've described.
Chris
P.S. Please copy me in any replies if you want to make sure I see it.
Anthony 'Crash' Ci
At this point in the make I get this error related to --with-imap and
--with-ssl-imap ...I believe
Making all in .
make[1]: Entering directory `/usr/lib/php-4.2.1'
/bin/sh /usr/lib/php-4.2.1/libtool --silent --mode=link gcc -I.
-I/usr/lib/php-4.2.1/ -I/usr/lib/php-4.2.1/main -I/usr/lib/php-4.2.1
> -Original Message-
> From: Leston Drake [mailto:[EMAIL PROTECTED]]
> Sent: 18 June 2002 18:48
>
> I am unable to retrieve session variables on my local server.
[snp]
> On another server
> (http://www.lpsoftware.com/phptest/test5.php) it works as
> expected. But I can't figure out wh
Need's whitespace..
- Original Message -
From: "Anil Garg" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 18, 2002 3:34 PM
Subject: [PHP] table porblem in netscape!!
> I have made a table as shown below..
> But when i open it in netscape in shows some blank space wh
Do you have an .htaccess file lying around that is changing the
register_globals setting? I think there was also a bug in the session
handling for one of the newer windows versions of PHP. You might check into
that, if it applies.
> -Original Message-
> From: Leston Drake [mailto:[EMAIL P
I've found that errors in the HTML syntax can cause similar problems. Check
your HTML for missing or out of place quotes.
-Kevin
- Original Message -
From: "Anthony 'Crash' Ciarochi" <[EMAIL PROTECTED]>
To: "Anthony 'Crash' Ciarochi" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tues
> -Original Message-
> From: Chris Knipe [mailto:[EMAIL PROTECTED]]
> Sent: 17 June 2002 09:28
>
> Is this right? It seems to me that substr is working in reverse?
>
> $string = "1234567890"; // Always numerical, always 10 chars.
> if (!substr($string, 0, -7) == "083") {
> echo "not 0
> -Original Message-
> From: Lazor, Ed [mailto:[EMAIL PROTECTED]]
> Sent: 17 June 2002 21:24
> To: 'Chris Knipe'; [EMAIL PROTECTED]
> Subject: RE: [PHP] substr?
>
>
> Here's another way of writing that code that may be easier to
> work with:
>
> $TestValues = array("072", "073", "082",
If I get what you're saying:
$value) {
print "$name ($value)\n";
}
?>
-J
On Wed, 19 Jun 2002 08:21:55 +1200, Renaldo De Silva wrote:
> how can i get variables posted from a form without calling then
> distinctly.
>
> i want to get the names of all the variables the form has poster
> aut
Like someone else said, this applies if PHP is compiled as a cgi and you can
run it from the command line.
If it's a module, you have to load up your page through a web browser to run
it. So for your command, you can use
lynx --dump http://www.domain.com/whatever.php
providing you have lynx ins
Renaldo:
On Tue, Jun 18, 2002 at 12:21:55PM -0800, Renaldo De Silva wrote:
>
> i want to get the names of all the variables the form has poster
> automatically.
> can that be done and if it can how?
while( list($key, $val) = each($_POST) ) {
echo "$key = $val\n";
}
--
PHP cl
On Tue, Jun 18, 2002 at 02:42:38PM -0700, Anthony 'Crash' Ciarochi wrote:
>
> For example: the submit button's name is 'submit', and the value is 'Add',
> but in the receiving php script, $submit is empty, and so is
> $HTTP_POST_VARS["submit']
>
> register_globals is On
Your HTML is broken? Po
I have a web page which contains a form whose action is a php script.
Unfortunately, NONE of the form's variables are being passed when the form
is submitted.
For example: the submit button's name is 'submit', and the value is 'Add',
but in the receiving php script, $submit is empty, and so is
$
No, and no. Once served to the browser the image resides on the user's
computer. They can do whatever they want with it. The only thing you can
do is use Javascript to disable the user's right mouse button. However the
only effect this will have is to piss of your Windows clients, and your Mac
I have made a table as shown below..
But when i open it in netscape in shows some blank space where i have used
tag.
Can anyone plz help me with this!!
-
cellpadding=0 cellspacing=0 height=25
width=100%>
Welcome
I am using PHP 4.1.2, which I assume supports the $_SESSION global array.
I've tried ...sigh... using $HTTP_SESSION_VARS, with the same result,
unfortunately.
At 02:12 PM 6/18/2002, you wrote:
>Is your version of PHP new enough to support the new $_SESSION[] array? If
>it is not, use $HTTP_SESS
>Does mysql_real_escape_string exist? I've seen it in the manual pages,
and
>to my understanding, it is the proper function to call on strings to
escape
>them before inserting them into a database...
mysql_real_escape_string() is only available in CVS version.
_
Mattias Eriksson
-
I've generally seen this done in JavaScript, by disabling the right mouse
button.
Bruce Karstedt
President
Technology Consulting Associates, Ltd.
Tel: 847-735-9488
Fax: 847-735-9474
-Original Message-
From: Steph [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 18, 2002 4:14 PM
To: Php-Ge
Lo all,
Does mysql_real_escape_string exist? I've seen it in the manual pages, and
to my understanding, it is the proper function to call on strings to escape
them before inserting them into a database...
I've used it as follows:
$text[1] = mysql_real_escape_string($text[1]);
$details
Is there a way to disable the users ability to download images on public
pages. Or is this a Javascript capability?
~Steph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> -Original Message-
> From: Stuart Dallas [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 13, 2002 2:53 PM
> To: Phillip Perry
> Cc: Tim Ward; Martin Towell; Tom Rogers; Php
> Subject: Re[2]: [PHP] beginner in PHP
>
>
> On Thursday, June 13, 2002 at 7:44:39 PM, you wrote:
>
> > Yes,
> -Original Message-
> From: Zlutarch G. [mailto:[EMAIL PROTECTED]]
> Sent: 15 June 2002 00:54
>
> My session variables won't persist, could someone help me
> with this problem?
PHP version? (If <=4.0.6, $_SESSION doesn't exist.)
Which Web server? Version?
> I spent all day trying
> -Original Message-
> From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]]
> Sent: 14 June 2002 22:01
>
> So I'm trying to install PHP on win98 with Apache2.
>
> I got these nice instructions from...
>
> http://www.webmasterbase.com/article.php?pid=30&aid=525
>
> After I make the foll
> -Original Message-
> From: Lee Doolan [mailto:[EMAIL PROTECTED]]
> Sent: 14 June 2002 01:25
>
> > "Miguel" == Miguel Cruz <[EMAIL PROTECTED]> writes:
>
> Miguel> Why does this:
>
> Miguel> $x = 3 + 5 * 7;
>
> Miguel> produce different results from this:
>
> Migue
Hi, if using the header command for attaching a file really prevents the
user from seeing the actual download link, is it really all that important
that the file is read from behind the document root if it is in a very hard
to guess directory?
"Martin Towell" <[EMAIL PROTECTED]> wrote in message
All I saw all the RPMs, I tried to install them but I got errors for ALL
of the RPMs. Why do you think this is ?
Thanks for your help!!!
>>> Rasmus Lerdorf <[EMAIL PROTECTED]> 06/18/02 04:56PM >>>
Simply install the appropriate rpms. apache, php, php-mysql, etc.
They are all on your cd.
-Ra
Simply install the appropriate rpms. apache, php, php-mysql, etc.
They are all on your cd.
-Rasmus
On Tue, 18 Jun 2002, Phil Schwarzmann wrote:
> I have a nice formatted PC & Linux Redhat 7.2 that I got at a local
> retail store for $60.
>
> All I want this PC to do is be a PHP/MySQL server an
I have a nice formatted PC & Linux Redhat 7.2 that I got at a local
retail store for $60.
All I want this PC to do is be a PHP/MySQL server and also be a FTP
server.
I've seen various complicated (complicated cause i'm new to linux)
detailed instructions to installed php/mysql/apache but
You can use lynx as a command, just like that :
"lynx http://username:password@localhost/secure/script.php";
Rémy Dufour
> I want to set up a crontab using my hosts control panel, and when i go to
> set one up there are boxes for how frequently you want the task to run,
and
> one labelled "Comma
Thanks for the code, I think I am getting there but an empty file gets
downloaded when I load the following script. See any problems?
I verified my server is setup to handle tar files with application/x-tar. I
also replaced ...
header("Content-Type: application/x-tar");
with
header("Content-
something similar to the synchronization of functions in java. Onle one
thread should be able to access that method. I guess you can use semaphores.
Even I am trying to find out how to do it in any other fashion.
Thanks in advance,
regards,
Puru
- Original Message -
From: "Analysis & Solu
Thanks Dan,
In the interim, I solved my problem. As you said, the first query
needed to be INSERT (that I figured out after spending some 'thoughtful' time
with my beloved code :>, and I also eliminated the extra pg_connect. After
that, it still wouldn't work.
Looking at the mess from pgsql (
On Tue, Jun 18, 2002 at 07:21:51PM +0200, Jens Lehmann wrote:
>
> class test
> {
> var $a = 2*10;
> }
>
> Of course I know why there's a parse error, but I don't
> know the reason why PHP doesn't allow this multiplication,
Because, that's why. :)
--Dan
--
PHP classes that
Hi Micheael:
On Tue, Jun 18, 2002 at 06:48:18PM +0200, [EMAIL PROTECTED] wrote:
>
> Any idea, how to synchronize functions in php???
What do you mean?
--Dan
--
PHP classes that make web design easier
SQL Solution | Layout Solution | Form Solution
sqlsolution.
Hail, BB:
On Tue, Jun 18, 2002 at 12:37:29PM +0100, BB wrote:
>
> Having finally found out how to pass the Environment vars onto PHP, I am
> stumpted to find that PHP wasn't reading them and putting them in their
> place (GET vars).
Why do you think environment variables would wind up in the ge
hi,
how can I call a php file from javascript?. Actually I want to call a php
file from flash without appear a web browser window(I used getURL function
but it use new or self window). so I will use fscommand and call php from
java.
thankyou.
--
PHP General Mailing List (http://www.php.net/)
On Tue, Jun 18, 2002 at 01:31:16PM +0200, Knut Olsen-Solberg wrote:
> Many html-files contains php-code, and are written in
> MSWindows environment. Is it important to convert these textfiles to
> Unix format (line breaks with only ascii 10 instead of 13/10) when they
> are published?
No.
But, i
> $query = "select count(*) from users where "
You are asking for a count() in your query. This will always give you
one row returned with a count. If you really want to do this you should
probably have:
$query = "select count(*) as usercount from users where"
Then you can do your te
1 - 100 of 224 matches
Mail list logo