I'm going mad.
I've been trying to implement sessions so it will work backward on my
older 4.0.3 server ( I'm working on a 4.1.2), with no success as of yet,
but I think it's my 4.1.2 that's causing this, as the app in the
following example works perfectly on the older one.
Note, I have explicit
> trim($ulist[1]);
You mean:
$ulist[1] = trim($ulist[1]);
Trim() returns a modifies copy of the string. It does not alter the
original. A lot of the string functions work like that.
Luke Welling
--
PHP and MySQL Web Development
by Luke Welling and Laura Thomson
http://www.amazon.com/exec/obido
Well, I found out a way to do it... A litte bit more coding than should
have been required, but still...
$ulist=command("user list name=$username domain=$domain");
$ulist[1] = str_replace('Dir: ', '', $ulist[1]);
$dir = $ulist[1];
$strlen = strlen($dir);
$strlen = $strlen - "1
Damnit!
I think I need to go home, or even better, take a holiday for a fortnight.
Thanks dude.
- Original Message -
From: "Luke Welling" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 15, 2002 5:30 PM
Subject: Re: [PHP] Got another ripper for you all ;-)
> t
Rasmus Lerdorf wrote:
>
> Sure it can.
I ran some test and it can't. If I run the same tests without using SSL
there is no problem. But if I go from an SSL to a non-SSL connection the
session variable stays registered but it loses it value somehow ...
> If the machine name is different make su
on 15/08/02 5:17 PM, Daren Cotter ([EMAIL PROTECTED]) wrote:
> I understand this solution, but are you telling me
> that companies that send millions of emails per day
> simply use the BCC line in the email? I can't imagine
> this is the "proper" way of doing things...I do, after
> all, need to s
Hello,
I'm trying to use mail function. It's not possible to precise the ISP
stmp server (or other) ? I checked the documentation but no precision
about the stmp.
Is it possible to test this function on development machine ?
Christian,
--
PHP General Mailing List (http://www.php.net/)
To uns
hi,
We have a web based text chat application using php, apache and mysql. ( It works on
the principle that each client inserts the chat content in the db and the common
updated contents are retrieved by contanlty requesting a
php page using browser's auto refresh and displaying the chat co
PHP is installed, but are you sure that is loaded by apache??
look the httpf.conf (i have slack but usually is in /etc/apache or
/etc/apache2 depends of the version) for a line like this:
Include /etc/apache2/mod_php.conf
be sure than that line is uncommented. if not, uncomment it and restart
ap
yes but the variables are still held and would be available if you knew the
session id. until the garbage collection clears it out the session variables
are still there. the session doesn't die when the browser closes, just the
browser's reference to it.
Tim Ward
Please refer to the fol
I have compiled PHP with the following:
'./configure' '--with-pgsql' '--without-mysql' '--enable-track-vars'
'--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-mbregex'
'--enable-trans-sid' '--with-apache=../apache_1.3.26/'
Unfortunately it seems that the --enable-trans-sid option is not
On Thursday 15 August 2002 17:06, Jean-Christian Imbeault wrote:
> I have compiled PHP with the following:
>
> './configure' '--with-pgsql' '--without-mysql' '--enable-track-vars'
> '--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-mbregex'
> '--enable-trans-sid' '--with-apache=../apache_1.
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> "Per" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Daniel Canil wrote:
> > > I have jsut recently installed a php development kit on my windows
> platform.
> > > Im interested in using the sessi
In article <00c101c2441b$83a612a0$0e00a8c0@luke>,
[EMAIL PROTECTED] says...
> Hey guys,
>
> yep, another one...
>
>
> I do this:
> echo "-".$dir."-";
>
> I get this:
>
> -/home/eXtremail/mbox/i-redlands.net/9/1/liam
> -
>
> Note the new line at the end.
>
> Is there a way to get rid of any
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
says...
> Hello;
>
> I have a Mandrake 8.2 machine that I'm trying to get a php webmail
> application running on. Apache is running, php is installed, and when I
> attempt to view/use index.php my browser offers to download "index.php"
> for me.
The problem what that I was using header("Location: http://mysite.com";)
and it seems that PHP will not automatically insert the SID in this case.
Now I need to find a quick and simple way to see if cookies are disabled
or not. If they are I need to manually add the SID to the header() call
.
How do I customize the User-Agent when using fopen() or file() to open a
remote file?
PHP use "PHP/4.2.3-dev" on my system as the User-Agent when I using file()
function to retrive a remote file. Howerver, some servers will refuse to
serve browsers other than Mozilla compatible and return a 403
Hello,
I have some frame on the website, and I'd like specify a target name in
the header function, is it possible ?
Bye
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have tree pages, we call it first.php, second.php, third.php
On My first.php page, I have form (LOGIN FORM) and I'd action it to
second page. Like this Below
..
In my second page I'd tried to use header, for redirecting to third.php
after check the session, in my Session table in my
hy,
I have a tabel (history) with fields:
id (uniq), date, time, name, etc.
I want to select after next rules:
- date and time been sort descendent
- only 10 recording
- value of the field name to be unique
syntax must be something this:
SELECT *, DISTINCT name FROM history
ORDER date DESC, time
That's my randSession Function
function randSession()
{
$pass_len=8 ;
$allchars = 'abcdefghijklmnopqrstuvwxyz0123456789';
$string = '';
mt_srand((double)microtime()*100);
for ($i=0;$i<$pass_len;$i++)
{
$string .= $allchars{mt_rand(0,strlen($allchars))};
}
ret
Or maybe not
whats line 16?
John
- Original Message -
From: "Reymond " <[EMAIL PROTECTED]>
To: "'John Wards'" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, August 15, 2002 11:29 AM
Subject: RE: [PHP] create header and redirecting
> That's my randSession Function
>
>
$formy = "select id, login, level, is_active from User where login =
'$login' AND password=md5('$passwordacting')";
$data = mysql_query($formy,$cnx);
$result_data = mysql_fetch_array($data);
echo $result_data['id']; <-- this line 16 , I wanna try to print to
browser.., and work good..
echo $row['h
AFAIK - you can't echo or print before sending a header.
If you want to do this - maybe use meta tags rather than the location
redirect.
Michael.
-Original Message-
From: Reymond [mailto:[EMAIL PROTECTED]]
Sent: 15 August 2002 11:40
To: 'Michael Hazelden'
Cc: [EMAIL PROTECTED]
Subject:
That's u mean this meta..
I have used it..
I am newbie in php scripting on asp I do Buffer on top of page to
redirecting like this below.
Response.Buffer = True 'Buffers the content so our Response.Redirect
will work
..
is it available on php scripting..??
-Original Message-
From: Mich
Actually - I meant:
http://your.website.com";>
This will perform the same thing as the location redirect ... only it does
it in the body of the HTML.
M.
-Original Message-
From: Reymond [mailto:[EMAIL PROTECTED]]
Sent: 15 August 2002 11:55
To: 'Michael Hazelden'
Cc: [EMAIL PROTECTED]
Oi!!!
Don't knock the Irish!
I got it working eventually :-)
-Original Message-
From: David Robley [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 15 August 2002 7:27 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Got another ripper for you all ;-)
In article <00c101c2441b$83a612a0$0e00
I have print it
This print out
third.php?id=1&session_id=wub8nwrq
-Original Message-
From: Michael Hazelden [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 5:28 PM
To: 'Reymond '
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] create header and redirecting
AFAIK - you can't
A target name?
That's a HTML thing. I think you're confusing header() with I
believe.
I think it's something like:
But I gave up on frames YEARS ago, so I could be wrong :)
Justin French
on 15/08/02 7:40 PM, Christian Ista ([EMAIL PROTECTED]) wrote:
> Hello,
>
> I have some frame on
> That's a HTML thing. I think you're confusing header() with
I
> believe.
No no
I explaine, I do that :
I'd like to display all my pages in the frame "content". Some times, from
the menu for example, I do a that it's ok
but sometimes, I call a php page
Which frame calls the header()?
When you're in a frameset, each page is an individual HTML file (or PHP
file). If you call a header() in top or left, it will redirect the fram you
call... it can't possibly call the content frame.
PHP happens on the server, Frames happen on the browser.
The onl
Hi!
A new CHM sample is out now at http://weblabor.hu/php-doc-chm and
it will be announced later this day at php.net. It has many cool
new features, including:
support for custom skins [two sample custom ones included,
and some documentation on how to create your own CSS or
graphic
Whay not just set up a page that lists today's birthdays and a button that
sends e-mail greetings. You can place this page in a secure directory so
everyone who visits can get to it and click the button.
a. create page and script
b. place in secure directory
c. log in each day
d. click button
HT
This is somewhat off-topic, but has to do with shared hosting. All of my
experience with Linux has been on boxes where I've pretty well had the only
account. I'm now working on a shared system which provides SSH access. The
idea is to host a client's site on this system, but after a few hours
Hi!
For one of my projects, I am searching for a list of PHP news
sites. I would really love to receive links to these kind
of sites, as I only know a few ones. A PHP news site in my mind
provides news about PHP, projects using PHP, and may also host
articles. I am not interested in forums, maili
Liam MacKenzie wrote:
>>Ok, I'm having a blonde day...
>>
>>If $idx == 1, 4 or 9 I don't want it to echo $results.
>>I have this, what's the syntax to put multiple values in there?
>>
>>
>>if ($idx != "1") {
>>echo"$results";
>>}
Another way to do it is by using in_array(), like so:
if (!in_arr
Hello,
On 08/15/2002 04:17 AM, Daren Cotter wrote:
> I understand this solution, but are you telling me
> that companies that send millions of emails per day
> simply use the BCC line in the email? I can't imagine
> this is the "proper" way of doing things...I do, after
> all, need to send 50,000
On Wed, Aug 14, 2002 at 07:43:40PM -0300, Breno Cardoso Perucchi wrote:
>
>Action application/x-httpd-php403 "/ver403/php"
>ScriptAlias /ver403/ "/usr/local/php/ver403/bin"
>AddType application/x-httpd-php403 .php3
>
> Not Found
> The requested URL /ver403/php/index.php3 was not found
David. This is for you to note, as well as most of the people of this
list who think that ALL OF US use own our computers as Internet Servers,
being able to make CRON jobs or scheduling... well, WE DON'T. Some of us
don't even has cable modem or steady connection and need to build up web
sites tro
iwill rephrase my question, where can i find good xml-php links?
how would you extract all information about the Guinevere server in this
xmlpage,
http://www.camelotherald.com/xml/servers.xml
its aprox in the middle of the list, and i want all information there so i
could display it on a page.
r
Hi everybody
What I wrote in the subject may look complicated so I added a html file. It
explains what I have and what I want to show.
Thanks in advance
begin 666 test.html
M/"%$3T-465!%($A434P@4%5"3$E#("(M+R]7,T,O+T141"!(5$U,(#0N,#$@
M5')A;G-I=&EO;F%L+R]%3B(^#0H\:'1M;#X-"CQH96%D/@T*/'1I=&QE/E5
I'd be running away :)
Justin French
on 15/08/02 10:36 PM, Miles Thompson ([EMAIL PROTECTED]) wrote:
> This is somewhat off-topic, but has to do with shared hosting. All of my
> experience with Linux has been on boxes where I've pretty well had the only
> account. I'm now working on a shared s
No, but instead you could do something like:
header ("Location: frame.php?url=content.php");
Then in frame.php:
Make sense?
-Brian
*
> -Original Message-
> From: Christian Ista [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 15, 2002 7:32 AM
> To: [
Hi,
How can I keep values in a from when using session_start() and later, the
"Back" Button on my Browser after posting via POST?
Thanks,
Don
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> From: Ing. Rajesh Kumar [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 15, 2002 9:36 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] How to show data in one row from two rows from
> the database
>
>
> Hi everybody
> What I wrote in the subject may look complicated so I added a
> html file.
[snip]
Something like:
$sql = "Select DISTINCT COUNTRY from tariffs";
$result=mysql_query($sql) or die(mysql_error());
while ($row = mysql_fetch_array($result)) {
echo "Rates for {$row['COUNTRY']}\n";
$sql = "select DISTINCT GROUP from tariffs where
COUNTRY='{$row['COUNTRY']}' order by GROUP"
I am looking for an example of conditional menus using PHP / mySQL to
populate the options and values of the menus and java to change these
properties with out needing to submit the form to update it.
Here is the best, closest example I could find using a static page:
http://www.webreference.com
This is a javascript thing. Try comp.lang.javascript... the only thing u
really need to know is that you have to send ALL the data to the page with
javascript, then effectively, it's a static HTML page.
Justin French
on 16/08/02 12:19 AM, Dan Tappin ([EMAIL PROTECTED]) wrote:
> I am looking
Yes a javascript list is my next stop. After doing some digging I thought I
would give the PHP list a shot first.
I find it kind of gross loading ALL the data onto the page but I like the
look the conditional menus give.
Thanks,
Dan
> This is a javascript thing. Try comp.lang.javascript... t
I am, the provider has been instructed to close the account. I am still
wondering if this is typical for a shared environment. I'm now looking at a
virtual server solution.
Cheers - Miles
At 11:48 PM 8/15/2002 +1000, Justin French wrote:
>I'd be running away :)
>
>Justin French
>
>
>on 15/08/0
I am getting include errors in php and when I check the apache logs i get
out of file handler errors.
Has anyone ran into this problem? I am wondering if there is a problem with
the image functions. I am doing a lot of image creating and manipulation.
Can anyone confirm this?
.: B i g D o g :.
"Donpro" <[EMAIL PROTECTED]> wrote in message
007601c24462$fec36fe0$[EMAIL PROTECTED]">news:007601c24462$fec36fe0$[EMAIL PROTECTED]...
> Hi,
>
> How can I keep values in a from when using session_start() and later, the
>
I always keep variables as hidden HTML variables Note: you'd
have to include
when I type "date" in a console on my server, it returns a different
time than that returned by date() or gmdate() - any idea why?
--
Kae Verens
http://www.contactjuggling.org/users/kverens/
http://www.contactjuggling.org/ (webmaster)
--
PHP General Mailing List (http://www.php.net/)
To unsu
General rule of thumb - create indexes on any fields which will be used in
the conditional part of a select statement, whether where or join. Since
you are working with tables, you can save yourself a lot of typing by
dropping the "table_" from the table names. After all, that's what they
are.
It's not typical of my shared server.
I have no SSH, and haven't been able to find a way (yet) of browsing or
accessing anything that isn't mine... yet!
Justin
on 16/08/02 12:28 AM, Miles Thompson ([EMAIL PROTECTED]) wrote:
> I am, the provider has been instructed to close the account. I am
Hello Gabor,
I hope you don't mind that I am replying also to the list because I
would like to tell about something that may be of the interest of other
users.
On 08/15/2002 09:42 AM, Gabor Hojtsy wrote:
> For one of my projects, I am searching for a list of PHP news
> sites. I would really lo
incorect sintax
see:
Example 4. date() Formatting
/* Today is March 10th, 2001, 5:16:18 pm */
$today = date("F j, Y, g:i a"); // March 10, 2001, 5:16 pm
$today = date("m.d.y"); // 03.10.01
$today = date("j, m, Y"); // 10, 3, 2001
$today
Hello,
On 08/15/2002 10:30 AM, Pafo wrote:
> iwill rephrase my question, where can i find good xml-php links?
> how would you extract all information about the Guinevere server in this
> xmlpage,
> http://www.camelotherald.com/xml/servers.xml
>
> its aprox in the middle of the list, and i want a
To make that work with register_globals = off wouldn't you use
Adam
On Thu, 15 Aug 2002, Brian V Bonini wrote:
> No, but instead you could do something like:
>
> header ("Location: frame.php?url=content.php");
>
> Then in frame.php:
>
>
> SCROLLING="Auto" FRA
adi wrote:
> incorect sintax
maybe I wasn't precise enough:
when I place date("h:i a") in a page on my server, and view it in a
browser, I am returned: "02:51 pm". According to the server itself,
though (logged in through ssh), using "date", it is 3:51. gmdate("h:i
a") returns the same 2:51 ti
Yes, Javascript is the most common way of doing this. The alternative is to
submit the variable back to the main PHP document (whatever created the
Frames in the first place) and regenerate the entire screen (frameset and
all). The script can then pass the variables on in the tags. It
ain't pr
Sorry if my reply set you off. It was late. I might have said something
stupid. I was tired. I should have gone to bed and ignored it. You're
right though, it's pretty important to say "I don't have full access to my
web server" in your message when you don't. I guess I was keying off of
NoWhEr
On Thursday 15 August 2002 21:28, César Aracena wrote:
[snip]
> I'm tired of watching replies like "just make a CRON job" or "set up a
> scheduled task" so from now on, I will be including "no server reach" or
> something like that into all my messages and suggest that all the people
> who's als
I am using PHP to maintain a catalog of music and have been just fine with
it but have run into one thing i want to do and need some advice.
The format of the data is like so:
upc|genre|distributor|details
What I want to do is grab a "summary". So it would end up printing out:
rock (43)
countr
I'm running a linux apache server 1.3.26 with php 4.2.2
I have some virtualhosts on my server
my mainserver is: www.!!.com
and they are hl.!!.com ...
for ex: i don't want any php code to be able to run exec() or system()
command which is being ran on hl.!!.com
http://hl.!!.com/t
Has anyone bumped into or written a set of good searching routines? I need
to search across one,two, or three fields in an MySQL database in either
exact phrase (easy) or keyword with relavence (difficult.) I'm thinking
something like a google/yahoo style search. I've tried MySQL full text
searc
You could do it if you had a table with each genre of music.
// get each genre
while ($genre = mysql_fetch_array(mysql_query(select * from genre_table));
{
// sql query to fetch the # of albums of a specific genre
$sql = mysql_query(select count($genre) as count from album_table where
genre =".$g
On Thursday 15 August 2002 23:19, Jeff Lewis wrote:
> I am using PHP to maintain a catalog of music and have been just fine with
> it but have run into one thing i want to do and need some advice.
>
> The format of the data is like so:
>
> upc|genre|distributor|details
Where is this info coming f
I only just started getting into this, but it seems that a LOT of the work
is done for you with MySQL's FULLTEXT stuff Check it out in the MySQL
manual.
Justin French
on 16/08/02 12:59 AM, David Buerer ([EMAIL PROTECTED]) wrote:
> Has anyone bumped into or written a set of good searching r
I think you want something like this:
SELECT genre, COUNT(*) as count FROM music GROUP BY genre;
Dan
> I am using PHP to maintain a catalog of music and have been just fine with
> it but have run into one thing i want to do and need some advice.
>
> The format of the data is like so:
>
> upc|
Jason,
Much appreciated, this worked :)
select genre, count('genre') from catalog group by genre
- Original Message -
From: "Jason Wong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 15, 2002 11:26 AM
Subject: Re: [PHP] Group and count at the same time?
> On Thursd
Hi
Can someone show me how to export MySQL table to a csv file?
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks a lot.
The other day I have talked with one of my classmates and say that
there is nearly no essential differences between session and url
variables, after I read your answer I know that it does have.
I have tried your way of using session, it does make sense in differentiate
between
Thanks for Email to me so soon!
1. Before I sent you Emails I read the function "session_destroy()" and function
"session_unset()" again
I use session in this sequence:
session_start();
//after user has been authenticated (using database authentication)
$userid = $txtUser; //txt
"David Buerer" <[EMAIL PROTECTED]> wrote in message
91FBD0B430EFD5118B930060672D982C081148@CAIRO">news:91FBD0B430EFD5118B930060672D982C081148@CAIRO...
> Has anyone bumped into or written a set of good searching routines? I need
> to search across one,two, or three fields in an MySQL database in e
[snip]
Can someone show me how to export MySQL table to a csv file?
[/snip]
>From http://www.mysql.com/doc/en/SELECT.html
The SELECT ... INTO OUTFILE 'file_name' form of SELECT writes the selected
rows to a file. The file is created on the server host and cannot already
exist (among other things
Is there is a volume limitted for PHP upload file
using HTTP?
I heard of there is a 8-9Mb limitted,is it true?
Is there a method to solve it?
> is usually in /usr/local/lib
Ok, just reinstalled 4.2.2 to make sure I didn't miss anything -- it didn't
install any php.ini file (although phpinfo() says it's location is
/usr/local/lib).
Should I just create one from scratch?
--
Randy Perry
sysTame
Mac Consulting/Sales
phn
rename php.ini-dist thats with the php source code to php.ini and copy it
to /usr/local/lib
Adam
On Thu, 15 Aug 2002, Randall Perry wrote:
> > is usually in /usr/local/lib
>
>
> Ok, just reinstalled 4.2.2 to make sure I didn't miss anything -- it didn't
> install any php
I have my Sessions Started in a different function...
I have a different function displaying a form dependent
on input... At the end of the body of the Script
(The Script that is not part of any function
//based on an online example by: URS Gehrig...
I try to destroy the session.. This isn't wor
Assuming that you KNOW the structure of the table, this should do it... if
you needed something more open-ended to cope with ANY table, I'd have to
think about it a little more:
This is all off the top of my head, untested, with snippets lifted from the
manual, but it should give u the theory,
hey people,
I have been seeing something in a few php scripts i've been playing with and
i really dont know what it means or does. I'm only new to php so maybe
someone could explain.
i have been seeing "->"...e.g. while($file = $dir -> read())
what does the "->" mean and do.
thanks heaps
--
P
Thanks. I put it in /usr/local/lib and turned register_globals On (I plan on
setting it off after I rewrite all my scripts and give my hosting clients
notice and time to rewrite theirs).
But, it's still not passing vars (though $HTTP_POST_VARS[] works ok). Is
their something else I need to do to
Hello there,
I have a class (didn't want to paste in the whole class, so I just put
in the relevant part) it works fine except for one problem.
The function that I have here has a minor problem, it doesn't parse out
all the data correctly, the Current file doesn't come up all the time.
It is becom
The php.ini directive "session.gc_maxlifetime"??
php.net/session is worth a read
Justin French
on 16/08/02 1:51 AM, mintbaggio ([EMAIL PROTECTED]) wrote:
> Thanks a lot.
> The other day I have talked with one of my classmates and say that
> there is nearly no essential differences between se
I'd like to agree. But i've speant a lot of time investigating, learning,
and expirimenting with Full Text search and what I've found is that first,
full text does not always return the right results and second and perhaps
more important in my situation is that full text search doesn't work on BLO
Because to my knowledge the limitation of a TEXT field is 64K. I need to
store entire documents in the database which far exceed the 64K limitation.
Given that criteria, the only option is to use blob fields which have an
upper limit of roughly 4GB.
-Original Message-
From: Justin French
Using SQL or PHP?
> -Original Message-
> From: Djurovski Dejan [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 15, 2002 11:42 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] MySQL to csv
>
>
> Hi
>
> Can someone show me how to export MySQL table to a csv file?
>
> Thanks!
>
>
>
> -
why does include always opens my included file
although it is defined as a variable
Example:
$file=include(/myfile/myfile.txt/);
shouldn't it only be opend by typing
echo $file;
?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/
http://www.php.net/manual/en/ref.classobj.php
Chris Barnes wrote:
> hey people,
> I have been seeing something in a few php scripts i've been playing with and
> i really dont know what it means or does. I'm only new to php so maybe
> someone could explain.
>
> i have been seeing "->"...e.g. whil
644 should be fine. I don't know about you, but for some reason on my
linux box, I can't get $HTTP_POST_VARS or $_POST to work at all. it sends
the value wrong. If I were you'd change the form method=post to
method=get and then use $HTTP_GET_VARS or $_GET and see if it works. I
think there is
http://www.php.net/manual/en/configuration.php#ini.memory-limit
http://www.php.net/manual/en/configuration.php#ini.post-max-size
http://www.php.net/manual/en/configuration.php#ini.upload-max-filesize
Mintbaggio wrote:
> Is there is a volume limitted for PHP upload file
> using HTTP?
> I heard of
[snip]
why does include always opens my included file
although it is defined as a variable
Example:
$file=include(/myfile/myfile.txt/);
shouldn't it only be opend by typing
echo $file;
[/snip]
The include() opens the file to place it in the variable, in other words
include means READ INTO. Th
Can't you use a fopen('$file','r+'); or some like this instead?
Otherwise, I don't use vars to store includes in.
I always use constructs like this:
include('/path-to-file/file-name.inc.php');
But what happens when you put a file via fopen() driektive into an array? -
Will it be parsed later o
I asked this question a while ago, and I am still seeking clarification,
I fooled with ereg_replace and they only do a piece of what I want, I
would like to know how to keep only a chunk of text defined between 2
tags let's say, and and ignore everything else, I also have
to search and replace c
basically it is used for accessing a variable in an array.
Adam
On Wed, 14 Aug 2002, Chris Barnes wrote:
> hey people,
> I have been seeing something in a few php scripts i've been playing with and
> i really dont know what it means or does. I'm only new to php so maybe
Is anyone here have any information on the PHP Users Group of Salt Lake
City, Utah?
Thanks,
.: B i g D o g :.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
I asked this question a while ago, and I am still seeking clarification,
I fooled with ereg_replace and they only do a piece of what I want, I
would like to know how to keep only a chunk of text defined between 2
tags let's say, and and ignore everything else, I also have
to search and re
It will probably behave the same way include does, which is correct
behavior.
$file=include(whatever) is telling php to store the result from include in
the $file variable, not storing a command in it.
You could do $file='include()', and then you would wind up with a variable
with whatever text
on 16/08/02 1:50 AM, David Buerer ([EMAIL PROTECTED]) wrote:
> Because to my knowledge the limitation of a TEXT field is 64K. I need to
> store entire documents in the database which far exceed the 64K limitation.
> Given that criteria, the only option is to use blob fields which have an
> upper
1 - 100 of 213 matches
Mail list logo