[EMAIL PROTECTED] wrote:
> I am coming over from Perl life. Does anyone recommend any good beginners
> books on learning PHP? I am looking for something similar too learning
> perl from Oreily.
I must confess that I do not know the O'reilly book you're talking
about, but "PHP & MySQL developme
I believe you will need to compile two versions, and point two to
different php.ini locations.
Here's a snipet from the manual.
http://www.php.net/manual/en/install.configure.php#install.configure.options.php
Al
--enable-maintainer-mode
Enable make rules and dependencies not useful (and somet
Couldn't help noticing with the upgrade to version 4.21 that this function
is no longer available,
I've looked around and not found much on the subject but so far I have
worked out that my code basically has to change from this...
hi everybody,
i have a short problem:
i have two drop down menues in a form. the content of the second dropdown is
dependent from the selection in the first dropdown menue. now i want write a
short javascript which runs on the onSelect - event of the first dropdown.
this script gives me the sele
Hi all.
Sorry for this, but a couple of hours ago (imagine
Monday at 3 in the
morning) one of my clients called and asked me to put a Photography
upload for each member of his business and the dead line is in 2 hours.
Ive been messing around for the first time with file uploading, but it
see
http://www.mattkruse.com/javascript/dynamicoptionlist/source.html
hope this helps
"Otteneder Hermann" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
hi everybody,
i have a short problem:
i have two drop down menues in a form. the content of the second dropdow
http://www.php.net/manual/en/function.is-uploaded-file.php
"César aracena" <[EMAIL PROTECTED]> wrote in message
000901c21b5a$e1aea180$cdc405c8@gateway">news:000901c21b5a$e1aea180$cdc405c8@gateway...
Hi all.
Sorry for this, but a couple of hours ago (imagine. Monday at 3 in the
morning) one of my
On Monday 24 June 2002 16:40, César Aracena wrote:
> Hi all.
>
> Sorry for this, but a couple of hours ago (imagine
Monday at 3 in the
> morning) one of my clients called and asked me to put a Photography
> upload for each member of his business and the dead line is in 2 hours.
>
> Ive been mess
Thanks John,
See when i echo $contents, the page displayed contains backgrounds and other
text from the remote site, how can i crop only the returned query and
display it in a page with my backgrounds etc
thanks
"John Holmes" <[EMAIL PROTECTED]> wrote in message
000a01c21aef$f58fc0a0$b402a8c0@m
> the name <> 0 was a sql-query - it will return a ressource which will
> enable you to make something like
>
> $i=0;
> while($row = mysql_fetch_assoc($nameless_result){
>
> #psuedo-code#
> # mysql_query=("insert into table set relativenumber = 'jr$i' where
> ID=$row["ID"]");
> }
[César L. Arac
Is there an elegant way to remove excess blank lines from my form data?
For example; if someone enters the following text and then press' the
Submit button:
This is a some text
This is more text, and yet even more
What I want to do is remove the excess white spa
On Monday 24 June 2002 16:47, Haddad Said wrote:
> See when i echo $contents, the page displayed contains backgrounds and
> other text from the remote site, how can i crop only the returned query and
> display it in a page with my backgrounds etc
Short answer: with great difficulty.
Longer answe
$var = preg_replace("/\n*/","\n",$var);
"Jason Caldwell" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Is there an elegant way to remove excess blank lines from my form data?
>
> For example; if someone enters the following text and then press' the
> Submit b
You're completely right - as usual - now for the file handling... what's
better? Storing it to the DB or as file??
Thanks a lot.
> -Original Message-
> From: Jason Wong [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 24, 2002 5:46 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] URGENT!!!
> Anyone have a link (or the code) to copy the structure of a blank
table
> to a new table using mysql?
Untested, add in some error checking and validate the $old and $new
names, and adapt to your needs...
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
== compares 2 variables regardless of type ("1" == 1)
=== compares 2 variables with type in mind ("1" !== 1)
@ supresses errors in functions
"Phil Schwarzmann" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> What exactly happens when you put three equal-signs t
Well, in short, you want to replace \n\n\n or \n\n\n\n with \n\n.
This can be done cleaverly with a regexp (not my expertise at all, but you
want to replace 3 or more occurences of \n in a row with \n\n.
Otherwise, a simple str_replace() will do it an okay job.
something like:
Untested of co
On Monday, June 24, 2002, 3:46:02 AM, "èdy kurniawan" wrote:
> The manual doesn't show how we can execute kind of oracle store procedure ..
I know nothing about using Oracle from PHP, but a quick search on Google
revealed the following: http://www.phpworld.com/manual/ref.oci8.html - example
2 sho
replace that with
$var = preg_replace("/\n+/","\n",$var);
"Bb" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> $var = preg_replace("/\n*/","\n",$var);
> "Jason Caldwell" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Is
Jason Wong wrote:
> On Monday 24 June 2002 11:34, Phil Schwarzmann wrote:
> > I want to round a number to the nearest decimal place...
> >
> > if the number is 4.623, I want it to display 4.6
> > if the number is 2.36, I want it to display 2.7
>
> You don't really mean 2.36 --> 2.7 ??
>
> > Is th
neither worked. any other suggestions?
"Bb" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> replace that with
> $var = preg_replace("/\n+/","\n",$var);
>
> "Bb" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > $var = pre
Phil Schwarzmann wrote:
> I want to round a number to the nearest decimal place...
>
> if the number is 4.623, I want it to display 4.6
> if the number is 2.36, I want it to display 2.7
>
> Is there a function that does this? round(), ceil(), floor() don't do
> this and I've checked through all
> You're completely right - as usual - now for the file handling...
what's
> better? Storing it to the DB or as file??
File
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$var = preg_replace("/[\r\n]+/","\n",$var);
"Jason Caldwell" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> neither worked. any other suggestions?
>
>
> "Bb" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > replace that w
It does depend on the usage, but general files are better
"John Holmes" <[EMAIL PROTECTED]> wrote in message
000a01c21b69$74acc170$b402a8c0@mango">news:000a01c21b69$74acc170$b402a8c0@mango...
> > You're completely right - as usual - now for the file handling...
> what's
> > better? Storing it to
Hi,
I am trying to copy and resize an image using imagecopyresized() and
cannot seem to crack it. Below is the code I am using, can anyone tell
me why I keep getting and invalid image resource warning and is this
the src or dest parameter that the error is referring to?
$srcImageName = "../pr
Hi there.
I've tried to include a simple javascript in a .php file,
but couldn't get it to work.
Actually not even the php code worked at all...
Is there any specific configuration flag that needs to be
set up in the Apache server so that the javascripts work
correctly?
Thanks in advance
Lu
i've written a class for connecting to an ftp server in
passiv mode, sending a text file, sending one or
more .mpegs and disconnecting.
on my test box this script works fine (PHP 4.2.1) BUT
on my live box (PHP 3.0.18) it fails...
On the live box (php 3.1.8) the script fails when i
call the
Take a look at this page, it uses flush to stagger the results as php
processes it. pretty cool
http://www.massassi.com/bTemplate/benchmarks/benchmark_var_assign.php?i=50
-Original Message-
From: Uma Shankari T. [mailto:[EMAIL PROTECTED]]
Sent: June 23, 2002 11:14 PM
To: PHP
Subject:
Hello people out there!
I've experienced a curly problem with Linux 2.4.16, Apache 1.3.9 & PHP
4.0.6 (Slackware 8).
I use a session variable ($login) to manage the authentication to a web
administration interface: every page begins with a simple test which
checks if $login is stored in session.
php-general Digest 24 Jun 2002 12:07:30 - Issue 1424
Topics (messages 103506 through 103570):
Using Oracle Data base store procedure (function, procedure, package)
103506 by: èdy kurniawan
103507 by: Peter
103512 by: èdy kurniawan
103513 by: Peter
103
Sorry. The link below is broken. Try one of the mirrors on
www.phpclasses.org instead.
Christoph
Christoph Grottolo wrote:
> You could use the mail class by Manuel Lemos on php.upperdesign.com
> if you need cc/bcc and attachments. I've been using it for quite some
> time now with good results.
>
I want to set up a site at home to play with php
I have windows xp pro, dreamweaver MX and mysql
Do I need anything to view live application data locally in my browser
eg a dynamic php website that is on my local machine that i can access and
update?
I hope this makes sense
Can anyone point m
Javascript is client side and is not parsed by the server at all
If you are generating javascript with PHP, and it is in an external file, it
still needs a .php extension
Can you be more specific to the problem, paste some code?
"Luis Miguel N. Tavora" <[EMAIL PROTECTED]> wrote in message
[EMAI
I am looking for more examples on PHP and COM. I've got all the stuff from
the manual and the tutorials, but I want more. Anyone that can help plz?
Tx
MH
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Craig,
goto http://www.php.net/downloads.php and get the php exe installer
read this doc. http://in.geocities.com/samdarshipali/apache-php-mysql.htm
that should get you going.
cya
Henry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sunday, June 23, 2002, at 09:06 AM, Pekka Saarinen wrote:
> Most virtual server users have no means to set PHP.INI to their liking
> so changes like that should be done in longer time span to let
> developers update the software _before_ changes in PHP happen.
What about ini_set() ?
http
On Sunday, June 23, 2002, at 09:53 AM, Pag wrote:
> Is it possible to code in PHP a small indicator on a site saying
> how many people are viewing that page at the moment?
> Sorry if its a silly question, but i am a newbie at PHP. If it is,
> could you point me in the good directi
On Sunday, June 23, 2002, at 10:46 PM, Phil Schwarzmann wrote:
> What exactly happens when you put three equal-signs together instead of
> just one or two? I've seen this in other people's code, then search
> php.net and found nothing.
PHP does dynamic typing. So the following returns TRUE
hi all
i am working on php and i have problem with extensions. when I try to include a
library , I am getting this message :
unable to load dynamic library c:\php\extentions\sablotron.dll - one of the library
files needed to run this application cannot be found.
What should I do.
please help.
th
hi all
i am working on php and i have problem with extensions. when I try to include a
library , I am getting this message :
unable to load dynamic library c:\php\extentions\sablotron.dll - one of the library
files needed to run this application cannot be found.
What should I do.
please help.
th
hi all
i am working on php and i have problem with extensions. when I try to include a
library , I am getting this message :
unable to load dynamic library c:\php\extentions\sablotron.dll - one of the library
files needed to run this application cannot be found.
What should I do.
please help.
th
hi all
i am working on php and i have problem with extensions. when I try to include a
library , I am getting this message :
unable to load dynamic library c:\php\extentions\sablotron.dll - one of the library
files needed to run this application cannot be found.
What should I do.
please help.
th
On Sunday, June 23, 2002, at 09:30 PM, Vicki wrote:
> If you can suggest code that works, that would be great, or at least
> point me in the right direction if I'm on the wrong track with
> checkboxes. If you haven't noticed already, I'm very, very new to PHP
> and haven't quite got the hang of
Why not;
1. Record each visitors IP that connects and the connect time.
2. Delete from this table all records that are 5 mins old.
3. Count the remaining records as people currently viewing page.
James
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Otteneder Hermann wrote:
> hi everybody,
>
> i have a short problem:
> i have two drop down menues in a form. the content of the second dropdown is
> dependent from the selection in the first dropdown menue. now i want write a
> short javascript which runs on the onSelect - event of the first dro
I have a program in php, with access at mysql database.
The problem is, my users have to access Refresh button anytime when they want to see
real time values in database.
How to make a function for refreshing values in php pages, without pressing Refresh
button. What must i read?
Any help will
John Holmes wrote:
> The best way to do this is server side with strlen(). You can use
> javascript or maxlength, but if a user wants to get around it, they can.
>
> ---John Holmes...
>
John,
The best way to do this is with both. maxlength/Javascript as a courtesy,
strlen for security.
As yo
Download unix2dos.exe (there is also a dos2unix.exe)
http://www.bastet.com/software/UDDU.ZIP
If you are running the php on *nix, and wanting to import the file
on excel, you will need it..
Another thing you can do, is create it in an html/table format
data1
this wil
$DBCon = new COM("ADODB.Connection");
$DBCon->Open('PROVIDER=MSDASQL;DRIVER={Microsoft Access Driver
(*.mdb)};DBQ=your.mdb');
Function CloseSQL() {
global $DBCon;
$DBCon->Close();
$DBCon = "";
}
Function ExecSQL($SQL) {
global $DBCon;
$rs = @$DBCon->Execute($SQL);
if (!$rs) {
Kil
heh, my first thought was to suggest php-gtk you are right, I
see this question on asp lists all the time.. :)
--
===
Michael J. Ryan - tracker1[*at*]theroughnecks.com
Roughneck BBS: http://www.theroughnecks.net telnet://the
On Monday, June 24, 2002, at 10:04 AM, adi wrote:
> How to make a function for refreshing values in php pages, without
> pressing Refresh button. What must i read?
There's a meta tag that will auto-refresh the page after a specified
number of seconds. That will work. But you can't re-popula
>I have a program in php, with access at mysql database.
>The problem is, my users have to access Refresh button anytime when they
want to see
>real time values in database.
>How to make a function for refreshing values in php pages, without pressing
Refresh button. What must i read?
PHP can't co
"Paul O'Neil" <[EMAIL PROTECTED]> wrote in message...
> If a browser has cookies blocked , anyone have code if unable to
> set cookie then goto another page.
at the top of a page.. psuedo code
if cookie['test'] exists...
if true //cool
else
if get['cookietest'] exists
> Take a look at this page, it uses flush to stagger the results as php
> processes it. pretty cool
>
> http://www.massassi.com/bTemplate/benchmarks/benchmark_var_assign.php?i=50
I'd be interested to hear from other people if that works in other browsers.
It had a nice effect when I looked at it
$strMine = preg.replace("/(\r\n|\r|\n)+/",$strMine,"\r\n\r\n");
or "\n\n" as the replace.. :)
I use the (\r\n|\r|\n) to match against windows, unix, & mac line
terminations... I usually replace with the windows \r\n
--
===
Mic
would suggest "/(\r\n|\r|\n)+/" especially if the input is from a
browser that could be mac, or windows.. :)
--
===
Michael J. Ryan - tracker1[*at*]theroughnecks.com
Roughneck BBS: http://www.theroughnecks.net telnet://theroug
Can you please explain what you're doing more?
PHP and Javascript are completely different. PHP happens first, on the web
server, to create code to send to the browser. The browser then interprets
this code, executes any javascript, etc, and displays the page. You can't
have both at the same time
I'm running this PHP 4.2.1 DSO compile on a Mandrake 8.2 PPC and have Apache
1.3.23 Advanced Extranet server
When starting httpd I get this error ->
Executing: /etc/rc.d/init.d/httpd
starting httpd-perl:[ok]
starting httpd: Syntax error on line 74 of /etc/httpd/conf/httpd.conf
Cannot load /etc/h
Hi All
I would like to submit a form to call itself, and according to some
references I could use the $PHP_SELF variable in action attribute of the
form element in a HTML document
But it is not working for me, please help.
I have this line of code
in the html source page, I get
Can anyone ad
On Monday, June 24, 2002, at 10:42 AM, DoL wrote:
> Can anyone advice what did I missed here?
> Would this have anything to do with php or/and apache configuration?
Is it possible that your php.ini file is configured for
register_globals = off ?
If so, you should use:
$_SERVER['PHP_SELF'] i
On Monday 24 June 2002 22:42, DoL wrote:
> Hi All
>
> I would like to submit a form to call itself, and according to some
> references I could use the $PHP_SELF variable in action attribute of the
> form element in a HTML document
> But it is not working for me, please help.
>
> I have this line o
On Monday 24 June 2002 21:29, Erik Price wrote:
> On Sunday, June 23, 2002, at 09:06 AM, Pekka Saarinen wrote:
> > Most virtual server users have no means to set PHP.INI to their liking
> > so changes like that should be done in longer time span to let
> > developers update the software _before_
Within an executing script, what is the proper technique to determine the environment
of execution... i.e., browser or command line?
Bob Ahola,
Atlanta
On Monday 24 June 2002 18:57, Phil Ewington wrote:
> Hi,
>
> I am trying to copy and resize an image using imagecopyresized() and
> cannot seem to crack it. Below is the code I am using, can anyone tell
> me why I keep getting and invalid image resource warning and is this
> the src or dest parame
On Monday, June 24, 2002, at 10:55 AM, Jason Wong wrote:
> There are quite a few config settings which cannot be altered using
> ini_set(),
> register_globals being one of them, although that can be set using
> .htaccess
> files.
I see. I must have misread this page:
http://www.php.net/manu
I have a login, and when users are logged on, it should show in some way on
the page, that's not the problem, it is to show that they are logged off
when they are, often people forget to press the logout button, and the mysql
database is unchanged, saying they are still logged on, how can I do so
On Monday 24 June 2002 16:56, Justin French wrote:
> Well, in short, you want to replace \n\n\n or \n\n\n\n with \n\n.
>
> This can be done cleaverly with a regexp (not my expertise at all, but you
> want to replace 3 or more occurences of \n in a row with \n\n.
To add my tuppence's worth, I woul
On Monday, June 24, 2002, at 11:14 AM, Hawk wrote:
> I have a login, and when users are logged on, it should show in some
> way on
> the page, that's not the problem, it is to show that they are logged off
> when they are, often people forget to press the logout button, and the
> mysql
> data
Help!
I'm running this PHP 4.2.1 DSO compile on a Mandrake 8.2 PPC and have Apache
1.3.23 Advanced Extranet server
When starting httpd I get this error ->
Executing: /etc/rc.d/init.d/httpd
starting httpd-perl:[ok]
starting httpd: Syntax error on line 74 of /etc/httpd/conf/httpd.conf
Cannot load
Hi people,
Iam trying to make a script that you give it the login and password for
a determined password protected site, and it logs you in. It will be
like a proxy.
So, what I have is something like this:
So now.. here I have two problems:
1.) If the user enters a login/pass that is not th
Anyone know how I might convert a grayscale value, from between 0 to
100, to hex, such that 0 (black) would be returned as #00, and 100
(white) as #FF? For example...
function grayscaletohex ($val) {
$hex = $val ... [ a simple operation ]
return $hex;
}
Thanks.
Anyone know how I might convert a grayscale value, from between 0 to
100, to hex, such that 0 (black) would be returned as #00, and 100
(white) as #FF? For example...
function grayscaletohex ($val) {
$hex = $val ... [ a simple operation ]
return $hex;
}
Thanks.
On Monday 24 June 2002 23:33, General wrote:
> Help!
> I'm running this PHP 4.2.1 DSO compile on a Mandrake 8.2 PPC and have
> Apache 1.3.23 Advanced Extranet server
>
> When starting httpd I get this error ->
> Executing: /etc/rc.d/init.d/httpd
> starting httpd-perl:[ok]
> starting httpd: Syntax
I am using PHP 4.2.1, Windows 2000P, IIS4 connected to an Access 2000
database with an ISAPI module. I have created a very simple form and have
written a function to display radio buttons. While a hard-coded, HTML
version of the form works perfectly (correctly returning data), the php file
brings
Hi there,
i created a session based login and in order to enter the selected part of the script,
i check for the passed variable and if the session is registered, which only happens,
if the user password is right.
So, currently i am checking for:
else if (($login)&&(session_is_registered('log
Thanks I did all that ...do I have to have a working kerberos to do the
configure ...because then I get a meesage stating that php couldn't find a
simple progam ...however the confiure goes fine then when I make it dies with
recursive error 1 cannot find libgss_krb5.so ...and I am pointing to t
Hello All,
I’m working on a project here
at our university and need a little. We installed a wireless network and
bought 5 ipaq’s to use and experiment with. I wrote a work order system
that we are still using. Basically the tech guys want to be able to check WO
f
> Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting
T_STRING or T_VARIABLE or T_NUM_STRING in
C:\inetpub\wwwroot\PHP\cat_proto3.php on line 46
> Line 46 corresponds to the form tag, as follows:
>
>
When you echo out an array element, the name needs to be enclosed in
c
Hello
What would *you* do if you wordwrap a text and send it via the
mail() command, and your costumer gets the whole text on 1 single
line?
I'm using $newtext = wordwrap( $text,76,"\r\n" );
He has Outlook. When I'm testing it in my Eudora, in Bat and in
Outlook Express, it's wrapped nicely.
(
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 22 June 2002 15:19
> when I try and view stat.php I get this error:
>
> Parse error: parse error, expecting `T_STRING' or
> `T_VARIABLE' or `T_NUM_STRING' in C:\TecEco(Converting To
> PHP)\includes\stat.
Frank Miller wrote:
> I'm working on a project here at our university and need a little. We
>installed a wireless network and bought 5 ipaq's to use and experiment with. I wrote
>a work order system that we are still using. Basically the tech guys want to be able
>to check WO from t
Has anyone ever used Ensim on their server with PHP and MySQL.
I am looking at purchase Ensim to management my web sites. It looks like a
great product, but because it is embedded into RedHat, I am worried about
its flexible.
If I want to upgrade my PHP, MySQL or Apache on it. It doesn't look l
If you know its grayscale...
function GrayScaleToHex( $val ) {
$norm = $val * 2.55 + $val/100;
$hex = sprintf("%02X", $norm);
return '#' . $hex . $hex . $hex;
}
Should get you close enough.
Matt
René fournier wrote:
> Anyone know how I might convert a grayscale value, from betwe
On Monday, June 24, 2002, at 12:15 PM, Johnson, Kirk wrote:
> When you echo out an array element, the name needs to be enclosed in
> curlies, e.g.,
>
> echo {$_SERVER['PHP_SELF']}
I think that this is only important when using an associative array
element reference within certain kinds of quo
> // this won't work b/c of quoting issues
> echo "This script is called $_SERVER["PHP_SELF"]";
>
> // this should work fine IIRC
> echo "This script is called $_SERVER['PHP_SELF']";
Nope, use:
echo "This script is called $_SERVER[PHP_SELF]";
-Rasmus
--
PHP General Mailing List (http://www.p
On Monday 24 June 2002 23:54, General wrote:
> Thanks I did all that ...do I have to have a working kerberos to do the
> configure ...because then I get a meesage stating that php couldn't find a
> simple progam ...however the confiure goes fine then when I make it dies
> with recursive error 1 ca
I have an idea on how to do this. Could someone confirm whether this is a
good approach?
function grayscaletohex ($val)
{
$n = ($val * 255) / 100;// convert from range of 100 to
range of 255
$h = dechex($n);// convert decimal to hex
$result
I know because it was causing the problem I was talking about down a couple of
lines.
Quoting Jason Wong <[EMAIL PROTECTED]>:
> On Monday 24 June 2002 23:54, General wrote:
> > Thanks I did all that ...do I have to have a working kerberos to do
> the
> > configure ...because then I get a meesag
Have you tried this?
header("Location: $retURL");
?
> -Original Message-
>
> $retUrl = htmlspecialchars ($retUrl);
>
> if ($retUrl != "") {
> header("Location: " . $retUrl);
>
> Any ideas?
This messa
> -Original Message-
> From: Erik Price [mailto:[EMAIL PROTECTED]]
> Sent: 24 June 2002 18:12
>
> On Monday, June 24, 2002, at 12:15 PM, Johnson, Kirk wrote:
>
> > When you echo out an array element, the name needs to be enclosed in
> > curlies, e.g.,
> >
> > echo {$_SERVER['PHP_SELF']}
Hello all,
I am attempting to open and/or create a DBASE file on a NOVELL network.
When I attemp a command such as
if (!dbase_open("C:\\orders.dbf",2)){
print "COULD NOT OPEN DB";
}else{
print "DB WAS OPENED";
}
I receive a message that says "DB WAS OPENED - no problem...
On my IIS
I thought this syntax, an unquoted key name, was deprecated ;)
>From the manual at http://www.php.net/manual/en/language.types.array.php:
"You should always use quotes around an associative array index."
Kirk
> Nope, use:
>
> echo "This script is called $_SERVER[PHP_SELF]";
--
PHP General M
Not inside a quoted string.
On Mon, 24 Jun 2002, Johnson, Kirk wrote:
> I thought this syntax, an unquoted key name, was deprecated ;)
>
> >From the manual at http://www.php.net/manual/en/language.types.array.php:
>
> "You should always use quotes around an associative array index."
>
> Kirk
>
>
On Monday, June 24, 2002, at 01:30 PM, Ford, Mike [LSS] wrote:
> You can use:
>
>echo "This script is called {$_SERVER['PHP_SELF']}";
>echo "This script is called ${_SERVER['PHP_SELF']}";
>echo "This script is called $_SERVER[PHP_SELF]";
>
> or even
>
>echo "This script is calle
I don't know of any exploit that can start a session remotely. Only thing I
can recommend is that you modify the default session id to prevent local
hackers from hijacking your sessions (assuming you're on an ISP and not
running your own server). Also you should consider testing those variables
Does the user to which ISS runs under have network permissions to access p:\
?
IIRC you need to set up ISUR_machine_name to have permission to the remote
share.
Andrew
- Original Message -
From: "Dave Leather" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 24, 2002 6:29 PM
Hello php-general,
I need to run a separate version of Apache on the same server I also
what to use a different copy of the php.ini file with that version of
apache. I am aware that I can override most of the php.ini settings in
the httpd.conf file. But this is not what I want to do.
Php will be
nope, theres nothing in apache that needs to be setup for js to be used.
does your js file have any php in it?
when you say that you couldn't get it to work, do you mean that the include
doesn't work or that the js doesn't work on the page that you are including
it to?
Jim Lucas
- Original Me
Yes, and Yes...
Access is granted throughout.. Read, Write, Create, Erase, Modify and File
Scan access is granted for this login ID.
Any other suggestions?
Thanks again
Dave
"Andrew Brampton" <[EMAIL PROTECTED]> wrote in message
00ca01c21ba6$b2b36ea0$7432260a@student5830">news:00ca01c21ba6
1 - 100 of 190 matches
Mail list logo