is your web server a Microsoft one (IIS, PWS, ...) ?
I'm not sure, but I think there is a known problem with them if you set a
session variable and do a redirect in the same page.
Can anyone confirm this ?
Philippe
Karina Gómez Salgado [EMAIL PROTECTED] a écrit dans le message news:
[EMAIL
Never had to do this, however I would think the correct way to be:
a href=page.php#bottom?location=01
try it.
-Original Message-
From: Scott Mebberson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 02, 2001 4:53 PM
To: [EMAIL PROTECTED]
Subject: [PHP] named anchors and query strings
Hi all ...
I am an absolute newbie to php ... Here i am looking at wririting
a script in php which can do a search in my berkley db 3.0.11 database and
retrieve the required information ...
In order to do the same which set of functions are supported .. is it that the
Here's an example :
http://www.php.net/manual/en/configuration.php?foo=bar#ini.include-path
It works.
Regards,
Philip Olson
On Tue, 2 Oct 2001, Ralph Guzman wrote:
Never had to do this, however I would think the correct way to be:
a href=page.php#bottom?location=01
try it.
Well, I personnally use a SQL db into which I insert some information about
the connected users (IP,LOGIN if member or visitor if not, MD5 session
id -'cause I cannot use PHP4 sessions, my provider's got php3 - and unix
epoch DATE).
Each time a user sees a page, this user's DATE field is updated
sounds like it's time to repartition your HD, or get a new HD, or linux
box ... install a flavor of linux and try it out locally. in the long
run, this will be the most fun anyways :-)
Regards,
Philip Olson
On Wed, 3 Oct 2001, ReDucTor wrote:
But that doesn't have an option to search for
This is somewhat dependant on the email server (MTA) you are running and how
it is set to authenticate users. If using linux/unix, sometimes all that is
required is for you to create an account is to add the entry in the
/etc/passwd, and create a home directory. This you can easily do with a PHP
Hi all,
I have enable sybase magic quotes=on in php.ini, and with the test file in
my phpinfo(); says configuration path /www/conf i have placed the file
there, but the sybase magic quote=off!!
am i suppose to change all files ie php.ini -dist php.ini -optimized
aswell?
pls help
Caleb
Hi,
Can I create POP3 account with PHP on Linux mail server ?
Thanks,
Rosen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
On Wed, 3 Oct 2001 17:16, Caleb Carvalho wrote:
Hi all,
I have enable sybase magic quotes=on in php.ini, and with the test file
in my phpinfo(); says configuration path /www/conf i have placed the
file there, but the sybase magic quote=off!!
am i suppose to change all files ie php.ini
On Wednesday 03 October 2001 5:21 am, Jon Shoberg wrote:
Nope, teh pages are actually hosted on a (gasp ...) NT machine. I need
something that will suck down and write out a pure static .html mirror of
an ASP/PHP driven website. WGET will surely mirror everything but not
re-structure the
I would suggest you implement this at the web server level. If using Apache,
use virtual hosting or perhaps a rewrite condition if needed.
If you must do this in PHP, and you want to do is redirect the user to a
particular directory depending on the URL they type, then something like
this should
Unless you modified the default path to the configuration file when
compiling, your Configuration Path setting should be set to something like
this:
/usr/local/lib/php.ini
in this case, you say it is set to /www/conf. I'm assuming by this that it
looking for a configuration file called 'conf'
Hi,
i need help with a, seemingly, simple problem...
I have a form that is supposed to update a MySql table with only two fields
(id and show_id). I use show_id to determine what is showing on my first
page and never store more than one value in the table.
Now - i cant seem to get the REPLACE
This is related to the email I responded to a few minutes ago. See below:
-Original Message-
From: Ralph Guzman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 03, 2001 12:25 AM
To: Bjornie; [EMAIL PROTECTED]
Subject: RE: [PHP] Creating mailaccounts
This is somewhat dependant on
I posted the same question and I have found an answer in the archive. I
guess you are using php on RedHat. The problem is (as Richard sugested)
extra lines that need to be triped off. NOTE: I am not sure if this is
the problem with image files only or this applies to .txt, .doc, etc.
this
On Wed, 3 Oct 2001 17:35, Daniel Alsén wrote:
Hi,
i need help with a, seemingly, simple problem...
I have a form that is supposed to update a MySql table with only two
fields (id and show_id). I use show_id to determine what is showing on
my first page and never store more than one value
these are all the php and error related lines in the httpd.conf
ScriptAlias /php/ E:/PHP40/
AddType application/x-httpd-php .php
AddType application/x-httpd-php .html
Action application/x-httpd-php /php/php.exe
...
ErrorDocument 404 http://www.stivesdirect.com/error.html
Tim Ward
Is it possible to discover any sort of details about the function/script
that is calling a piece of code? Ie, Passively
If not, does anyone have a good design pattern of how a debugger for php
should work? At the moment I am using a class which formats the data
and dumps it to a log file, then
A quick look at the REPLACE syntax tells me that
REPLACE works exactly like INSERT, except that if an old record in the
table has the same value as a new record on a unique index, the old
record is deleted before the new record is inserted.
So if id isn't a unique index, you could expect
Hi,
you're right, i did without knowledge enable --with -conf /www/conf when
running the ./configure :(..
ok, thanks for point that out, do i need to go to square 0 i mean by running
configure then make make install?
thanks
Caleb Carvalho
Application Engineer
LoadRunner/APM
Hi,
yeah i did httpd restart, and i also tried to place the file
in /etc/httpd/conf /usr/local/lib /www/conf but not luck...
I am using php-4.0.6,
Caleb Carvalho
Application Engineer
LoadRunner/APM
-
I'm not sure I fully understand the problem, but I think I can have a guess
at it based on my past experiences...
if you have a php page that starts a session with session_start() and, say
for example, you then try and echo the session id with session_id() it will
not be displayed on screen
My local gd version is 1.6.2 or higher, online check the link
vvmm.net/phpinfo.php
Adrian
On Tue, 2 Oct 2001, Richard Lynch wrote:
Older versions of GD will do GIF, but not JPEG, and vice versa...
What versions of GD are on the two servers?
--
WARNING [EMAIL PROTECTED] address is an
Webzip is ok too for downloading an entire site onto a local machine,
restructuring links, although the non registered version inserts javascript
html code into every page header. Its nothing that a quick regex replaces
can't fix though ;)
www.webzip.com
-Original Message-
From: Phil
Hey all!
I'm including some javascript that enables a button in a form input
type=button name=CheckAll value=Check All
onClick=checkAll(document.myform.email)to check all the check boxes
at once. (I have an array of check boxes from a mysql db)
I use:
SCRIPT
Hi,
Both problems can be solved with php directives in httpd.conf or in
.htaccess.
You can just put php_value safe_mode off or php_value engine off
into Directory definitions in httpd.conf to restrict only for some
directories or into Virtual for virtual servers.
(Of course in htaccsess you
Leave the input name as email. If you really want to call it email[],
you should be able to reference this in JavaScript as the object
document.myform[email[]]
If you leave it as email, you can then convert the email variable into an
array using explode() or split() as so:
?php
// on the
First off thanks for the reply.
When I click the test button I get Error: 'length' is null or not an
object.
I used
script language=javascript
function func( field ) {
for ( i = 0; i field.length; i++ )
field[i].checked = true ;
}
/script
input type=checkbox name=email[]
I use php4 in apache as a module. It seams that
I can only setup php with php.ini.
I want to use the open_basedir option to limit
php to a web site files. But my apache use
virtual host. It means that depending on
the host (fun.test.org or www.test.org) I
start in /home/httpd/fun or
Thanks...
Leave the input name as email. If you really want to call it email[],
you should be able to reference this in JavaScript as the object
document.myform[email[]]
document.myform[email[]] seems to give me a syntax error.
If you leave it as email, you can then convert the email
You've already had a nice answer. Look for ezmlm. It is a very powerful
open source mailing manager.
You could store the data in mySQL database and administer it in your
favorite way via PHP or whatever. Then, loop your PHP code and (if you
need this of course) copy all the emails of users you
Hi,
I was wondering if someone could HELP I'm very new to php and I am
trying to get the application functions to start an instance of a program.
However no matter what I do the functions return -1. Even if I add the
absoulte path it still returns -1. nothing happens. I'm running S.u.S.E
Try also mod_rewrite of apache. It is great for doing such things.
Visit apache.org and search docs for mod_rewrite or simply look into
archives of this list.
Maxim Maletsky
www.PHPBeginner.com
-Original Message-
From: Ralph Guzman [mailto:[EMAIL PROTECTED]]
Sent: mercoledi 3
Hi,
Can any one tell me as to which are the set of functions which can be
used to query a berkley db 3.0.11 ldbm database ?
I am a bit confused here ,, are the function mentioned for dbm going to work
here like dbmopen, dbmclose etc...If not then what is the way out ?
Any help is
Dear friends,
the madness incarnate of September 11th, 2001 is one which will never
be
forgotten. How could it be?
This shook the entire world, and my heart was broken along with all of
yours.
I have created a slide show in respectful tribute to all who passed, as
well as the heroics of the
document.myform[email[]] seems to give me a syntax error.
Check if your already using you'll need to use single quotes as so:
input type=button name=CheckAll value=Check All
onClick=checkAll(document.myform['email[]'])
(tested on IE 5.5 and NS 4.08, works)
If you leave it as email, you can
Hello,
I am trying to parse a CSV (comma separated file) file to get the separate
elements. The format of each line of the file is as follows:
R001,23,2,5
Note that the 3rd field 2,5 is enclosed within quotes as it has commas
within the field itself. This is a standard file created when an
I want to alternate between different operation modes without having
to introduce additional control structures into a piece of software.
This could be archieved by setting an optional parameter to a function
that does not affect the programs state. It should accept an arbitrary
number of
I would suggest you implement this at the web server level. If using Apache,
use virtual hosting or perhaps a rewrite condition if needed.
If you must do this in PHP, and you want to do is redirect the user to a
particular directory depending on the URL they type, then something like
this should
sure. explode (',', $yourdata) is what you are looking for.
use file () to read in the file and use foreach () to iterate
over the lines.
D. Alvarez Arribas [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Hi!
How does server handle the .inc extension and for what do I use it ?
Where can I read about it?
Thanks in advace
Jan Grafström
--
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
hi,
any body out there from hyderabad. if u r a hyderabadi plese mail me.
v have got a lot of things to do.
thanks,
/sagar
Use the '.inc' extension only for files that are not directly accessible to the client.
For example, database configuration files do not need to be php and you can mark them
as '.inc' for increased code legibility. AFAIK a client's request to one of these files
won't be served at all.
D. Alvarez
It is very nice of you to have done so. Thousands of children are being
killed in the world by different groups and no one gives a s***. They are
mainly killed by USA guns sold by USA guvernment who also
deosn't give a s*** where those guns go or who uses them. All it is
important is that
That won't do if the list is 'R001,23,2,5'.
I'd break that to parts with preg_match_all().
Niklas
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 3. lokakuuta 2001 15:08
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] Parsing a CSV file
I was wondering if it is possible to create a configuration with Novell
Netware, Novell Web Server, PHP and Oracle. Does anybody have experience
with such a configuration?
Marc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Example
?php
exampleLine = R001,23,\2,5\;
preg_match_all (/(\[^\]+\|[^,]+)/, exampleLine, $matches);
for ($i=0; $i count($matches[0]); $i++) {
echo matched: .$matches[0][$i].br;
}
?
Please note, empty elements will not be handled
btw Any Australian employers want a programmer for
work out with squrrelmail or basilix. If u want to set up won mail server then
you must have your head and fingers into linux.
/sagar
- Original Message -
From: Bjornie
To: [EMAIL PROTECTED]
Sent: Wednesday, October 03, 2001 12:25 AM
Subject: [PHP] Creating mailaccounts
coool man,
i've been using it since 2yrs.
/sagar
- Original Message -
From: Dean Householder
To: Alex Shi ; [EMAIL PROTECTED]
Sent: Wednesday, October 03, 2001 2:27 AM
Subject: Re: [PHP] A powerful editor!
I used to use TextPad until I found EditPlus. I'm also amazed
I wasn't saying anything about the quality of Editplus. I was just
wondering
what justification there was for the statement
It has more than I could even use including everything TextPad
has and nicer colors for the different styles since Textpad lets you set
all
of your colors from a 16.7M
umm ya forward this on to the czechs and the french etc...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
On Wed, Oct 03, 2001 at 07:56:12AM -0600, System Administrator a.k.a. The Root of the
Problem wrote:
I will be forward this to [EMAIL PROTECTED] and hope that an answer could be
there.
On Wed, Oct 03, 2001 at 09:24:37AM -0400, Justin Hall wrote:
Dave:
We are getting closer to a
Regards
Jan
Jason Stechschulte wrote:
On Wed, Oct 03, 2001 at 02:13:54PM +0200, Jan Grafström wrote:
How does server handle the .inc extension and for what do I use it ?
Where can I read about it?
This depends on the setup of the web server. On some servers, it is set
up to be parsed
Re: [PHP] Parsing a CSV file
there is no need to special-case here, for empty statements would also be handled by
repeated calls to explode (). quoted expressions can be joined by preg_matches then.
D. Alvarez Arribas [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To
Is there any function in PHP that is similar to alert() or confirm() of javascript ? I
tried die() but that's not what I need.
Is there any function in PHP that is similar to alert() or
confirm() of javascript ? I tried die() but that's not what I need.
What do you want it to do? Remember, though, that
PHP = server side while Javascript = client side. If you
want alert() or confirm() functionality on the client
Then what do you need?
We are not any sure on what your question is ...
Maxim Maletsky
www.PHPBeginner.com
-Original Message-
From: Eduardo Kokubo [mailto:[EMAIL PROTECTED]]
Sent: mercoledì 3 ottobre 2001 16.31
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: [PHP] something like
Is there a way to get an array of all the classes that have been loaded from out the
library directory of cocoon2?
In particlular I need all loaded subclasses of a specific interface foo.bar.Module
that are in the .jar files (or where ever).
The modules can be anywhere and in multiple .jar
On Wednesday 03 October 2001 14:30, Eduardo Kokubo wrote:
Is there any function in PHP that is similar to alert() or confirm() of
javascript ? I tried die() but that's not what I need.
PHP is server side, so you cannot have it pop windows up, or ask the user
questions in an inputbox (unless
On Wednesday 03 October 2001 12:13, Jan Grafström wrote:
Hi!
How does server handle the .inc extension and for what do I use it ?
You should be aware that if the webserver is not set up to handle .inc files
as PHP code, that it might output them as text to the user. Thus possibly
showing
Hi Sovan,
try this link :
http://p2p.wrox.com/archive/pro_php/2001-05/46.asp
=
*
Know more about me:
http://www.geocities.com/mimodit
*
__
Do You Yahoo!?
Listen to your Yahoo!
I'll try this again, with a new topic and a better description.
Can PHP print floating point numbers using scientific notation?
(like 1.32e+5) sscanf reads them ok using %f, but I'd like to print
them with %e or %g and the printf documentation doesn't mention them.
I've tried %e anyway and it
Hello everyone!
I have a problem. My webpage (say webpage_1) needs to get some data
presented on other webpage (wepage_2). I tried to use
fopen("http://webpage_2?params","r") and got connection and stuff, but
I suppose that webpage_2 uses some script checking what type of
browser sent
Thanks for your help. Here is some more information:
I am running the process from the command line as root. I also tried
several different ports, all with the same result.
I don't think you need any special permission to bind to a port above
1024. If so, I couldn't find anything out about
after enabling magic quotes with sybase,
now, i don't even need to addslashes..
the only problem is that is adding quote when i say won't it adds won''t
does any one know why?
thanks a lot
Caleb Carvalho
Application Engineer
LoadRunner/APM
after enabling magic quotes with sybase,
now, i don't even need to addslashes..
the only problem is that is adding quote when i say won't it adds won''t
does any one know why?
Because that is how a ' is supposed to be escaped in Sybase.
-Rasmus
--
PHP General Mailing List
with HTTP 1.1, you just need the normal url, for the GET, but if you want to
use POST or something, you do strlen() and get the length, set the
contentlength, then you send it...make sure to do urlencode before sending
stuff via get, or doing stuff with POST...i wrote a perl POST Client,
because
Yes, it is.
This is exactly the problem. Do you know a way to solution this ?
Thks, Karina
---
I'm not sure I fully understand the problem, but I think I can
have a guess
at it based on my past experiences...
if you have a php page that starts a session with
session_start()
thanks,
how do i get the right output?
Caleb Carvalho
Application Engineer
LoadRunner/APM
-
Enterprise Testing and Performance Management Solutions
stripslashes()
On Wed, 3 Oct 2001, Caleb Carvalho wrote:
thanks,
how do i get the right output?
Caleb Carvalho
Application Engineer
LoadRunner/APM
-
Enterprise Testing and Performance Management
Hello again
I suppose I was not precise enough.
with HTTP 1.1, you just need the normal url, for the GET,
And what do I do with it? How to send it as a request?
but if you want to
use POST or something, you do strlen() and get the length, set the
contentlength, then you send it...
Both of SID and session_id() should return the current session id after
session_start() has been called.
-Rasmus
On Wed, 3 Oct 2001, Karina wrote:
Yes, it is.
This is exactly the problem. Do you know a way to solution this ?
Thks, Karina
---
I'm not sure I fully
Yeap I did download a browscap.ini from a web site, and yes I am aware of
the functionality of the $HTTP_USER_AGENT variable, and yes I am aware of
the fact that the browscap.ini file tells you what a browser is capable of
hence the name BrowsCap (Browser Capabilities).
The question was how do I
My Code:
$PW_LIST=../config/pw.txt;
$fp=fopen($PW_LIST,a);
fputs($fp,$username=$pw\n);
fclose($fp);
This should make a newline after printing $username=$pw, shouldn't it!?
But it doesn't!!!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Yes, it best if you just recompile PHP and let it set the path to it's
default location, or specify a different location if you still desire:
--with-conf /www/conf/php.ini
good luck.
-Original Message-
From: Caleb Carvalho [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 03, 2001
Tom: if you need to weed out duplicates you may try knowing which entries
duplicate themselves and how many times they are duplicated, why don't you
try.
SELECT seminar_name COUNT(*)
FROM student_table GROUP BY seminar_name
This will return the seminar_name field plus a COUNT field that will
On Wed, 3 Oct 2001 08:52:47 -0500, Sheridan Saint-Michel wrote:
I wasn't saying anything about the quality of Editplus. I was just
wondering
what justification there was for the statement
It has more than I could even use including everything TextPad
has and nicer colors for the different
Try LensDebug. Generates messages in a second window from PHP.
http://phplens.com/lens/free_code/lensdebug.php
Eduardo Kokubo [EMAIL PROTECTED] wrote in message
001801c14c18$07d4d7c0$a102a8c0@cttmar">news:001801c14c18$07d4d7c0$a102a8c0@cttmar...
Is there any function in PHP that is similar to
A little problem with single quotes messing up an SQL SET statement...
I can type single quotes, double quotes--it seems, any 'special'
character--into a form, and so long as my PHP script tries to INSERT, UPDATE
or DELETE said row into the table, no problem. But when I try to DUPLICATE
a row
[EMAIL PROTECTED] (Big5ive) wrote:
My Code:
$PW_LIST=../config/pw.txt;
$fp=fopen($PW_LIST,a);
fputs($fp,$username=$pw\n);
fclose($fp);
This should make a newline after printing $username=$pw, shouldn't it!?
But it doesn't!!!
after printing where? in a browser \n does NOT mean
Yes, the result is returned... the problem is that i have to refresh the
page to see it or use it in a query.
Karina
--
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
Hello,
I have a question on how to pass object variable from page to page. Here
is
something that I found, but it doesn't work. I would greatly appreciate if
someone can help:
1. does it matter if I include first, then so session_start()?
file1.php
?
include
On Wed, 3 Oct 2001 17:46:50 +0200, Kamil Nowicki wrote:
Hello everyone!
I have a problem. My webpage (say webpage_1) needs to get some
data
presented on other webpage (wepage_2). I tried to use
fopen(http://webpage_2?params,r;) and got connection and stuff,
but
I suppose that webpage_2 uses
Here is something that I finished the other day that does what you need
script language=JavaScript
function MyForm_onsubmit()
{
bSuccess = true;
if(MyForm.action[0].checked)
{
var x=window.confirm(Message to be displayed here)
if (x)
Through php, I run a function that creates a list of items in a select menu
as follows:
select name=menu
option value=? echo $item1; ?Item 1/option
option value=? echo $item2; ?Item 2/option
/select
but here is how the source code looks:
select name=menu
option value=
item1Item 1/option
option
Distinct is just a group by on all columns, so either of the queries
you showed should be pretty much the same. The difference
between the two shows up when you have multiple columns in
your select. ie
Select distinct id,name from table1;
and
Select id,name from table1 group by name;
do two
On Wednesday 03 October 2001 12:13, Jan Grafström wrote:
Hi!
How does server handle the .inc extension and for what do I use it ?
You should be aware that if the webserver is not set up to handle .inc files
as PHP code, that it might output them as text to the user. Thus possibly
showing
Thank you.
- Original Message -
From: Irmingard Anna Kotelev [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 03, 2001 1:15 PM
Subject: [PHP] New York Remembrance
Dear friends,
the madness incarnate of September 11th, 2001 is one which will never
be
forgotten. How
Hi ya all!
I'm having some trouble with PHP on IIS. Yes, I know IIS suck! When I
have one website, I have no problem. But when I have more than one website
on IIS. This is when I have problem with PHP. I looked up on php.ini to
make sure the line, doc root = is left blank and the other
This assumption is incorrect, these are just variables that most likely
contain unwanted whitespace, such as a \n. Consider using trim()
beforehand.
?php echo trim($item1) ?
Maybe I misunderstand your question. Also, no need for when printing
variables directly like that. echo $foo;
Hi, try this:
?
echo
select name=\menu\
option value=\$item1\Item 1/option
option value=\$item2\Item 2/option
/select;
?
I hope this can help you. Cheers
On Wed, Oct 03, 2001 at 11:08:27AM -0700, Dominik wrote:
Through php, I run a function that creates a list of items in a select menu
as
Even better use mod_rewrite so that .inc files
are never displayed :-)
Jeremy Allen
elliptIQ Inc.
--
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
I don't understand this question, maybe you're looking for :
http://www.php.net/addslashes
http://www.php.net/stripslashes
http://www.php.net/manual/en/configuration.php#ini.magic-quotes-gpc
Looks like you have magic_quotes_gpc enabled. Adjust accordingly. Using
addslashes() on a string
Even better use mod_rewrite so that .inc files
are never displayed :-)
mod_rewrite is severe overkill for this. Just use:
Files ~ \.inc$
Order allow,deny
Deny from all
/Files
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Ok, let me explain exactly what is happening. On a page, try printing out
this code:
foreach($imgs as $copy) {
echo option$copy/option;
}
$imgs is of course an array. The code though goes through all the $imgs and
displays as so
option
image1/option
option
image2/option
option
Well, PHP is not adding the line-feed. It must be in your $copy values.
Run trim() on it before displaying:
echo 'option'.trim($copy).'/option';
-Rasmus
On Wed, 3 Oct 2001, Dominik wrote:
Ok, let me explain exactly what is happening. On a page, try printing out
this code:
Remembering, of course, to check and make sure your include statements are
of the form include(/path/file.inc) rather than
include(http://mysite.com/path/file.inc;) BEFORE adding the below directive
(one mistake I won't ever make again =P )
Sheridan Saint-Michel
Website Administrator
FoxJet, an
What does the error page have?
- Original Message -
From: "Kamil Nowicki" [EMAIL PROTECTED]
To: "PHP-list" [EMAIL PROTECTED]
Sent: Thursday, October 04, 2001 2:55 AM
Subject: Re: Re: [PHP] How to simulate any browser
Hello again
I suppose I was not precise enough.
with
mysqldump would work pretty well if the source DB is mysql, but it's a DB I have to
access via ODBC on a windows box instead. And this particular DB doesn't seem to have
a command line interface to export a table that I can call from PHP.
David
- Original Message -
From: sagar
1 - 100 of 172 matches
Mail list logo