You should try EditPlus !!! I love it!
http://www.editplus.com/
It runs on Win95/98/2000/NT and will create a Unix/Mac/PC file. Has custom
syntax highlighting, spell checker, integrated web browser, etc, etc. It
handles PHP, ASP, Perl, C++, and more...
""scott [gts]"" <[EMAIL PROTECTED]> wrote i
On Tue, Jun 26, 2001 at 05:40:07PM +1000, Peter Phillips wrote:
> Thanks for your help, this is what I get when I try a uptime while logged in
> as nobody.
>
>
> host:/# su nobody
> host:/$ uptime
> Error: /proc must be mounted
>
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Richard Kurth) wrote:
> I am having problem getting the info back after I send it to a
> function.
>
> if ($line1){ //This is what is in Line1 Dear ##fullname##
> $line=$line1;
> proce($line);
> $line1=$line;
> }
>
> Function proce($
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] ("Chad Day") wrote:
> $BLAH = round($BLAH, 2);
>
> Spits out a wrong parameter error. I've tried quotes around the variable,
> the parameter, and any combinations, but it still pukes on me. Why can't I
> specify a precision?
According to the
Hello,
Thanks for your great advice,
and also the tutorial http://www.aditus.nu/jpgraph/jpg_phpoo.php helps so much.
I guess I was confusing a copy of object and a reference of object.
btw that's too confusing!
"Gyozo Papp" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I've not tried your code yet, b
Hello everyone,
Sorry for the simple question but I'm trying to learn a little more
about PHP and just need a little help. I'm currently running PHP3 if
that helps. I just need to reload the "main" frame on my site with a
new page once the user has logged in. All the navigation and login ar
why do $REMOTE_ADDR always returns 127.0.0.1 no matter the user's IP who is
seeing the page?
this doesn't look 'remote' to me...
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP General Mailing List (http://www.php.
try http://astro.phpwebhosting.com/~ttm/
or home site for windows .. however I do think, though am not sure, visual Php is
available on linex & windows (I'm using windows)
-Original Message-
From: Miles Thompson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 27, 2001 3:42 AM
To:
Will Session have problem when people browse from a http page to a https
page and go out again?
--
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 PROT
If you don't have access to a database, why not put all the data in arrays
and then use the array sorting functions?
--Jason
--
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 admini
Rick, just an idea wouldn't the use of a database make this alot easier for you ??
then you can just sort your db results by date
-Original Message-
From: Rick Proctor [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 27, 2001 4:04 AM
To: [EMAIL PROTECTED]
Subject: [PHP] RE: Eve
Almost as if the request was proxied or redirected from the local machine
(127.0.0.1 is the local loop back ip)
Quoting Christian Dechery (Tue, Jun 26, 2001 at 10:31:54PM -0300)
> why do $REMOTE_ADDR always returns 127.0.0.1 no matter the user's IP who is
> seeing the page?
>
> this doesn't loo
> Sorry for the simple question but I'm trying to learn a little more
> about PHP and just need a little help. I'm currently running PHP3 if
> that helps. I just need to reload the "main" frame on my site with a
> new page once the user has logged in. All the navigation and login are
> handled
> > You're returning a value to nowhere. Change"proce($line)" to
> > "$returnedvalue=proce($line)".
> Or if you want to keep your code as is just define proc() as:
>
> function proce(&$line) { }
Or use "global $line;" or add $line to the $GLOBALS array, so that the
function's local chang
In article <046401c0fee3$a6c789e0$6401a8c0@Lynchux100>,
[EMAIL PROTECTED] ("Richard Lynch") wrote:
> > $result_id = @mysql_query("DESC $table_name $field_name");
>
> I don't think "DESC $table_name $field_name" is valid SQL, is it?...
>
> DESC is DESCENDING in an ORDER BY clause...
>
> Pe
Hi NG,
my problem is following:
I made a query on a table on a MS SQL Server 2000. The table have a
key-column from type uniqueidentifier. Ever i made a query on this column,
the result is not right. It comes back some crypt.
For example:
Value Database: 496467D1-7646-4094-8016-087083EA9432
R
On Tuesday 26 June 2001 21:35, Jason Lustig wrote:
> I have PHP 4.04pl1 set up on a IIS 5 server on Windows 2k. However, it
> keeps on crashing the server -- not all the time, but sometimes it does,
> sometimes it doesn't. And I have no idea whatsoever what is causing it. I
> *think* that it has t
Hello:
> try http://astro.phpwebhosting.com/~ttm/
You can access using this address, or http://www.visualphpstudio.com or
http://www.qadram.com
> however I do think, though am not sure, visual Php is available on linex &
windows (I'm using windows)
QaDRAM it's not still available on Linux, accord
> Hey Dudes, little off the PHP Subject, but Linux I have "RedHat 7.1" CD
Here, and i want to dual
> boot it with my WinXP i don't want to repartition my HDD, i would prefer
to have a File on my hdd
> that has Linux on it, my WinXP install is on a FAT32 Partition..
> Now how can i do this? :)
Ofcourse not!
I'm accessing the files from the webbserver, not a network share.
Which if I was would display the source.
Mattias
-Ursprungligt meddelande-
Från: Jason Murray [mailto:[EMAIL PROTECTED]]
Skickat: den 26 juni 2001 08:35
Till: 'Mattias Segerdahl'; php general
Ämne: RE: [PHP]
Some comments on these answers :-)
nl2br is the correct answer.
preg is like shooting a fly with a cannon, and str_replace would be right,
if nl2br wasn't right, which it is.
And every TEXTAREA tag on the planet should have WRAP=VIRTUAL in it. In
fact, if *I* were in charge of HTML, there woul
dunno
but my it's just failing at the mysql_connect()
shouldn't you specify the password too?
<[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> The following code fragment works properly, in that I get the output I'm
> expecting. However, if I don't disable e
framea and frameb don't know about each other, but their document and their
window should know both of them.
So, you can use document.framea... and document.frameb... to access each
other's variables.
Also, if these variables are coming from PHP, and if you are using FRAMEs
mostly for looks, and
> Warning: SQL error: [Microsoft][ODBC Microsoft Access Driver] Operation
> must use an updateable query., SQL state S1000 in SQLExecDirect
Disclaimer: I only vaguely recall this stuff from suppressed memories of
fighting with Microsoft software...
That might be a Microsoft-ism for "You don't h
EditPlus is the best program EVER
I use it for every thing... :) :)
- Original Message -
From: "Patrick Calkins" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 27, 2001 9:45 AM
Subject: Re: [PHP] search for a better php source code viewer
> You should try EditPlus
In article <046101c0fee3$a5d4ec80$6401a8c0@Lynchux100>,
[EMAIL PROTECTED] ("Richard Lynch") wrote:
> > tried it on my own server and found that php assigns the values 'name_x'
> and
>
> Those are really name.x and name.y in HTTP, but since "." is not allowed in
> a PHP variable name, you get "_
Your best bet is probably to generate a pdf version of the receipt using
pdflib instead of trying to tape together some HTML->PDF solution...
> -Original Message-
> From:
> [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED].
net] On Behalf Of Boaz Yahav
> Sent: Tuesday, June 26, 2001 10:26 A
Hey sorry 'M' about my last post...
I was giving you ideas mixed with how to access an IFRAME ;)
anyway to access frames you have to do like:
window.parent.framea.window.document.forma.texta.value =
window.parent.frameb.window.document.formb.textb.value
"M" <[EMAIL PROTECTED]> wrote in message
Hello,
I'm pretty new to PHP but all I've seen of it so far I pretty much love!
I've built a web log but when the user enters their data and they use '
or " (and you know they will) php always shows it from the included
web log as
\' How can I filter out these backslashes so they don't appe
The correct javascript syntax is.
parent.frames[1].document.formb.varb.value =
parent.frames[0].document.forma.vara.value;
-Stewart
-Original Message-
From: Greg Donald [mailto:[EMAIL PROTECTED]]
Sent: 26 June 2001 16:18
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] passin
> is there a function to get the mime of a given file? if so what?
Probably not...
For starters, PHP doesn't really know much about mime-types, because they
are defined by Apache*, not PHP.
Secondly, mime-types *can* change on the fly in different directories based
on .htaccess files, if your
Or if you want to keep your code as is just define proc() as:
function proce(&$line) { }
"CC Zona" <[EMAIL PROTECTED]> wrote in message
9hb78a$5a7$[EMAIL PROTECTED]">news:9hb78a$5a7$[EMAIL PROTECTED]...
> In article <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] (Richard Kurth) wrote:
>
> > I
Thanks for everyone's help, it was the permissions on /proc that were
causing the problems. I changed it to 755 and everything is working
perfectly.
Thanks again.
--
"Keyboard not detected, press F1 to continue..."
""Peter Phillips"" <[EMAIL PROTECTED]> wrote in message
9h9e9k$dti$[EMAIL PROTE
On Wed, 27 Jun 2001 06:31, [EMAIL PROTECTED] wrote:
> The following code fragment works properly, in that I get the output
> I'm expecting. However, if I don't disable error messages with @, I get
> an error message from PHP saying: "Warning: Supplied argument is not a
> valid MySQL result resourc
Hello, Derek
[snip]
>However I decided to include another objectclass (uidObject) and now it
>returns with:
>error - Object class violation
>error number - 65
>
[snip]
>
>$ds=ldap_connect("localhost");
>if ($ds) {
>$r=ldap_bind($ds, "cn=admin,dc=domain,dc=com","mypassword");
>$rdn
i got this error
Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server:
/usr/local/apache/libexec/libphp4.so: Undefined
symbol "alloc_globals"
can anybody help me fix it i used php4.05 with apache 1.3.20
with ./configure --w
> // Define Oracle_Home and Oracle_Sid
> putenv("ORACLE_HOME=/opt/ORACLE/product");
> putenv("ORACLE_SID=MYDATA");
IIRC, Thies posted once that the Environment variables *must* be defined in
the environment, before PHP starts, for things to really work properly.
That's all he said (IIRC), so I d
$b = 'abc $a def';
$a = 'whatever';
Actually, what I think you'll end up with needing is more like:
eval("$c = \"$b\"");
You can't just eval($b) because that would be like typing:
You need something roughly equivalent to:
http://php.net/eval
--
WARNING [EMAIL PROTECTED] address is an enda
> A.) Do it for me :-)
Okay, but you have to go listen to http://ellenrosner.com/
Not as whiny as Alanis, but you might like it :-)
> if ($max_days == ""){
> $max_days = 365;
> }
> $current_day = date( "z");
> echo " bgcolor=\"#00\">\n";
> echo "alanis
> guide\n";
> echo "\n";
> echo " bgc
How about solving both problems at once? :-)
Yes, go with the N:N (the technical term for that car_option table)
relation, *AND* give yourself a weighted search engine to boot!
create table car (car_id auto_increment...);
create table option (option_id auto_increment...);
create table car_option
> Been trying to compile PHP.4.0.6 with --with-zlib directive and failing.
> Using --with-zlib-dir, however succeeds.
>
> Does anyone knows the difference between the two ?
--with-zlib-dir works and --with-zlib doesn't?
:-) :-) :-)
If you got it to work, leave it alone :-)
> Also, in a related
> It's pretty easy to use PHP to update MySql server through the web sever.
Is there an easy way to use PHP scripts to update the MySql sever in a
standalone mode (without the web sever)? Any sample scripts?
You use the same scripts, but a "different" PHP.
If you are on Windows, you can do:
c:/
> Can someone help me out by explaining how I can programatically rename the
> key of an associated array? EG Cat01,Cat02 in the example below.
> $cats = array(
> "Cat01" => array("lv1" => 1, "lv2" => 1, "lv3" => 1, "lv4" => 1, "lv5" =>
> 1 ),
> "Cat10" => array("lv1" => 1, "lv2" => 1, "lv3" => 1,
> accisable for the user webbert. Which full access, both group and user,
and
> Here I supplied the samba server share and the correct user, webbert.
> But when I try to access a php file, I get the following error message...
So, is PHP running as user "webbert"?...
I never can follow all the
> I have a compiled C CGI that accepts POST method calls, reading
> information off of stdin, and returning its results to stdout.
>
> I need to be able to invoke this from a PHP module, with the PHP module
> loading the POST data for the CGI to fetch, and be able to collect the
> output that the
> if ($line1){ file://This is what is in Line1 Dear ##fullname##
> $line=$line1;
> proce($line);
> $line1=$line;
> }
I think you just want:
if ($line1){
$line1 = proce($line1);
}
And, since proce won't do much with an empty $line1 anyway, you can probably
get rid of the if() parts.
--
> why do $REMOTE_ADDR always returns 127.0.0.1 no matter the user's IP who
is
> seeing the page?
>
> this doesn't look 'remote' to me...
Maybe your web-server is not configured to give you REMOTE_ADDR.
PHP pretty much just passes on whatever the web-server hands it.
If you don't like what you a
Have a look in phpinfo. You'll find the desired value there.
The reason is indeed proxying.
or try something like this :
if ($HTTP_SERVER_VARS["HTTP_X_FORWARDED_FOR"] != "")
$ip = $HTTP_SERVER_VARS["HTTP_X_FORWARDED_FOR"];
$proxy = $HTTP_SERVER_VARS["REMOTE_ADDR"];
$host = @gethostb
Hi Jon!
On Sat, 26 May 2001, Jon Yaggie wrote:
> is there a function to get the mime of a given file? if so what?
>
unless you upload it, nope
you may try :
using `magic' -- really, that one installed by Apache for mod_mime_magic.c
parsing 'file' output
-- teodor
--
PHP General Mai
Look at PHPAuction: http://www.phpauction.org/html/
-Original Message-
From: Michael O'Neal [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 26, 2001 8:56 AM
Cc: Php-General@Lists. Php. Net
Subject: [PHP] Auction PHP Solution?
Hi,
Has anybody seen an "ebay-like" auction solution done in P
Title: PHP code secrity on VirtualHost
Hi everyone,
Does anyone know the best way to php secure source code for a virtualhost account so it is not group/world readable? I've been looking for a way to get PHP to play with suexec NOT in cgi mode, but nothing has popped up yet.. Anyone have an
ok so i got
mail("[EMAIL PROTECTED]", "$message", "sms alert", "Return-Path: $email
<$email>\nFrom: $email <$email>\nReply-To: $email <$email>\nX-Mailer: " .
phpversion());
the email appears as from [EMAIL PROTECTED] istead of [EMAIL PROTECTED] which it
should (and always has done previousy)
I
On Tue, 19 Jun 2001, Robert Vetter wrote:
> Hello,
>
> I'm trying to run PHP with Java support and don't get it to work. First
> I compiled PHP '--with-java=/usr/local/jdk1.2.2/'. Then I added this to
> the PHP.ini file:
>
> [Java]
> java.home=/usr/local/jdk1.2.2
>
>java.class.path=/usr/local/li
Hi List,
I am working on importing data from Lotus Organizer 5.0 to an ddress
book application, written in PHP.
If there's a space in the address field, it looks this when I see the
.vcf file, after creating it.
Note the " =0D=0A=0D=0A= " in:
NOTE;ENCODING=QUOTED-PRINTABLE:D
this sort of works.. I did a similar thing on a site.. but it *really* is
not what HTTP is designed for + you start to get all kinds of things... main
problem being it won't execute code afterwards to then.. if, for example, it
is displayed in a table then that won't work + some browsers may not d
If you want to change content of another frame then he's a sample code:
window.parent.framerightmenu.window.location = "myfile.htm";
replace 'framerightmenu'
with real frame name which is defined in a tag.
"CertifiChecks" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PR
I hadn't heard of that one. I use Nusphere which is Apache, Perl, PHP,
Mysql, Sendmail all rolled into one easy Windows install.
http://www.nusphere.com
> -Original Message-
> From: Aral Balkan [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, June 25, 2001 11:05 PM
> To: [EMAIL PROTECTED]; inf
use the str_replace() function
http://www.php.net/manual/en/function.str-replace.php
-Original Message-
From: Marcus James Christian [mailto:[EMAIL PROTECTED]]
Sent: 27 June 2001 05:19
To: [EMAIL PROTECTED]
Subject: [PHP] Filtering out \ when a ' is user entered?
Hello,
I'm pretty n
Hi,
I would like to know if it is possible to make a
pop-out navigation menu with PHP.
Regards,
Deon HeunisHetzner AfricaPO Box
3450Durbanville 7551South AfricaTel: +27 21 975 7930Fax: +27 21
975 9731Internet: http://www.hetzner.co.za
Hey Marcus,
Lots of different ways...first, the \ is being added because you have
magic_quotes turned on...you can use set_magic_quotes_runtime to turn
them off in a specific script, edit your php.ini file to turn them off
completely, or just do a string replace - replace \' with ' and \"
wit
stripslashes($string)
- Original Message -
From: "Marcus James Christian" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 27, 2001 2:18 PM
Subject: [PHP] Filtering out \ when a ' is user entered?
> Hello,
>
> I'm pretty new to PHP but all I've seen of it so far I pret
> Hi , does anyone know if there is a " bug database" php project . My goal
> is a small database like php already have in their own site.
Otherwise i must write one
J.Faria
_
Do You Yahoo!?
Get your free @yahoo.com address at
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> Hello,
>
> I'm pretty new to PHP but all I've seen of it so far I pretty much
> love!
>
> I've built a web log but when the user enters their data and they
> use ' or " (and you know they will) php always shows it from the
> included web lo
Hello:
Thank God. The mailing list is back and many thanks to the PHP Owners.
I am having a problem using the header() function. I am using this function
in a script that is used to download files.
When used, I am getting a blank page with some junk characters and
some html code, that I haven
try stripslashes()!
http://www.php.net/manual/function.stripslashes.php
- Original Message -
From: Marcus James Christian <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 26, 2001 11:18 PM
Subject: [PHP] Filtering out \ when a ' is user entered?
> Hello,
>
> I'm pretty
Hi List,
I am working on importing data from Lotus Organizer 5.0 to an ddress book
application, written in PHP.
If there's a space in the address field, it looks this when I see the .vcf file,
after creating it.
Note the " =0D=0A=0D=0A= " in:
NOTE;ENCODING=QUOTED-PRINTABL
I have a function that works perfectly (from within a script). But when I
make it a class (object) and call it from an external file, I get the
following error:
Warning: Missing argument 1 for display_records() in
http://www.friendshipcenter.com/Objects/display_records.inc on line 5
Richard,
Thanks for the reply. However, it's not what I was looking for. :) I
already have all the login and password stuff. What I'm trying to do is
reload a different frame with a new html document once the user logs in.
Thanks again,
MarcJ
In article <045b01c0fee3$a33eb140$6401a8c0@Ly
On Tue, Jun 26, 2001 at 12:44:15PM -0400, [EMAIL PROTECTED] wrote:
> I need a class that can quickly help me set cookies and sessions, and check
> up against them
>
> anyone have an idea where i can get one like this?
Yes, the University I work at has a class that will teach you this. The
Univ
On Tue, Jun 26, 2001 at 05:17:51PM +0200, Marcos wrote:
> hi to @ll, after a make a search throw a form it returns me some
> results (links). if i click to a link and i try to get back to the
> previous results Internet Explorer shows me a blank page advicing that
> i should refresh the page in o
Elias,
This is what I'm looking for (I think). Just a quick question though.
Does the tag have to be in the same php page that this line
of code is contained in? The reason I ask is because no matter where I
put this line of code (with the needed modification, my frameset is
"main") it wi
On Tue, Jun 26, 2001 at 12:13:28PM -0700, Richard Kurth wrote:
> I have a function that is for sending an e-mail to the customer
This is probably where your problem is. $hostname, $domain, $tld,
and $fullname have to be defined in the function. Try echoing them
inside of the function. You shou
I've finally got a mail client running on our web server and it works fine,
except in the time it takes to run the mail() function. I've put diagnostics
round the call and it seems to be taking 22 seconds to return. All I'm doing
is forwarding the results of an enquiry form as plain text. I'm sure
- Original Message -
From: "Marcus James Christian" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 27, 2001 6:18 AM
Subject: [PHP] Filtering out \ when a ' is user entered?
> Hello,
>
> I'm pretty new to PHP but all I've seen of it so far I pretty much love!
>
> I'v
On Tue, Jun 26, 2001 at 09:18:49PM -0700, Marcus James Christian wrote:
> \' How can I filter out these backslashes so they don't appear on the
> final public viewable page?
Perhaps stripslashes() would be helpful?
http://www.php.net/manual/en/function.stripslashes.php
--
Jason Stechschulte
[E
On Wednesday 27 June 2001 06:18, Marcus James Christian wrote:
> I've built a web log but when the user enters their data and they use '
> or " (and you know they will) php always shows it from the included
> web log as
>
> \' How can I filter out these backslashes so they don't appear on the
- Original Message -
From: "David Robley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "PHP General" <[EMAIL PROTECTED]>
Sent: Wednesday, June 27, 2001 8:47 AM
Subject: Re: [PHP] Strange error on mysql_fetch_array
> On Wed, 27 Jun 2001 06:31, [EMAIL PROTECTED] wrote:
> > The following co
Hi,
I am trying to write code to find out how long it takes to download a file.
The code is below. When I compare to other websites which you can calculate
online, varies wildly. I do know about many factors that affect the
download times. All I want is correct forumla to caclulate.
$b = filesi
I might be wrong, but if you did something like this..
would work quite well, I think.
James Cox
-Original Message-
From: Marcus James Christian [mailto:[EMAIL PROTECTED]]
Sent: 27 June 2001 05:19
To: [EMAIL PROTECTED]
Subject: [PHP] Filtering out \ when a ' is user entered?
Hello,
Hi,
Is the quoted_printable_decode() function, working or not ??!.
Pls. let me know.
~ Karthick
--
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 P
Hi,
Is the quoted_printable_decode() function working or not ?!?!.
Pls. let me know.
~ Karthick
--
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 P
Hi PeterOblivion!
On Tue, 26 Jun 2001, [EMAIL PROTECTED] wrote:
> I need a class that can quickly help me set cookies and sessions, and check
> up against them
>
> anyone have an idea where i can get one like this?
>
yes
http://www.webdev.ro/products/phpx/phpx.tgz
luckily enough, Daniel ([EM
>From experience with oracle, desc only works in an sql prompt, not through
code. So use the more lengthy method
in mysql:
SHOW FIELDS FROM $table_name
in oracle:
SELECT c.column_name, c.data_type, c.data_length, c.data_precision,
c.data_scale, c.nullable FROM sys.dba_tab_colum
>Assuming that you are using the ISAPI version of PHP, it is
>probably crashing
>because that version of PHP is not very stable. You should upgrade
>to 4.0.6
>which contains improvements in that area, but it is still not
>perfect. If you
>find 4.0.6 unstable either change from ISAPI to CGI or if y
Hello, I believe include problem is a small typo... the include path needs
to be
./:/usr/local/lib/php
There is a php function to change the working directory, I'm not remembering
it off the top of my head, but you can do either:
exec("cd $path && ls -d */*.jpg",$ls);
or:
if you dont know PHP that well, you should implement it
in a language that you know, then work from that and
translate it into PHP.
i used to do that with perl/PHP when i was first learning
PHP... sometimes, things are more obvious when expressed
in a language that you're more familiar with.
>
> mail($Email, $MsgTitle, "$Message\n\n\n$Content", $Header);
Here is the "culprit" -- This is going to fire up a sendmail process for
every single email.
You are going to choke your server to death with tons and tons of sendmail
processes.
Actually, after about 50 of these, the mail() functi
Do you have quotes around that?
sendmail_path = "/usr/bin/sendmail -t -i"
Also, what's the -i for?... Use "man sendmail" to find out, and see if it
makes sense to have it there.
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Musi
[Please copy replies off-list.]
I want to use PHP4 sessions for authentication, but I'm having difficulty
understanding how to get around users spoofing, stealing or linking sessions.
Here's an example: Alice sends Bob a link from a site she's logged into.
Alice has cookies turned off in her b
See
www.php.net/stripslashes
Also check out the PHP configuration settings for magic_quotes_gpc
-steve
At 9:18 PM -0700 6/26/01, Marcus James Christian wrote:
>Hello,
>
>I'm pretty new to PHP but all I've seen of it so far I pretty much love!
>
>I've built a web log but when the user
The way I do it is to use a function to check if magic quotes are on
(because if they're on the conversion is done automatically for you) and if
they're not, use the AddSlashes function before writing to the database and
use StripSlashes after reading from the database. You can use these two
funct
Hi,
> -Original Message-
> From: Jason Lotito [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 26, 2001 11:05 PM
> To: 'Tyler Longren'; [EMAIL PROTECTED]; 'php'
> Subject: RE: [PHP] search for a better php source code viewer
>
>
> You mean something like this:
>
> http://www.newbienet
is this a development box or a live hosting box?
be wary of setting arbitrary permissions on *nix
machines without knowing the consequences of doing so.
most of the time, if things are configured a certain
way, there's a pretty good reason why... :)
> -Original Message-
> From: Peter Ph
stripslashes($var);
and please, read the manual/documents.
> -Original Message-
> From: Marcus James Christian [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 27, 2001 12:19 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Filtering out \ when a ' is user entered?
>
>
> Hello,
>
> I'm p
don't you just love MS error messages?
they're always so descriptive and precise and helpful.
> -Original Message-
> From: Richard Lynch [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 27, 2001 2:52 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Operation must use an updateable q
another way of doing it would be to ditch using variables
in the actual text string altogether, and just use place
holders use {varname} instead of $varname, and then
you dont need to eval anything... just use a simple
regexp
$fullname = "Roy Rogers";
$data = array(
'name'=> 'Johnn
well, the SQL statement you're trying to execute
would help determine why it's not working... :)
just stating that "it's broken" is like saying
"my car makes this funny noise" and hoping that
a mechanic will give you a detailed diagnosis.
> -Original Message-
> From: Thomas Häger [mailt
MSIE pretty much throws away any header information
about a file that the server sends and tries to make
a determination itself about the file based on the
file extension
> -Original Message-
> From: Richard Lynch [mailto:[EMAIL PROTECTED]]
> Subject: Re: [PHP] MIME type
>
> * If y
I would agree, I had PHP 4 installed on IIS running on Win2000 and it was
very unstable. Since switching to Apache, I've had no problems whatsoever --
it's rock solid!
Aral :)
__
([EMAIL PROTECTED])
New Media Producer, Kismia, Inc.
([EMAIL PROTECTED])
Adj. Prof
Hi!
Is there any way to use dbf files with it's indexes in php?
Win+Apache+PHP4.05
Thanx,
Ákos
--
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 PRO
1 - 100 of 115 matches
Mail list logo