> 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
> Will Session have problem when people browse from a http page to a https
> page and go out again?
Almost for sure, yes.
You'll need to transfer by hand any info that must transfer.
>From a security view-point the less crap you transfer to the https site the
better, to avoid anybody trying to
> How can the resource be invalid if I'm getting the results back? I'd
> appreciate any explaination.
What results are you getting?...
> $connection_id = @mysql_connect ('localhost', 'root') or die('No
> connection.');
> $database_id = @mysql_select_db ('cgcms', $connection_id) or die(
> 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 "_" instead.
So UPS is using, almost for sure, name.x and name.y in their "variables".
(Well, they probably hav
Try running ldconfig from your command line.
I think you just run it and it does things, and it all then works...
It's been ages since I did it though...
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-
Try Manuel Lemos mail class.
I think it does that... I'm pretty sure it can *send* the attachments, so
should at least give you an idea how to go about reading them.
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD:
> Has anyone come up with a way to trap and log fatal PHP errors? I
understand
> how to implement and use a custom error handler for all other error
> conditions, but there doesn't appear to be any way to log fatal errors
(such
> as a parse error or errors resulting from declaring the same functio
> I have a big array (nearly 1000 lines) that I would like to pass to a C
> program. I don't want to create a temporary file to pass my array (If
> possible ?!?), and I don't think the command line will fit my needs.
>
> Is there a way to execute a program with a php string as the standard
> input
Here's the deal:
mysqld, the database server, has to be running and sitting there waiting for
mysql, the client, to be able to talk to it.
Before you can use any of the other mysql things, you *MUST* run mysqld (or
safe_mysqld).
So, start up an extra DOS Windows, and run mysqld.
It will start
> ""atan"" <[EMAIL PROTECTED]> wrote in message
> 9h0s59$l4h$[EMAIL PROTECTED]">news:9h0s59$l4h$[EMAIL PROTECTED]...
> > file("http://www.163.com";) error?
> > this is a test:
> >
> > > $fcontents = file ('http://www.php.net');
> > while (list ($line_num, $line) = each ($
"Marcus James Christian" <[EMAIL PROTECTED]> wrote:
> \' How can I filter out these backslashes so they don't appear on the
> final public viewable page?
Use stripslashes().
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http:/
Yes, it is. I've tried it on a couple different php4 servers, I've never
gotten it to work.
Chad
-Original Message-
From: CC Zona [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 26, 2001 8:00 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] problems with round ..
In article <[EMAIL PROTECTE
Most likely the cause of this is the magic_quotes_gpc setting in your
(either maintained by you, or your hosts) php configurations, which are
contained within php.ini Information on this setting can be read about
here :
http://php.net/manual/configuration.php#ini.magic-quotes-gpc
In short, yo
I second that, EditPlus rules!
It's also very easy to create your own custom syntax highlighting rules,
templates and auto-completes so it can highlight custom libraries, etc. that
you use. For example, if anyone's using Manuel's excellent Metabase database
abstraction class, I've uploaded syntax
Just wanted to post a quick note to thank those of you who offered
suggestions regarding my posts re: php not working and php STILL not
working. I've been deedle-dinking around with it off and on since Sunday,
and after a multitude of ./configures makes make installs and whatever else
(includi
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
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
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
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
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
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
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
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
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
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
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
[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
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
> 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
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.
>
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:
>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
>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
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
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
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,
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
- 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
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
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
- 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
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
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
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 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
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
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
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
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
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
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
-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
> 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
> 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
> 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.
--
> 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
> 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
> 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,
> 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:/
> 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
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
> 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
$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
> // 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
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
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
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
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
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
> 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
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
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
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
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
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 "_
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
> 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
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
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
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
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]
> 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? :)
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
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
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
1 - 100 of 115 matches
Mail list logo