I have a question about the usage of fsockopen() to open and "scrape" the contents of
a remote URL: if the contents take a very long time to load on the remote URL either
due to server or coding issues, is there a way for the socket on the PHP end to time
out, that is, quit trying to "scrape" co
Hello again
thank's for the fast anwser.
So I trie it now with the access_log file but
this file become very big (20 - 40 MB)
and then i get "Allowed memory size of 10485760 bytes exhausted"
(i can set the size in php.ini to a higher value but ..)
is there a possibility to read a part
I'm not sure what you are trying to do exactly (i haven't been following
this thread) but if you want to analyze apache web logs try analog. It
can do everything and is *blazzingly* fast. I use on log file that are
10 Gb or greater ...
http://www.analog.cx
Jc
--
PHP General Mailing List (htt
You're missing string concatenation operators. I use "echo" instead of
"print" - but here's how it should look with either:
echo "";
Explanation: The \" makes the double-quote appear in the final HTML, then
you have to use a plain " to end the text string. Then you use the .
concatenation oper
Hi,
If I pass a (using POST) from one php script to another, which
contains the following HTML checkbox:
I know that the input will only be passed if the checkbox is ticked... but
how do I check if the checkbox was ticked and the value has actually been
passed ?
At the moment I am doing this:
"Shams" <[EMAIL PROTECTED]> wrote:
[snip]
> At the moment I am doing this:
>
> if ( $_POST["insurance"] == "yes" )
> {
> }
>
> But is there a more "accurate" way of checking the exsistence of
> "insurance"?
[/snip]
I think you're looking for isset():
http://www.php.net/manual/en/function.is
Why re-invent the wheel. There are plenty of these out there...
Two I suggest are
[1] mine... http://daevid.com/photo_album.phtml
And
[2] http://www.andymack.com/freescripts/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Or,
"Noel Wade" <[EMAIL PROTECTED]> wrote:
> You're missing string concatenation operators. I use "echo" instead of
> "print" - but here's how it should look with either:
>
> echo "";
Try this instead:
Just add curly brackets before and after the variable and don't forget the "$" sign.
So, t
Hi,
No problems with my code but instead I'd like some views on the best way of
doing the following:
When I read in a text field from a users HTML form, I will allow them a
maximum of say 50 characters. So, I define the corresponding field in MySQL
to be VARCHAR(50). The problem is that after I r
thanks a lot, thats what I was looking for
:o)
Shams
"- Edwin" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> "Shams" <[EMAIL PROTECTED]> wrote:
>
> [snip]
> > At the moment I am doing this:
> >
> > if ( $_POST["insurance"] == "yes" )
> > {
> > }
> >
> > But
>Everything works fine, just now I'm getting "Notice" messages for every
undefined variable or undefined index in arrays..
>So now I have to use issset() everytime to avoid this messages...
you would initialize your variables in the beginning of your scripts. With
that, you don't need isset().
>.
I've posted this a few weeks ago with no response. I want to use an
external
"email template" as it were, so that the sales guys can edit it as they
like and simply shuffle the variables around that they need
$username and $password (either with or without the tags).
I don't want them mucking aro
Hello,
"Jim" <[EMAIL PROTECTED]> wrote:
...[snip]...
> How do you guys go about resolving this situation?
Well, first, increase the size of your field, say VARCHAR(100) then in your form, use
"maxlength" like this:
That would prevent them from entering more that 50 characters. (At least,
I think this should make it:
ob_start();
include("/pathto/customer_email.php");
$message = ob_get_contents();
ob_end_clean();
- Original Message -
From: "Daevid Vincent" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 10, 2003 10:48 AM
Subject: [PHP] how can I use an ext
redhat linux 7.3
apache 1.3.27
mysql 3.23.49
php 4.0.4pl1 (static install)
mod_ssl-2.8.12
the box had php 4.2.3 installed on it originally.
we had a mysql application that would only run
with php version 4.0.4pl1 so we installed that
version of php and everything worked.
later we ran autorpm with
"Daevid Vincent" <[EMAIL PROTECTED]> wrote:
> I've posted this a few weeks ago with no response. I want to use an
> external
> "email template" as it were, so that the sales guys can edit it as they
> like and simply shuffle the variables around that they need
> $username and $password (either wit
You high jacked someone else's thread, probably because you hit the
"reply-to" button and just changed the subject line instead of posting a
"new" message.
Try posting again, creating a new message this time. You'll start your
own thread and will definitely get more answers ...
Jc
Christian S
Can anybody explain me what does mean error:
Warning: main(footer.inc.php) [function.main.html]: failed to
create stream:
Too many open files in /www/sql/main.php on line 96
(phpPgAdmin 2.4.2 scripts, PHP 4.3.0 + Apache)
Does PHP exceed any limit of opened fil
On Wed, 8 Jan 2003, Macrosoft wrote:
> Can anybody explain me what does mean error:
>
> Warning: main(footer.inc.php) [function.main.html]: failed to
> create stream:
> Too many open files in /www/sql/main.php on line 96
>
> (phpPgAdmin 2.4.2 scripts, PHP 4.3.0
Thanks Michael!!
This process is something really new to me and sounds like there is much to
learn abt. Thanks for the guide.
Can I also request that you send the perl equivalent script that you have
written to me to [EMAIL PROTECTED] please? Thank you very, very
much =)
kokboon
-Original
I agree with Edwin on this one.
What's the <<< for??
Could it be you want to be doing this:
$templatestring = include("/pathto/email_template.php");
$message = "<<" tags
will be considered plain text. Put another way: Even though the "include"
statement in the main document is ALREADY between
Title: Mensagem
I have just
installed php 4.3.0 what do I have to do now to get the gd library to
work?
thanks
Jorge Martins
J[EMAIL PROTECTED]Engenheiro
de InformáticaEngineering Department Tel
> -Original Message-
> From: Dave Gervais [mailto:[EMAIL PROTECTED]]
> Sent: 09 January 2003 21:36
>
> Here is the C code. There is a decode function, but I don't
> need it in
> PHP because I have a C program listening to serial port on
> the other end
> that will validate the checksum
"Phil Powell" <[EMAIL PROTECTED]> wrote... :
> I have a question about the usage of fsockopen() to open and "scrape" the contents
>of a remote URL: if the contents take a very long time to load on the remote URL
>either due to server or coding issues, is there a way for the socket on the PHP en
[EMAIL PROTECTED] wrote... :
> I would like to know if the follwing function can be implemneted
> in php with help of other tools:
in PHP distribution? PHP is the programming language, not a
client/server tool. This is definitely something to be an integrated
part of something else.
> using MS
Excel on its own is a compiled document. However, I think there was some
way to do that. I remember I had to do it for MS Aceess files (Access ->
mySQL) and i used a tool made by a brasilian guy, (someone remind me the
name). I have the feeling that this is accomplisheable. Not sure if
directly on
Martin Hudec <[EMAIL PROTECTED]> wrote... :
> Hello,
>
> i have document in html and i want to get out string between
> tags to put it into another variable..
>
> i am wondering if i could use eregi() herebut how? I cant figure
> out any possible way... same with strchr() and strstr()
all
Hi,
I haven't seen anything like that implemented yet. I have my functions
logically grouped/organised into files... I only include the file when
needed. Some files (like my string functions and DB functions) are
auto-prepend (a php.ini directive) auto-included into every script, which
does save
"Sean Malloy" <[EMAIL PROTECTED]> wrote... :
> Moving to PHP from an ASP backgroun, I always found one thing really
> annoying about PHP.
>
> With ASP, you could have a file structure such as:
>
> SYSTEM
> |--HTML
> | |--header.asp
> |
> |--LOGIC
> | |--engine.asp
> |
> |--core.asp
>
> in de
If this is a one off excercise, ie you only have to do it once and
afterwards things will be dealt with ENTIRELY through the MySQL database,
you could save the spreadsheet as a CSV file and work with that.
HTH,
Richy
==
Richard Black
Senior Developer, Dat
Totally depends on the data in question.
I tend to organise my data in a mySQL database, for easy queries, sorting,
categorisation, etc etc. However sometimes I associate a file to a record
(eg a photo of a member or employee)... so the employee with the id 45 will
have a photo stored in the file
Hi,
I got a question about using Mysql databases.
I load textdata in VARCHAR colums up to size 50. I have about 5 of those
columns.
The last columns often contain empty cells. (data are wordmeanings, many
words have only a 1 or 2meanings)
What would be faster/better:
- putting everything in a b
Basically, you want to do a regular expression to see what characters are in
the username, and make none of them are illegal...
I currently have the rules of
5-30 characters
lowercase, numbers 0-9 and underscore (_) only
I achieve this with:
30) ) {
echo "username invalid -- must contain o
on 10/01/03 6:14 PM, Tom Rogers ([EMAIL PROTECTED]) wrote:
> I use webdrive which allows me to map an ftp site to a windows drive letter so
> it gets treated as a local drive . very usefull.
> You can read about it here http://www.webdrive.com/
Does anyone know of a mac (OS8/9 NOT OSX) applic
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 10 January 2003 01:00
>
> All of a sudden, I get the message:
> Warning: Failed opening '/../lib/somefile.conf' for inclusion
> (include_path='.:/usr/local/lib/php') in
> /usr/local/www/html/index.php on
>
Hello!
I don't know if there is a bug on php4-imap debian package, but I could
not connect to to my IMAP server. (With mutt it works).
PHP says:
Couldn't open stream {localhost:143/notls}INBOX
I have tried everything. Add/remove the "/notls" to the port, imap2, imap3,
imaps, dpkg-reconfigure lib
Hi,
Where did he say he wanted to use Word to edit PHP files? AFAICT the idea
was to automatically upload Word files, presumably to make them available on
an Intranet for download etc.
As for uploading a file automatically - PHP isn't going to do it. An app
which can map a virtual drive in Window
> -Original Message-
> From: Jason Sheets [mailto:[EMAIL PROTECTED]]
> Sent: 10 January 2003 02:25
>
> You should always use the exit after a redirect, the browser is not
> required to go to the new location.
>
> If you do not exit your script after you redirect and the browser does
> not
You can make a special case - if a special cookie is present, session is
not required. Then your client script would send the cookie.
Max Davy wrote:
Hi,
I finally figured out how to use fsockopen() to post data
when my server responded with a Document Moved error.
I knew the document was wher
Nick,
> As PHP becomes more accepted in the corporate world, it is only logical
> that larger and more complex applications are going to be developed using
> it.
To start I will state this: I am one of the consultants of a project
run by 70 developers for the period of 2 years at the Ministr
Adam, et al --
...and then Adam Ferguson said...
%
% Hello ...
Hi!
%
% I was wondering if anyone had a good resource or code sample for opening ( or
accessing ) an excel spreadsheet using php. I need to be able to convert a
spreadsheet of products and info to a table of products in a mysql
Sean, et al --
...and then Sean Malloy said...
%
...
%
% Its a bad example. However, it demonstrates that the relative path for each
% include changed depending on what file was being included.
%
% PHP doesn't do that. Which is kind of annoying, but you get used to it.. But
Not only does one g
Hi,
I´m a newbie in PHP.
How can I declare a structured type in PHP like the struct statement in C ?
Thanks
amjr
On Fri, 10 Jan 2003 10:38:31 + (GMT), you wrote:
>On Wed, 8 Jan 2003, Macrosoft wrote:
>
>> Can anybody explain me what does mean error:
>>
>> Warning: main(footer.inc.php) [function.main.html]: failed to
>> create stream:
>> Too many open files in /www/sql/main.php on
use array, but remember, there is no type declaration in php.
example
$structure = array ( 'id' => 1,
'subs' => array( 'sub1', sub2'));
ntuser wrote:
Hi,
I´m a newbie in PHP.
How can I declare a structured type in PHP like the struct statement in C ?
Thanks
amjr
the thing that may make difference in performance (as i think) is whether
you make it a fixed -CHAR- or a variable -VARCHAR- it's preferable that you
make separate char columns, so that PHP will not have to explode every
record!
Regards,
Khalid Al-Kary,
Hi,
I got a question about using Mysq
redhat linux 7.3
apache 1.3.27
mysql 3.23.49
php 4.0.4pl1 (static install)
mod_ssl-2.8.12
the box had php 4.2.3 installed on it originally.
we had a mysql application that would only run
with php version 4.0.4pl1 so we installed the
old version of php and everything worked.
then we ran autorpm wi
I see what you mean Khalid, but I only retrieve 1 entry at the time, so
exploding wouldn't be the biggest problem I suppose.
Furthermore, if I use char columns, and some of those columns have lots
of empty cells, isn't it a waste of space/lookup-time?
So I think I have to reformulate the questio
Thanks! But your .txt are not carriage-returned, it just runs continuosly,
very hard to read. Is that you odd programming style or can you send me
another that has "enter" and newline?
Sorry for the trouble... sorry..
-Original Message-
From: Michael Sims [mailto:[EMAIL PROTECTED]]
Sent:
-Original Message-
From: Michael Sims [mailto:[EMAIL PROTECTED]]
Sent: 10 January 2003 09:30
To: See kok Boon
Subject: Re: [PHP] how to make server response to emails
On Fri, 10 Jan 2003 18:51:07 +0800, you wrote:
>Thanks Michael!!
Not a problem...
>Can I also request that you send th
Benjamin, you are my father! Dude! That worked perfectly...
In case you all didn't understand what I was trying to do, attached are
some examples... This worked thanks to "Benjamin Vincent" ;-)
snip 'customer_email.php' --
Untitled
Username
Anyone?
CDitty
>>> "Christopher Ditty" <[EMAIL PROTECTED]> 01/09/03 04:04PM >>>
I have successfully installed oracle 8.1.7 w/ php and have it
configured
to run from the command line. When I run a simple script that
connects,
and selects records from the database, the last line is a segmentation
Hey All.
The subject line pretty much says it all.
I have php-nuke installed in the / directory and it works
fine.
However, when I try to run the gallery or netjuke software
(also php)
They just return the source code of the file. (not exactly
wha
I highly doubt it. The server, and PHP, have absolutely no idea about
frames and don't care about them, it's just handling page requests.
Frames are a display feature in the browser and it's the browser that
requests the various pages it needs for display. PHP is just getting a
few page request
> -Original Message-
> From: Simon Dedeyne [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 10, 2003 9:03 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [PHP] Mysql/php database performance question
> So I think I have to reformulate the question: which is
> better 5 varchar columns of size
On Friday 10 January 2003 09:27 pm, Michael Sims wrote:
> >> Warning: main(footer.inc.php) [function.main.html]: failed
> >> to create stream:
> >> Too many open files in /www/sql/main.php on line 96
> As someone else said, this is an OS issue, but if you're running on
> Li
Can PHP connect to IMB DB2 dbms running on an AIX Unix server?
Jack
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
For a moment, I thought you were referring to me when you said "Fletcher"
since it's my name also. :-)
FletchSOD
"Mike Ford" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > -Original Message-
> > From: Dave Gervais [mailto:[EMAIL PROTECTED]]
> > Sent:
Here's the challenging project I'm doing. I'm trying to encrypt the user_id
and password in javascript and submit it. Then have PHP to decrypt the
user_id and password. The only problem I have is I don't know what
javascript function or javascript algorithm that can also work the same way
as the
Yes, it can. Use the odbc_connect. Here's what I use that work...
--clip--
$database = "TEST_DB";
$user = "db2inst1";
$pass = "ibmdb2";
$cid = @odbc_connect($database,$user,$pass) or die("Unable to Connect to
Database !!!") ;
if ($cid == 0){
exit("Unable to Connect to Da
Are you saying that OCILogoff gives you the segfault?
It's very strange because OCILogoff is actually an "empty" function -
all the contents of that function is commented and is there only for the
backwards compatibility reasons. Zend API ends OCI sessions
automatically as script's execution ends.
"keeping those 5 columns with a lot of empty cells in the last columns"
is better as it is means exactly for that. Just don't make it a not null
field.
--
Maxim Maletsky
[EMAIL PROTECTED]
"Khalid El-Kary" <[EMAIL PROTECTED]> wrote... :
> the thing that may make difference in performance (as i
Be care of the PHP bug on one of hte php function, odbc_fetch_row(). This
function does not very well start at 0 when the odbc_fetch_row() start
automatically, so you'll have to at the counter inside the function. Why is
that, I do not know. Here's the example of the workaround I did.
--clip--
G... I meant to say "Be careful of the PHP bug".
"Scott Fletcher" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Be care of the PHP bug on one of hte php function, odbc_fetch_row(). This
> function does not very well start at 0 when the odbc_fetch_row() s
"Jacob" <[EMAIL PROTECTED]> wrote... :
> Hey All.
>
> The subject line pretty much says it all.
>
> I have php-nuke installed in the / directory and it works
> fine.
> However, when I try to run the gallery or netjuke software
> (also php)
> The
Session Destroy will work if you provide the user a way to log out of the
website. But if the user closed the browser then that's it. Session
Destory can't be used because the browser is a client side and Session
Destroy is a server side. So, once the browser close, it doesn't contact
the server
I don't normally have problem with using session functions on the Win2000
Server using IIS 5. It work pretty well. You may will want to narrow down
the problem and find out if it is a session problem only or if it is
something else. I don't use some of the IIS patches like the IIS Lockdown
as an
108-1.txt, 20030108-2.txt, 20030108-3.txt, 20030109-1.txt,
20030110-1.txt, 20030110-2.txt
The script should parse the file names and get the most recent five ones!
The text inside should be included in the page -> but this is not the
problem, the task mentioned above is the problem!
Thx in adv
The way you want it can be securely done only using asymetric
encryption, which is not available to JS.
Do you really need to encrypt user_id? You could use md5 to hash
password with some random string,
store the hash in a hidden field and erase password. On server side if
the hidden field is se
char of greater size than 3 is converted to varchar anyways
Where's the pain? The trade off between char and varchar is speed vs
table size. Are just trying to be as fast as possible? If the db is
small, I wouldn't worry about it and do what ever way you want (i.e.
what's a microsecond or two
I'll look into this and try it out. The only thing that is important to me
is that the password get encrypted before transmitting across the internet.
I'm not worry if the JS is disabled because if it is then the login will
never be authenticated. I'll keep on exploring for way to increase
securi
Hello. I can't get this code to work. The error message I get is that the header could
be added, cause it has allready been sent. What shalll I do to get it to work?
//Anders
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) > 5))
{
window.alert("Upgrade version of N
Hello friends,
Can someone please redirect me to some source with javascript for following?
1. Checking if a text box is populated before going to the next page.
2. To check if any item is selected in a listbox before posting data to the next page.
3. to check if a radio button is selected before
Javascript has a function for performing actions on window close. You could
have a submit action on the page that is sent when the window closes. I've
not used it yet but it should work I would think.
Larry S. Brown
Dimension Networks, Inc.
(727) 723-8388
-Original Message-
From: Scott
Hi Anders,
You can't send a header to the browser once output has been sent. The
header() function should be before any other output on your script. Further
more, because the script isn't terminated after the header() function, and
you usually do not want to continue running it, an exit() should d
Dale Schell wrote:
List,
I have a website that uses (too) many frames. At its most ugly, it will
load 8 frames at once. All of the pages in these frames activate the
session, and some of them modify session variables.
Can this cause the pages to load slowly? Can a page have the session
file
>"Anders mellström" <[EMAIL PROTECTED]> a écrit dans le message
news: [EMAIL PROTECTED]
>Hello. I can't get this code to work. The error message I get is that the
header could be added, cause it has allready >been sent. What shalll I do to
get it to work?
Please have a look at http://www.php.net/ma
> -Original Message-
> From: Marek Kilimajer [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 10, 2003 11:04 AM
> To: Matt Schroebel
> Cc: Simon Dedeyne; [EMAIL PROTECTED]
> Subject: Re: [PHP] Mysql/php database performance question
>
>
> char of greater size than 3 is converted to v
That would work only if the webserver IP address is '127.0.0.1' (local
machine), but not any other IP address. Because of the ACK synchrious
communication that get interrupted as result of the browser closing.
"Larry Brown" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTE
Also look at empty(). I don't know if the $_POST array will send the key if
it as no variable. I know on a regular post it does send the variable, but
it has no value. I have used isset with just receiving post data and got
strange results. On one I had an isset statement that ran a result that
Should look like this:
Anders Mellström wrote:
Hello. I can't get this code to work. The error message I get is that the header could be added, cause it has allready been sent. What shalll I do to get it to work?
//Anders
exit;
}
else
{
//print("Byt w
Sure, just tried it (32-bit platform, might be >7 for 64-bits).
I have a feeling it is somewhere in the manual.
Matt Schroebel wrote:
-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 10, 2003 11:04 AM
To: Matt Schroebel
Cc: Simon Dedeyne; [EMAIL
On Friday 10 January 2003 17:39, Scott Fletcher wrote:
> > Javascript has a function for performing actions on window close
> That would work only if the webserver IP address is '127.0.0.1' (local
> machine), but not any other IP address. Because of the ACK synchrious
> communication that get
Yes, the JavaScript code can run before the browser is closed but it would
not be finish running because the browser closing had been executed.
Someone had tried it before and struggled with it. But that is a good
advice, thanks for jumping in.
"Tamas Arpad" <[EMAIL PROTECTED]> wrote in message
> -Original Message-
> From: Marek Kilimajer [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 10, 2003 11:45 AM
> To: Matt Schroebel
> Cc: Simon Dedeyne; [EMAIL PROTECTED]
> Subject: Re: [PHP] Mysql/php database performance question
>
>
> Sure, just tried it (32-bit platform, might be
Greetings,
Why is that, that when we try to issue a include statement, which has any kind of
"Relative" path in it, it will fail if the php script is mapped into apache web tree
by "Alias" Statement ?
An example: We have:
/a/b/one.php
/a/c/two.php
/a/three.php
Apache Alias stament is:
Alias
Question...Do you know if Mozilla runs a browser instance that might handle
the process after one of the browser windows is closed? Right now the
situation is that IE closes the session when the window that opened it
closes. I have a site that is authenticated and then runs sessions on the
authen
seems to be a little bit more complicated:
CREATE TABLE `aa` (
`id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`aaa` CHAR( 50 ) NOT NULL ,
`bbb` CHAR( 50 ) NOT NULL
);
both aaa and bbb are char now
CREATE TABLE `aaa` (
`id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`aaa` CHAR( 50 ) NOT NULL ,
`b
Oh, sorry, i should have remarked that all of the columns should be fixed
width (CHAR) for this optimization to take effect, since if even one of the
columns is variable width (VARCHAR) the whole row will be variable width,
and it will be no use to change to CHAR.
Regards,
Khalid
seems to be
Thanks, that helped out a lot. One of those RTFM times.
Dale
On 1/10/03 10:24, "Marek Kilimajer" <[EMAIL PROTECTED]> wrote:
> Dale Schell wrote:
>
>> List,
>>I have a website that uses (too) many frames. At its most ugly, it will
>> load 8 frames at once. All of the pages in these frames ac
Hi
I'm totally confused. What I need is the following:
User registers and I need to create an e-mail alias for him,
something like [EMAIL PROTECTED] If someone sends an
e-mail to the above address, I need to redirect it to the
user's real e-mail address. I'm totally lost...can this be
done in
You meant the tab browers. Like 2 tabs... I haven't tried it but now that
you mentioned it, I'm going to have to look at it soon. I do noticed one
thing, the status bar, if it have comments, it will show up on other tabs
even though it is a completely a different website. I get the impression
t
I want to thank all those who made suggestions. All were helpful.
Question:
As my server is on LAN only, I could turn on the register_globals for
debugging purposes etc. But, is the only way to turn register_globals on to
uninstall and then reinstall mod_php4 with a modified php.ini file?
Or is t
It helps for me being able to re-login as a different user. It's a good
idea but it still leaves a bit to be desired for security. I'm going to
also post this to the js list and see if they've worked with it before.
Larry S. Brown
Dimension Networks, Inc.
(727) 723-8388
-Original Message---
only modify php.ini and restart the server (apache, not the computer),
run as root:
/etc/init.d/httpd restart
[EMAIL PROTECTED] wrote:
I want to thank all those who made suggestions. All were helpful.
Question:
As my server is on LAN only, I could turn on the register_globals for
debugging pur
as a 'one off' exercise I recently did something similar except the data was
from Access, but would work the same from an excel file:- saved as
a CSV file and then used phpMyAdmin to import the CSV file data into a MySQL
table (of course, didn't have to use phpMyAdmin for this but it did make the
i
Ok I think I understand this better, my garbage collection is working but I just
didn't see it before. Until I check to see if the data was actually being deleted
from the /tmp
directory (der!).
I was using just one browser to test this. So when I navigated through some test
pages passing
the
At 12:01 PM 1/10/2003 +, you wrote:
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 10 January 2003 01:00
>
> All of a sudden, I get the message:
> Warning: Failed opening '/../lib/somefile.conf' for inclusion
> (include_path='.:/usr/local/lib/php') in
> I'm looking for online
> references, personal experience and opinion and even examples of open
> source code which you think demonstrate the above criteria on this one.
I have found the Smarty template engine (http://smarty.php.net/) to be a
most excellent tool for separating business logic and
"Larry Brown" <[EMAIL PROTECTED]> wrote:
> Also look at empty(). I don't know if the $_POST array will send the
> key if it as no variable. I know on a regular post it does send the
> variable, but it has no value.
What's a "regular post" anyway?
Well, the key is passed even when there's even
1 - 100 of 174 matches
Mail list logo