-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Martin Towell blurted
> [link snipped]
>
> Don't click the above link.
or this one
http://www.areyouondrugsorwhat.com/
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com
-BEGIN PGP S
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then P. Westover blurted
> I'm looking for someone who has some extra time, who will answer my
> questions and guide me in the right direction with a project I'd like to
> create. I would like to work with one person, because everyone has
[EMAIL PROTECTED] (Hawk) wrote in
<[EMAIL PROTECTED]>:
Hi Hawk,
Here is a snippet of what I use:
if (isset( $txtUsername )) {
$sql = "Select a.* from admins a where ";
$sql .= "adm_name = '$txtUsername' ";
$sql .= "and adm_pwd = PASSWORD('$txtPassword')";
$resultID = mysql_query( $
Please help.
i'm trying to access a remote ftp server , with my script.
it all works nicely , i can log in , i can list folders , make folders,
delete stuff,
but NOT COPY FILES!!
it gives this warning and no error.
Warning: ftp_put: "/capetown" is current directory. in
/home/www/cticc/incubat
On Friday 25 January 2002 13:20, Ronald Tezuka wrote:
> To keep this arguement from going on indefinately one thing I know that I
> haven't seen anyone commenting on is the fact that even if MAX_FILE_SIZE is
> optional, the HIDDEN element is not optional. Somewhere on those PHP pages
> it says th
Robert J. Cissell wrote:
> Just out of curiosity, has anyone ever compiled an extensive point-by-point
> comparison of the advantages of LAMP vs. the other alternatives? If not,
> I'd be interested in starting something along those lines. That would be
> helpful to many people I think, so anyon
Just out of curiosity, has anyone ever compiled an extensive point-by-point
comparison of the advantages of LAMP vs. the other alternatives? If not,
I'd be interested in starting something along those lines. That would be
helpful to many people I think, so anyone who has ideas on what specifical
To keep this arguement from going on indefinately one thing I know that I
haven't seen anyone commenting on is the fact that even if MAX_FILE_SIZE is
optional, the HIDDEN element is not optional. Somewhere on those PHP pages
it says that you need to have one hidden element. MAX_FILE_SIZE is t
Oh - that's classic. That's the last time I try to answer phones and
email someone else about it too late at night!!!
Obviously I sent this to the wrong address (php.general) instead of an
internal account.
Still - take lemons and make lemonade:
Someone had called regarding our upcoming PHP
Someone called earlier asking for you about the PHP course. He was a
bit abrupt, and when I said $2500 (he asked the price) he pretty much
said 'thanks, I'll ask my boss, goodbye' and hung up before I could say
anything. I got his phone number, but no name. ? I don't know if
that'll he
syntax: document.forms["form_name"].elements["element_name"]
so: document.forms["fname"].elements["array[]"].somethingelse
-Original Message-
From: Rodolfo Gonzalez [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 25, 2002 1:55 PM
To: [EMAIL PROTECTED]
Subject: [PHP] array[] and Javascri
Hi All,
I'm new to PHP, but not new to web site design.
I'm looking for someone who has some extra time, who will answer my
questions and guide me in the right direction with a project I'd like to
create. I would like to work with one person, because everyone has their
own way of doing things.
Hi list,
I have a little problem here. I need data from a HTML multiple select box
passed to PHP. Ok, that's really easy, just put name="array[]" like this:
Alabama
...
But then, I *need* to access that select and its elements and properties
with Javascript (something like document.forma.arra
Mike,
While I sure hope you are right, could you please try to send the message to this
list only once (i.e. check your To: to make sure you aren't doubling up on the list
address).
I might add to your comments the recent security problems with almost every one of
M$ internet products - n
I posted a message earlier about copying files and it
was asked why I need to copy them. I need to copy
files because I am building a content management
system in which the base template files need to be
copied to instantiate a new page. Its completely
web-based and built towards the typical web
Yes, you can use javascript to get the user's resolution:
screen.width
screen.colorDepth
are two variables that you can access through javascript, which you might
find helpful.
Jeff
> Try Javascript. I dont recall offhand but there are some properties you
can
> use in Javascript to detect thi
We're all in a good position right now. The economy is beginning a strong
rebound, the pretenders have been weeded out, and a lot of companies are now
beginning to see both the technical AND financial benefits of open-source
technology. No buying licenses for server systems that provide less
sta
AND don't forget about X-FORWARDED-FOR.
(ie load balanced cache servers)
X-FORWARDED-FOR can be faked.
--
Yasuo Ohgaki
Compman86 wrote:
> If there are two people behind a NAT, then the site would check for a
> session ID and the IP. If a session ID is introduced AND their IP
> matches the sessio
Try Javascript. I dont recall offhand but there are some properties you can
use in Javascript to detect this sort of thing. PHP is all done server-side
and can't collect system properties from the user.
Mike Frazer
"Philip J. Newman" <[EMAIL PROTECTED]> wrote in message
00b201c1a549$39daf0d0
This sounds pretty nice.
Is there a place to look at some screen shots or even a live demo, etc.?
Florian
http://fc.clever-soft.com/
> -Original Message-
> From: Bogdan Stancescu [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 24, 2002 7:14 PM
> To: [EMAIL PROTECTED]
> Subject: [PH
Hi all!
As posted some time ago, the company I'm working for developed a GPL system
for project development (basically keeping in touch with the customers while
developing a project). I think this project may be of some interest for some
of you (well, hopefully, for may of you), so here's the
I am actually an ASP developer who is trying to take my current company in
the LAMP direction. I have been working on ASP/Win32/Just about everything
else Microsoft can throw out, and now I am really realizing the benifits of
a LAMP environment. I think during the gold rush, a lot of small busin
Yes there is.
http://marc.theaimsgroup.com/?l=php-general
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 24, 2002 6:38 PM
Subject: [PHP] Archive of this is. Is there a URL?
> Please advise.
>
> Thanks, Robin
>
>
> --
> PHP General M
I am wondering if there is a way to detect the version of the underlaying
library used in an extension.
For example: Determine the version of the slabtron library invoked by your
PHP script. Is it Version 0.81 or 0.70?
I could see this being extremly usefull.
I remember reading a while back that
I am not well versed in Apache. Is there so parameter that I may not
have sett correctly? Something that would cause the problen I am
having?
Todd
--
Todd Cary
Ariste Software
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For a
I had previously been hired by a CBS affiliate/sporting news provider and 80%
of the reason was my knowledge of PHP. Although I am no longer with that job,
I found it to be extremely valuable for my resume.
While you won't find PHP on their main website (they use Vignette Story Server
and Ora
Please advise.
Thanks, Robin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
I'm trying to display an image only if the user has a hi resolution? can anyone help?
Philip J. Newman
Philip's Domain - Internet Project.
http://www.philipsdomain.com/
[EMAIL PROTECTED]
Phone: +64 25 6144012
Vincent Stoessel wrote:
> On another list that I am on someone made this very bold
> statement:
>
> "I've seen a lot of jobs for ColdFusion & Oracle or MS SQL server
> experience combinations. Don't let anyone fool you, PHP/MySQL is not
> going to land you a job [;)] "
>
> now, as someone tha
It'd make more people happy I'll bet if you also included apache for
said platform. You might even like it. :)
On Thu, 2002-01-24 at 19:16, Andre Amaral wrote:
> Hi all. Here is my first attempt to make easy Step by Step installation
> manual for PHP4.1.x on Windows 2000 based systems running II
Mike-
If you're a LAMP user, then this vi mapping might help you out ;^)
:imap ~P $GLOBALS['HTTP_POST_VARS']['']hi
...and I believe I have addressed most of your points in my previous
posting on the subject. Forgive me if you've already read it, or if it
doesn't explain my position fully.
On Thu, 24 Jan 2002 15:45:34 -0800
Mike Eheler <[EMAIL PROTECTED]> wrote:
> I disagree based simply on two points:
>
> a) Ideally, the $HTTP_POST/GET and $_POST/$_GET vars should be treated
> as "read only".
I tell more : MUST be treated as readonly, as for every env/server or whatever
you want
"Andre Amaral" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all. Here is my first attempt to make easy Step by Step installation
> manual for PHP4.1.x on Windows 2000 based systems running IIS5 using CGI
or
> ISAPI. Here is the link that will ake a lot of
Hi all. Here is my first attempt to make easy Step by Step installation
manual for PHP4.1.x on Windows 2000 based systems running IIS5 using CGI or
ISAPI. Here is the link that will ake a lot of people happy. :)
http://www.experttek.com/php/installation.txt
Fell free to contact me. Contacts are i
Sorry, I forgot the newline at the end... your reg ex should look like:
//.*\n
making your command be:
ereg_replace("//.*\n","",$string)
Try that ;)
Jeff
> I think your problem is you are not including whitespace. Also, remember
> that . (dot) means any character except newline, so why not
Go to http://www.experttek.com/php/installation.php
Step by Step installatio on Win2k running IIS5
"Mark" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I apologize if the title of this post sounds overly aggresive, but I have
> followed the instructions to
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> A friend of mine showed me this code recently.
>
> function firstLogin_string() {
> mt_srand(make_seed());
> $pool = "AaBbCcDdEeFfGgHhIiJjKkLlM";
> $length = 26;
> for($i=0; $i < $length; $i++) {
>
I think your problem is you are not including whitespace. Also, remember
that . (dot) means any character except newline, so why not try this as your
reg ex:
//.*
Hope that helps.
-Jeff
- Original Message -
From: "José Daniel Ramos Wey" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent:
If you're trying to be able to keep reference to the order the records are
added to the table, simply add a date/time field and populate it with the
date/time now() when you insert. You can then sort on that as needed later.
- Original Message -
From: "Phil Schwarzmann" <[EMAIL PROTECTED]>
Don't be so rough - we all tried this at some time - remember, just before it
became an old joke? :-) And I didn't click on it either...
Bogdan
On Friday 25 January 2002 02:34 am, Martin Towell wrote:
> ok, i wont!! not trying to do reverse psychology are you?
>
> -Original Message-
> F
Remember, You *can* make certain values in a function optional. Place them
on the right side of the arg list and give them a default value, like:
function myFunction(arg1, arg2, arg3 = "foo", arg4 = "bar") {
... function guts ...
}
Hope that helps.
Mike Frazer
"Mike Eheler" <[EMAIL PROT
Hi! I´m new to regular expressions, and it seems to be an art to make it
work as expected.
I´m trying to remove all "single-line" comments from an string - that´s
everything after "//" to the end of a line. I expected that this would do
the job: ereg_replace("//[[:alnum:]]*\n","",$string), bu
no, that shouldn't affect it - ignore_user_abort() keeps the script going
even if the user aborts (I'm assuming you already knew that...) so the only
thing that I can think of that's keeping the script going it the while loop
- check the exit condition to make sure it does actually end...
Martin
I should also mention that the loop is sending mail using mail().
Is it possible that this is the problem somehow?
-Original Message-
From: Martin Towell [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 25, 2002 1:16 PM
To: 'Matthew Delmarter'; PHP Mailing List
Subject: RE: [PHP] set_tim
Thanks for your reply Martin.
Any ideas why ignore_user_abort would cause this problem?
-Original Message-
From: Martin Towell [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 25, 2002 1:16 PM
To: 'Matthew Delmarter'; PHP Mailing List
Subject: RE: [PHP] set_time_limit() in a loop
your
ok, i wont!! not trying to do reverse psychology are you?
-Original Message-
From: Philip J. Newman [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 25, 2002 11:34 AM
To: [EMAIL PROTECTED]
Subject: [PHP] A link
[link snipped]
Don't click the above link.
http://fusion.wha.la/~fusion
Don't click the above link.
I'm having trouble making a GET request using fsockopen. I'm using
the sample code from the www.php.net website (the first example on fsockopen's
function page). I get this error:
no socket: (0)
Here's the code I'm using:
$domain = "ww4.mrgres.com";
$fp = fsockopen($domain, 80, $errno, $errstr,
your first thought was correct - it sets it to 1800, it's NOT accumulative.
it would have something to do with ignore_user_abort(true); and also is
your while loop's exit check working?
Martin
-Original Message-
From: Matthew Delmarter [mailto:[EMAIL PROTECTED]]
Sent: Friday, January
> PHP does not support having multiple methods with the same name. Write a
> single method and check the number of args in that.
surprising that I've never come across this limitation even after writing php
for quite some time. Sorry for the wasted bandwidth!
--
-
Ma
PHP doesn't support that.
Dunno if it plans to, either.
There are workarounds.. can't remember exactly how it's done, but I
think I saw it on phpbuilder.com in a tutorial somewhere.
Mike
Marc Swanson wrote:
> I'm not sure if this is a known feature in php.. but the following code will
> gene
> Try this code. It assumes you are already connected to the database.
> Usually, I put that script in something like database.inc and just do an
> include.
>
> mysql_connect ("mysql_server", "username", "password");
> mysql_select_db("database_name");
> $sql = mysql_query("SELECT image, type FR
That would probably give you more control over the data.. however is not
really an ideal solution. Also, if you want speed.. go with the file method.
That's how I'd do it, anyhow.
Mike
Qartis wrote:
> I'm running a logs system where log entries are .log files with filenames
> like 03012002.log
Just a correction on that. It started as two points, then grew into 4..
I should proof read more often ;)
Mike
Mike Eheler wrote:
> I disagree based simply on two points:
>
> a) Ideally, the $HTTP_POST/GET and $_POST/$_GET vars should be treated
> as "read only".
>
> b) There is no good reas
PHP does not support having multiple methods with the same name. Write a
single method and check the number of args in that.
-Rasmus
On Thu, 24 Jan 2002, Marc Swanson wrote:
> I'm not sure if this is a known feature in php.. but the following code will
> generate this warning: Warning: Missin
If you are using a table with AUTO_INCREMENT set for one of the fields,
the default is for MySQL to assign any new row an AUTO_INCREMENT value
that is one higher than the currently highest value in that column. In
other words, MySQL by default does exactly what you say you are trying
to do.
I'm not sure if this is a known feature in php.. but the following code will
generate this warning: Warning: Missing argument 2 for foo() in
/raid/htdocs/test.php on line 7
-
\n";
}
function Foo($bar,$baz) {
// one argument constructor
Just wondering about set_time_limit() in a loop.
The current code looks something like this:
Does this reset the timeout to 1800 seconds every time it loops? Or
does it accumulate so that the timeout has 1800 seconds added to it
every time?
The reason I ask is that my ISP informs me that the
I'm running a logs system where log entries are .log files with filenames
like 03012002.log for January 3rd, 2002. You can view when logs have been
posted with a calendar, which will make the particular day a link if that
day's log file exists. I'm thinking of storing the log entries in a mysql
da
Let's say you have this table, pseudo-coded:
TABLE table
tableid int auto_increment,
value text
;
You could run this query on it:
insert into table values ('','value');
And the id will be auto generated. Same would apply with:
inert into table (value) values ('value');
Mike
Phil Schw
I disagree based simply on two points:
a) Ideally, the $HTTP_POST/GET and $_POST/$_GET vars should be treated
as "read only".
b) There is no good reason to mix the two. Consistancy is the ideal. If
you are working on an existing project, and you have the implied need to
assign values to keys
Okay, so when I INSERT a row of information into a MySQL database, I
don't want it to place it at the first empty row it findsI want it
to put it after the very last exsisting row.
One of the fields of the database is an AUTO_INCREMENT type, so Im
assuming Im gonna use that in the query.
How
Just got a job as a PHP Programmer, actually. Kinda rare in this area, I
guess it was a matter of being in the right place at the right time with the
right skills. I've been hired twice in the past based at least in part on
my PHP skills, as well.
Mike
"Vincent Stoessel" <[EMAIL PROTECTED]>
Anyone who wants to see the directory and filesystem fiunctions in action
together can go to http://www.invertedmind.com/baby/ (pardon the images,
they're of my nephew, I originally wrote the script because directory
listings are turned off on the server). If you want a copy of the script
you can
the MAX_FILE_SIZE field is OPTIONAL, so just because you didn't see it in
his code does not mean that's where it was broken at.
At 04:42 PM 1/24/2002 -0600, you wrote:
>If you READ, under the first example posted on the URL I referenced,
>you would see mention of MAX_FILE_SIZE field... which I
Hiya,
Just looking for some tips on reading formatted config files. The config
file is pretty strictly formatted.. here's an example:
# this is a comment. any text on a line after a # should be ignored
section "section1" {
option "value";
option-array {
"value 1";
12
I could be wrong about this, but here goes:
Strings are in fact arrays. An array of characters. The code your
friend gave you manipulates this array in the same way that it would any
"normal" array. The only problem (not really a problem even) is that
when dealing with character-based arra
In the face of tough economics, it's difficult to hold onto one's
ethics...
Not to start a flame war, but I really hope that the day doesn't come
that I'm forced to use a non-Unix platform for my development.
For now I have this luxury.
Erik
On Thursday, January 24, 2002, at 04:51 PM, Vin
I'm trying to find this string [url]http://www.php.net[/url]. I only know
the tag [url]and[/url]...I need to find this string and send
http://www.php.net to a new var or anything that is between url's tags...
I dont want to replace this string with another one...
TIA
Sabbath
--
PHP General
Hmm... I'm not familiar with the directory functions yet.
But perhaps you can use `ls -F` somehow -- this prints the name of each
file in the directory with a special character to denote its type. For
directories, this is a forwardslash. I.e:
localhost:~/Documents/Media Lab$ ls -F
(admin)ind
PHP 5 per-class constants can already except static arrays such as
array(1, 2, 3) as their value. I'll put the issue of global constants on
my TODO and believe PHP 5 will also support these for global constants.
However, you won't be able to create a constant with a non-constant value
such as $_GE
If you READ, under the first example posted on the URL I referenced,
you would see mention of MAX_FILE_SIZE field... which I do not see
in your HTML code. Additionally, if you look in the HTML posted in
the example on the URL I referenced you would see the actual syntax
needed for the MAX_FILE_SIZ
>-Original Message-
>From: Björne [mailto:[EMAIL PROTECTED]]
>Subject: [PHP] Using the fsockopen ()-function
>-
>$sp = fsockopen ( "www.php.net", 80, &$errno, &$errstr, 25 ); if ( !$sp ) {
> die ( $errno . ": " . $errstr );
>}
>else {
> fputs ( $sp, "POST /page.php HTT
The Zend Engine is programmed in C, if I remember correctly. Strings in C
are really just pointers to character arrays, which is what you see here.
Because PHP is a wrapper of sorts, it is basically covering up the fact that
strings are character arrays. The good programmers were nice enough to
I just learned about a cool function -- "mysql_insert_id()".
You can read about it in the manual, but it sounds like it could be used
to get the AUTO_INCREMENT number from the database and you can then
append that number to your uploaded image file name.
Erik
On Thursday, January 24, 2002, a
I though I had followed the example in the manual. Are you saying that
there is something I missed?
Todd
--
Todd Cary
Ariste Software
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECT
v0idnull,
[surely you don't think of yourself as a nonentity twice over?]
> A friend of mine showed me this code recently.
>
> function firstLogin_string() {
> mt_srand(make_seed());
> $pool = "AaBbCcDdEeFfGgHhIiJjKkLlM";
> $length = 26;
> for($i=0; $i < $length; $i++) {
> $key .= $pool[mt_ran
Thanks for your responses (again), it is an unfortunate situation that
$HTTP_*_VARS must be retained for backwards compatibility until at least
the hypothetical PHPv5.0 mark. Having also read in this group that
define() does not support complicated constants, I'm guessing that it's
not currently
On Thursday, January 24, 2002, at 05:01 PM, Lars Torben Wilson wrote:
> Robert, the $HTTP_*_VARS have, indeed, been deprecated, and this is
> noted in the manual.
Then it is safe to say that using $_* variables and -never- using
$HTTP_*_VARS variables is safe practice for forward-compatibili
it's treating a string as a character array - it's documented somewhere in
the manual, can't remember where though :( - not long ago someone was
saying that the new way it to use curly-brackets, but square brackets still
work for backwark compatibility.
-Original Message-
From: v0idnull
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
says...
> I did that with this script and it works fine, but the reason I am doing it
> is so I can then give the image which is uploaded the story ID. But for some
> reason I can't get it to work... here is the auto_increment script any ideas
> o
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
>
>
> Hello,
> I am in a bit of a pickle and would greatly appreciate any help. I
> have code which writes inputs to a txt file. These inputs are used as inputs
> to a c program. What I am trying to do is use the redirect command
> For some reason, I cannot get the following code to work - the file is
> not sent to the server. Is there something obviously wrong? I am using
> Apache on Linux (RH 7.2).
At least LOOK in the manual:
http://www.php.net/manual/en/features.file-upload.php
It's right there. First example. Pay
"error on line 0", maybe it's the auto-prepend file is not there?
-Original Message-
From: Scott Fletcher [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 25, 2002 3:25 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Warning: Failed opening '' for inclusion (.)
in Unknown on line 0
For some reason, I cannot get the following code to work - the file is
not sent to the server. Is there something obviously wrong? I am using
Apache on Linux (RH 7.2).
Todd
Submit this file:
--
Todd Cary
Ariste Software
[EMAIL P
Bj?rne <[EMAIL PROTECTED]> wrote:
> When I'm using the code below, the page that is returned is all white. What
> to do? Am I doing anything wrong?
the page you are requesting from www.php.net (/page.php) does not exist,
and will cause a redirect to the search page.
so all you should be getting
I have managed to set the file upload to change the name of the file when
uploading, but when the file is uploaded it takes the original file name not
the renamed one
image upload box is named 'picture' how do I get it to call the new file
name
Thank you for your help so far everyone...
Hi! I'm having trouble with the fsockopen ()-funcion.
When I'm using the code below, the page that is returned is all white. What
to do? Am I doing anything wrong?
-
$sp = fsockopen ( "www.php.net", 80, &$errno, &$errstr, 25 );
if ( !$sp ) {
die ( $errno . ": " . $errstr );
}
else
On Thu, 2002-01-24 at 13:42, Rasmus Lerdorf wrote:
> I think the real answer here is to treat these as read-only arrays. ie.
> never use them on the left side of the '=' and you will never run into
> problems. Or if you do, be consistent and use the same array all the
> time. You are writing yo
A friend of mine showed me this code recently.
function firstLogin_string() {
mt_srand(make_seed());
$pool = "AaBbCcDdEeFfGgHhIiJjKkLlM";
$length = 26;
for($i=0; $i < $length; $i++) {
$key .= $pool[mt_rand(0,strlen($pool)-1)];
}
retu
You could switch to Java. At least with Java you will learn something that
doesn't depend on Windows, but is still needed by Windows users. Not that there
is a huge market for Java developers right now either...
--
Ben Sinclair
[EMAIL PROTECTED]
- Original Message -
From: "Vincent Stoess
Heh. I got my first web development job back when pretty much anyone
could hang a shingle outside their door and call themselves a web
developer. My company worked in a Linux/PHP/Perl/Oracle environment.
While there I learned quite a bit about Perl and PHP and connecting both
of them to Orac
Good practice is to never assign to predefined variables, PERIOD. If you
need to alter the data, copy what you need to a new variable and operate on
that one. Not only does it circumvent these problems, it also maintains the
original data throughout the entire script in case you find you need it
On another list that I am on someone made this very bold
statement:
"I've seen a lot of jobs for ColdFusion & Oracle or MS SQL server
experience combinations. Don't let anyone fool you, PHP/MySQL is not
going to land you a job [;)] "
now, as someone that was making avery good living doing Linu
Seems that I had a few php.ini files finally found the right one and changed the
path in it and deleted the others.
Thanks
Nick Wilson wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> * and then Freddy blurted
> > I am getting the folloing error whenever I try to open a sess
Here's a sidenote to the whole script: save your server a little load by
removing the print statements. PHP is an embedded language; if you need to
print something just break from PHP processing with a ?> tag and use
standard HTML. You can embed to print individual
variables. If you are using
I think the real answer here is to treat these as read-only arrays. ie.
never use them on the left side of the '=' and you will never run into
problems. Or if you do, be consistent and use the same array all the
time. You are writing your code with the assumption that these two arrays
are the s
Sorry for the posting, I hadn't looked hard enough. If any of you need something
along the same lines go:
http://www.php.net/manual/en/class.dir.php
Sean
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTEC
Line 4 & 5 combined:
$text = substr($text, 0, $limit) . " ... your additional text here";
Mike Frazer
"Justin French" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> Really simple, but can't see which funtion to use in the manual.
>
> I want to take a
Did you remove the "AddType server-parsed" entry for .shtml that is usually
there by default? You may be better served asking this on an Apache
newsgroup.
Mike Frazer
"Christian Cresante" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>i want to have php
1 - 100 of 231 matches
Mail list logo