Hi,
You can validate user on login page and sets the flag in database table.
Then on each page you have to check that flag again
DS
-Original Message-
From: Bibhas Kumar Samanta [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 26, 2003 8:52 AM
To: [EMAIL PROTECTED]
Subject: [PHP] pass
Hi,
Without using sessions , how can I create
passwd protected pages in mysql/php.
I need to remember the user from login page and
validate this user in other pages.
Thanks,
Bibhas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thursday 26 June 2003 05:41, Sparky Kopetzky wrote:
> Is $_SERVER['HTTP_HOST'] the same as CGI $_ENV['REMOTE_HOST'] ??
No.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
On Thursday 26 June 2003 11:20, Ron Clark wrote:
> I have a php script that reads a flat text file with fields seperated by a
> space. I explode them into an array just fine, but when I try then to load
> that array into a mysql database, it doesn't work. Here is my script:
>
> for ($i=0; $i<$numb
On Thursday 26 June 2003 12:38, [EMAIL PROTECTED] wrote:
> I was testing a boring little FormMail script I've used on dozens of PHP
> installations (Apache and IIS), when I got an error:
>
> Fatal error: Call to undefined function: mail() in
> /usr/local/apache/vweb/redfishinsurance/form2mail.php o
echo "";
this doesnt work cause the engine doesnt like that
try this
echo "";
"Anthony" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> tough to tell... but it looks like you have the " and ' mixed up before
the
> > in the end :-P
>
> - Anthony
>
> "Lso ." <[EMAIL PROTECTED]
I need some information about an array structured as follows:
$example_data = array(
array("Mar-99",0,0,5945.33,0),
array("Feb-99",0,0,47648.90,0),
array("Jan-99",0,0,13365.52,0)
);
I need to know the largest number in the array.
I need to know how many sets of numbers there are, ie how many comma
Thanks Michael,
Can you suggest any other method (without using session_start)
by which I can track users and validate for each page.
What I do currently , in the login page register the user using sessions
and in other pages see if user is registered.
I need to restrict each page based on mysql
On Jun 25, 2003, "Floyd Baker" claimed that:
|
|Hi.
|
|I have a routine creating a pdf file. Here is the script that works
|on the win98 dev box. But when I upload it to the linux online, it
|does not work.
|
|It stops at 'create handle'. Can someone please tell me why?
|
|// GET COMPANY INFO
U just need the sybase client on the linux machine and the file that
contains your TNS names...
--
BigDog
On Wed, 2003-06-25 at 23:26, Michael A Smith wrote:
> Hi,
>
> I want to connect to a Sybase database running on another windoze server
> without having to a buy a copy of sybase for linux.
Hi,
I want to connect to a Sybase database running on another windoze server
without having to a buy a copy of sybase for linux. How can I compile
PHP to have the sybase functions, but not the local database program.
-Michael
--
Michael A Smith <[EMAIL PROTECTED]>
--
PHP General Mailing List
Anybody used PEAR: HTML_QuickForm or Manuel Lemos Forms Generation and
Validation class? I'm looking to use one of these for my forms, so I was
wondering if anybody had any experience in working with either.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.p
> A safer architechture would be to use two machines. One to act as the
> Web server and the other to process transactions. The Web server would
> take the orders and request the transaction server to process them.
>
> The transcation server can only be accessed from the Web server. Nobody
> sh
I was testing a boring little FormMail script I've used on dozens of PHP
installations (Apache and IIS), when I got an error:
Fatal error: Call to undefined function: mail() in
/usr/local/apache/vweb/redfishinsurance/form2mail.php on line 65
What? How? I quote from the PHP manual entry for the "
I mean NTLM :)
-Original Message-
From: Andrew Ziem [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 26, 2003 5:27 AM
To: Boaz Yahav
Cc: [EMAIL PROTECTED]
Subject: Re: Curl & NTLM
Try the PHP file() command.
Assumably you mean HTML not NTML.
Andrew
http://cday.sourceforge.net
Boaz Yah
Try the PHP file() command.
Assumably you mean HTML not NTML.
Andrew
http://cday.sourceforge.net
Boaz Yahav wrote:
Does anyone have a code snippet that connects to a remote server using
NTML
and gets the HTML source?
Sincerely
berber
Visit http://www.weberdev.com/ Today!!!
To see where PHP migh
Hello all,
I have a php script that reads a flat text file with fields seperated by a
space. I explode them into an array just fine, but when I try then to load
that array into a mysql database, it doesn't work. Here is my script:
for ($i=0; $i<$number_of_alerts; $i++) {
// Split each lin
> "Maybe I am missing something totally obvious, but if the server is set up
> to
> properly parse php files - having configs outside of the doc root should not
> make much of a security difference?
> "
>
> Is this a true statement or not? (of course we have to make the assumption
> that server a
That worked, thanks.
On June 25, 2003 07:16 pm, David Nicholson wrote:
> Hello,
>
>
> This is a reply to an e-mail that you wrote on Wed, 25 Jun 2003 at 23:48,
> lines prefixed by '>' were originally written by you.
>
> > php parser.php > temp
> > temp only contains
> > Content-type: text/html
On Wed, 25 Jun 2003 18:37:02 -0700, you wrote:
>I've got an array in the following format:
>Array ( [Jan-1999] => 36.04,140.35,319.53,324.07 [Feb-1999] =>
>1.78,71.78,320.58,141.97 )
Assuming that I've interpreted your array structure correctly,
$a = array ("Jan-1999" => array (36.04,140
what about (untested)?
$example_data = array();
foreach ($blah_array as $key=>$value)
{
$example_data[] = array($key, $value);
}
-Original Message-
From: John Wulff [mailto:[EMAIL PROTECTED]
Sent: Thursday, 26 June 2003 11:37 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Converting Array
I'
I've got an array in the following format:
Array ( [Jan-1999] => 36.04,140.35,319.53,324.07 [Feb-1999] =>
1.78,71.78,320.58,141.97 )
I need it in the following format:
$example_data = array(
array("Feb-1999",1.78,71.78,320.58,141.97),
array("Jan-1999",36.04,140.35,319.53,324.07)
);
I'm su
Is the pdf module being loaded on the linux machine ?
What is the error message (if any) that's displayed at the "create handle"
bit ?
Martin
-Original Message-
From: Floyd Baker [mailto:[EMAIL PROTECTED]
Sent: Thursday, 26 June 2003 10:32 AM
To: [EMAIL PROTECTED]
Subject: [PHP] pdf rout
Hi.
I have a routine creating a pdf file. Here is the script that works
on the win98 dev box. But when I upload it to the linux online, it
does not work.
It stops at 'create handle'. Can someone please tell me why?
// GET COMPANY INFO
while($row = mysql_fetch_array($mysql_result)){
Do this:
snip-
#!/bin/php(or wherevery you have the php executable binary stored)
>8)&0xFF;
}
?>
snip-
chmod 755 myfile.php
Then just execute "myfile.php" as any other program.
> -Original Message-
> From: Marcos [mailto:[
ah thanks. much appreciated. i did google and found a few things, but was
really after something that someone else would recommend rather than trying
a few hundred. :)
regards
m
-Original Message-
From: Nadim Attari [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 3:46 PM
To: [
Hello,
This is a reply to an e-mail that you wrote on Wed, 25 Jun 2003 at 23:48,
lines prefixed by '>' were originally written by you.
> php parser.php > temp
> temp only contains
> Content-type: text/html
> X-Powered-By: PHP/4.3.2
Maybe try using the -q parameter? what do you get then?
-q
try using fopen();
http://www.php.net/manual/en/function.fopen.php
- Original Message -
From: "Joshua Moore-Oliva" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 25, 2003 3:37 PM
Subject: [PHP] Command line php output redirection.
> This is really scaring me as file r
This is really scaring me as file redirection is one of the basic things in
linux.. anyways
I have a php script that outputs to stdout using echo.. when I run it using
php parser.php
I can see the output no problem. However, when I attempted to redirect to a
file using
php parser.
Hello,
This is a reply to an e-mail that you wrote on Wed, 25 Jun 2003 at 23:11,
lines prefixed by '>' were originally written by you.
> I am trying to make it so that my PHP script generates it's own
> Message-ID's when sending mail through Sendmail. For some reason
> it is not working as I hope
Hello,
On 06/25/2003 07:10 PM, Devin wrote:
I am trying to make it so that my PHP script generates it's own
Message-ID's when sending mail through Sendmail. For some reason
it is not working as I hoped. I have tried the mail() command by
using:
mail("[EMAIL PROTECTED]","Subject","message","Message
At 00:10 26-6-2003, you wrote:
I am trying to make it so that my PHP script generates it's own
Message-ID's when sending mail through Sendmail. For some reason
it is not working as I hoped. I have tried the mail() command by
using:
mail("[EMAIL PROTECTED]","Subject","message","Message-ID:
<[EMAIL
I am trying to make it so that my PHP script generates it's own
Message-ID's when sending mail through Sendmail. For some reason
it is not working as I hoped. I have tried the mail() command by
using:
mail("[EMAIL PROTECTED]","Subject","message","Message-ID:
<[EMAIL PROTECTED]>");
That doesn't s
Hello,
On 06/26/2003 06:01 AM, Siddharth Hegde wrote:
I have tons of other questions going through my mind. I think I
should just go and buy a book or something. Any suggestions? I will
also be securing the Linux server so any book on this topic also
would help (I am sure they are a couple of good
hmm I am not sure but check this link out it may answer your questions
http://ca3.php.net/manual/en/features.http-auth.php
- Original Message -
From: "Sparky Kopetzky" <[EMAIL PROTECTED]>
To: "PHP General" <[EMAIL PROTECTED]>
Sent: Wednesday, June 25, 2003 2:41 PM
Subject: [PHP] One more
Ok :)
The only reason that I was so adamant about it was I had a 'heated'
discussion with a business associate who's server was compromised - and he
was, lets say, insistant that the fact that there were database passwords in
a php file inside the webroot was the reason it was insecure. I just wa
>> Why rely on some access restriction when you don't have to? You include
>> code using a filesystem path. There is no need for it to reside under
>> document root. Yes, you can make it so that certain things are not
>> served directly by the Web server, but why take the extra risk? You
>> gain no
> --- Mike Morton <[EMAIL PROTECTED]> wrote:
>> That is precisely my point - if the user has shell access of any
>> type you are compromised - but if they do not get server access -
>> how could they possibly get the dotabase.inc.php? If that is
>> called directly then it will be parsed, and as l
Is $_SERVER['HTTP_HOST'] the same as CGI $_ENV['REMOTE_HOST'] ??
Please, I need to know...
Robin E. Kopetzky
Black Mesa Computers/Internet Services
www.blackmesa-isp.net
This code does not work with my system. Any ideas as for a work arround??
--code starts
$config["imap_server"] = "bast.picotech.net";
$config["imap_port"] = 143;
$mailbox = "INBOX";
$login["username"] = "myusername";
$login["password"] = "mypassword";
$servername = "{" . $config["imap_server"] .
Not a specific question, more a request for comments.
Does anyone have any opinions/comments on creating data or objects with
application scope in PHP?
I'm thinking of implementing what would essentially be a Singleton in a PHP
extension, which could cache/uncache arbitary zvals. But I'd like to
--- Mike Morton <[EMAIL PROTECTED]> wrote:
> That is precisely my point - if the user has shell access of any
> type you are compromised - but if they do not get server access -
> how could they possibly get the dotabase.inc.php? If that is
> called directly then it will be parsed, and as long as
hmmm can you check to see if your field is exactly named desc in the
table... also whether or not it can accept string ie char or varchar.
- Original Message -
From: "Steven Efurd" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 25, 2003 2:03 PM
Subject: [PHP] mysql update
I want to display Japanese text on my site and am having many problems.
I am using Linux Redhat 8, PHP 4.2.
Basically what I have is a file page.php with the following code:
page.php:
Home:
$home";
?>
I then have an include file with the Japanese text assigned to the
variable $home.
2) I store the db password and login info in a database.inc.php file.
Is there any way I can prevent a person from getting the db pass even
after he gets this file?
>>>
>>> Store that file outside the docroot. That way there is no chance they
>>> can get it from the web site. I m
And thats why Chris is the man. Your're right it doesnt look pretty but it
works. If I come up with another solution I will email it out.
Thanks again,
Daniel
- Original Message -
From: "Chris Sherwood" <[EMAIL PROTECTED]>
To: "Daniel J. Rychlik" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
I have the following code:
$sql = "UPDATE class_sub SET desc = '$catdesc', sub_cat = '$subcatname'
WHERE id='$catid'";
echo $sql;
$sql_result = mysql_query($sql);
if (!$sql_result)
{
echo "Couldn't update record!";
echo mysql_error();
exit;
} else
{
header("Location: ind
>>> 2) I store the db password and login info in a database.inc.php file.
>>> Is there any way I can prevent a person from getting the db pass even
>>> after he gets this file?
>>
>> Store that file outside the docroot. That way there is no chance they
>> can get it from the web site. I myself us
Dan:
>> 2) I store the db password and login info in a database.inc.php
>> file. Is there any way I can prevent a person from getting the db
>> pass even after he gets this file?
>
> Store that file outside the docroot. That way there is no chance they can
> get it from the web site. I myself u
>I am getting started on a project on PHP that requires very very high
>levels of security. I cannot give you exact details but the basics is
>that it deals with credit cards.
>
>I want some advice and tips from experts on the following
>The server will be Red Hat Linux 7.3
>
>1) The site will have
Hi,
> 2) I store the db password and login info in a database.inc.php
> file. Is there any way I can prevent a person from getting the db
> pass even after he gets this file?
Store that file outside the docroot. That way there is no chance they can
get it from the web site. I myself use
In response to the post found at:
http://marc.theaimsgroup.com/?l=php-general&m=104913671122253&w=2
I would like to use open_basedir to stop users from reading the contents
of system files, while using include/require to let users take advantage
of scripts that I have created. These scripts
Is $_SERVER['HTTP_HOST'] the same as $_ENV['REMOTE_HOST'] ??
Robin E. Kopetzky
Black Mesa Computers/Internet Services
www.blackmesa-isp.net
Hello everyone,
I am getting started on a project on PHP that requires very very high levels of
security. I cannot give you exact details but the basics is that it deals with credit
cards.
I want some advice and tips from experts on the following
The server will be Red Hat Linux 7.3
1) The
LOL my mistake jason I should have paid more attention
- Original Message -
From: "Jason Wong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 25, 2003 12:26 PM
Subject: Re: [PHP] quotes
> On Thursday 26 June 2003 01:33, Chris Sherwood wrote:
>
> > I dont know what you
function DisplayLinks($links,$names)
{
$namecount = sizeof($names);
for($a=0;$a<$namecount;$a++)
{
$name = $names[$a];
$url = $links[$a];
echo ":::$name:::\n";
} //End for
} // End DisplayLinks function
try this and assigning the names you want to be displayed to the names ar
I remember seeing somewhere that you could only pass a single deminsional
Array to a class. But I cant even get this one deminsional to work. If I
place the links inside the main class and call it an attribute it works
fine.
var $newlinks = array (...)'
When I var_dump($myarray) I recieve the
Hi,
I maintain a PHP library for fetching and parsing RSS files, and I've
started getting bug reports from users as they upgrade to 4.3.2
One of the features of the library is support for HTTP's gzip encoding in
order to reduce the bandwidth consumed by fetching RSS files. Since
upgrading to 4.3
On Thursday 26 June 2003 01:33, Chris Sherwood wrote:
> I dont know what you were thinking but this is in a php list
>
> when you render html with php and you want double quotes in the html you
> MUST escape them
>
> otherwise you dont use double quotes
Sorry, it was the context of the thing:
>
> > include ("http://www.site.com/home.php";);
> > }
> > else{
> > include ("http://www.site.com/"; . "$page" . ".php");
> > }
> > ?>
> > This code is in the index.php file. When home.php is included, I
> > want to echo a variable like $title on the index.php page. But
> > $title is defined on hom
http://www.sleepycat.com/products/documentation.shtml
try that it is the online documentation for the Berkeley db
"Logan McKinley" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> I have absolutely no experience with Berkeley db but have been told by my
> ISP that it is what I n
use globals to pass the information to other pages..
http://www.php.net/manual/en/language.variables.php
"Ben" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> Ok, I'm sort of a beginner at this, so cut me some slack. :-) Ok, I have
an
> if then statement that after you click a
I haven't found anything that would handle the problem you have... in my
case I would create the galleries that I needed... maybe write some
reiterate code that would display recreated thumbs from the images...
this could be done when the upload is done and the new image created from
the old one
Seems ok here.
-Original Message-
From: Michael A Smith [mailto:[EMAIL PROTECTED]
Sent: 25 June 2003 19:45
To: Gary Ogilvie
Subject: RE: [PHP] mssql_connect error
You need a load_extension ( i think ) directive in the php.ini file
pointing to the right dll.
-Michael
On Wed, 2003-06-25 a
hmmm okay
cause list works by assigning elements in order from an array
each iterates thru each element in a list so you want to pass both elements
at the same time so you need to pass an array to get the effect your looking
for
ie $name being from the first array element, and $url being from the
tough to tell... but it looks like you have the " and ' mixed up before the
> in the end :-P
- Anthony
"Lso ." <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> ok i see why i didnt work but i dont know why.
>
> can anyone tell me why this works:
>
>
>
> but this doesn't:
>
> ech
Hi all,
I need to know what would be the best method to build a web site using
PHP, MySQL and Text files that in the future will have two or more
translations.
Thanks in advanced,
---
Cesar Aracena
[EMAIL PROTECTED]
http://www.icaam.com.ar
Cel: +54.299.635-6688
Tel/Fax: +54.2
Hi all,
I was wondiering what would be the best method to create a site that in
the future will be in two or more languages all in PHP, MySQL and Text
files.
Thanks in advanced,
---
Cesar Aracena
[EMAIL PROTECTED]
http://www.icaam.com.ar
Cel: +54.299.635-6688
Tel/Fax: +54.299
The extensions directory is set to the correct path in the ini file
though. I can't see where my error is...
-Original Message-
From: Michael A Smith [mailto:[EMAIL PROTECTED]
Sent: 25 June 2003 18:56
To: Gary Ogilvie
Subject: RE: [PHP] mssql_connect error
It's in the php.ini file. You h
At 20:17 25.06.2003, Daniel J. Rychlik said:
[snip]
>
>Its erroring at my display links function. This function is inside my main
>class.
>
>function DisplayLinks($links) {
>
>while(list($name, $url) = each($links) {
>
>echo ":::$name
If you have never built an ecommerce site before then you do not want to
start building one live for a store to learn on.
There are many facets to an e-commerce store - the least of which is
understanding session management, and up to securing your code and servers.
It takes more than just PHP to
Its erroring at my display links function. This function is inside my main
class.
function DisplayLinks($links) {
while(list($name, $url) = each($links) {
echo ":::$name:::\n";
} //End while
} // End DisplayLinks function
I dont see why it wont work..
You define a function "SetLinks", but call it as "SetLink" -- is this a
typo? Also, neither of your SetLink/s() calls are correct function calls.
This may work better:
$index->SetLinks(array(...));
-
michal migurski- cont
yea, I gave that a shot, Same message. Logically it makes sense, but php
doesnt like it.
by the way, thanks for your help Chris. You've helped me in the past.
-Daniel
- Original Message -
From: "Chris Sherwood" <[EMAIL PROTECTED]>
To: "Daniel J. Rychlik" <[EMAIL PROTECTED]>;
<[EMAIL PRO
At 6/25/2003 10:26 AM, Kevin Stone wrote:
> You're missing a starting bracket.
>
> You know this was WAY too easy to find. What kind of editor are you using
> that would miss something this obvious?
A little indenting goes a long way...
--
S. Keller
UI Engineer
The Health TV Channel, Inc.
(a non
Have you tried to assign the array to a variable then pass the variable to
the function ie
$index = new main();
$yourvar = array('array values');
$index->SetLink ($yourvar);
- Original Message -
From: "Daniel J. Rychlik" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June
The client is not to a form. I only though POST could be used if it
were in name/value pair format form a FORM posting.
-Original Message-
From: Michael A Smith [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 1:54 PM
To: Moore, Christie
Subject: Re: [PHP] RE: $HTTP_RAW_POST_DA
What do you mean? How do I do this?
-Original Message-
From: Michael A Smith [mailto:[EMAIL PROTECTED]
Sent: 25 June 2003 18:53
To: Gary Ogilvie
Subject: Re: [PHP] mssql_connect error
You didn't compile with --enable-mssql.
-Michael
On Wed, 2003-06-25 at 09:48, Gary Ogilvie wrote:
> Hi
-Original Message-
From: Moore, Christie
Sent: Wednesday, June 25, 2003 1:45 PM
To: '[EMAIL PROTECTED]'
Subject: $HTTP_RAW_POST_DATA
I am very unfamiliar with PHP. I am trying to get a POST (which
includes an text/xml) into the $HTTP_RAW_POST_DATA variable. Once
filled, I would then
Hello,
I am developing a site that uses classes to reuse code and objects.
I have in my main class a
function SetLinks($newlinks) {
$this->links = $newlinks;
}
And another function that displays them in the same class main {
I have another file called index.php that basically just pa
ok thanks for putting up with me. it works just fine if i use \" instead of
single quotes in the html that the php is generating. thanks again. i
think i finaly got it.
Lucas Owens
www.lucasowens.com
www.technoiraudio.com
_
The n
--- "Lso ." <[EMAIL PROTECTED]> wrote:
> ok i see why i didnt work but i dont know why.
>
> can anyone tell me why this works:
>
>
>
> but this doesn't:
>
> echo "";
It works for me, at least it does what I think you mean it to do. I'm not a big
fan of single-quoted attributes in HTML, but it
Hi all,
I am testing a connection to MSSQL but I get the following error:
Fatal error: Call to undefined function: mssql_connect() in
c:\inetpub\scripts\newsletter.php on line 28
I don't understand what this error is - my code is as follows:
$myServer = "localhost";
$myUser = "admin";
$myPa
Andreas,
I haven't used this one, but it looks really good.
http://www.innovatehelpdesk.com/
Joseph
"Andreas Cahen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Hello List :)
>
> Is there any usefull ticketing system (Hotline/Support/etc.) written in
> PHP?
> I have found som
--- Koch-1 Linda <[EMAIL PROTECTED]> wrote:
> I am using PHP 4, Apache, but the '\n' is not going to the next
> line during a print.
There are probably two issues here. One is that anything in single quotes gets
translate literally, so '\n' will output \n whereas "\n" will output a newline
charact
Jason
I dont know what you were thinking but this is in a php list
when you render html with php and you want double quotes in the html you
MUST escape them
otherwise you dont use double quotes
- Original Message -
From: "Jason Wong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wed
ok i see why i didnt work but i dont know why.
can anyone tell me why this works:
but this doesn't:
echo "";
Lucas Owens
www.lucasowens.com
www.technoiraudio.com
_
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
htt
Hi,
> I am using PHP 4, Apache, but the '\n' is not going to the next
> line during
> a print. Has anyone else encountered this anamoly.
in the case of:
echo 'blah\n';
I've noticed it doesn't work.
In the case of:
echo "blah\n";
I've
Adam caught my error. I was not thinking correctly.
Thanks
-Original Message-
From: Adam Voigt [mailto:[EMAIL PROTECTED]
You do know that the \n will only show up in View Source
of an HTML page right? If you want it to show up in a regular
browser window, you need .
--
PHP General Mai
Thanks guys, I downloaded the source and created a php.ini file. It worked
great!
Thanks for all your help and patience.
-Steve
>> Does the php.ini file always go in the same place no matter the OS? I
>> did a
>> locate in the shell, and nothing came up. I could find .ini files, or
>> php.
>> fi
You do know that the \n will only show up in View Source
of an HTML page right? If you want it to show up in a regular
browser window, you need .
On Wed, 2003-06-25 at 13:05, Koch-1 Linda wrote:
> I am using PHP 4, Apache, but the '\n' is not going to the next line during
> a print. Has anyone el
[snip]
I am using PHP 4, Apache, but the '\n' is not going to the next line
during
a print. Has anyone else encountered this anamoly.
[/snip]
show us the code...and what are you using to view the output file?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php
im stupid. it works. so sorry. htmlentities did the trick. i had a chunk
of code lingering from a former attempt at fixing it that screwed it all up.
thanks again everyone.
Lucas
_
The new MSN 8: advanced junk mail protection
I am using PHP 4, Apache, but the '\n' is not going to the next line during
a print. Has anyone else encountered this anamoly.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
When you view the html source is all of the text including the quotes there?
>>> "Lso ." <[EMAIL PROTECTED]> 06/25/03 12:06PM >>>
go ahead an try it. the quote is quite clearly in the database, but when i
try to put it back in a form field everything is cut off after the quote.
and i tried stri
Hi,
I nedd all your Help!!
i am trying to run a program, and in the install instruction
there is that i have to load the dbx-module in this way:
I have put this in my PHP.INI
extension=php_dbx.dll
[dbx]
; returned column names can be converted for compatibility reasons
; possible values for db
here ya go:
function dbconnect(){
$dbh=mysql_connect ("**", "**", "**") or die ('I cannot connect
to the database because: ' . mysql_error());
mysql_select_db ("**");
}
$dbname = "***";
$urlname = "parteditlists.php";
function drawtable2($id, $company, $division, $contact, $
go ahead an try it. the quote is quite clearly in the database, but when i
try to put it back in a form field everything is cut off after the quote.
and i tried stripslashed, and htmlentities, and htmlspecialchars. i would
turn magic quotes on, but im afaid it might mess something else up. th
On Thursday 26 June 2003 00:52, Lso . wrote:
> it doesnt work, i just tried it. the text is still cut off after the quote
>
> >Just try htmlentities()! A textarea is for multiple lines of text!
Show some code please.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software
On Thursday 26 June 2003 00:02, Chris Sherwood wrote:
> well thats seems unlikely as I do it all the time..
>
> how ever I am not going to argue p's and q's ...
> if it doesnt work for him it doesnt work
>
> - Original Message -
> From: "Adam Voigt" <[EMAIL PROTECTED]>
> To: "Chris Sherwood
1 - 100 of 203 matches
Mail list logo