Hi
Looks like the range of the block overlaps the range of the block
I usually generate all the TH stuff first
You can then generate the and data elements as needed after that
for each row
HTH
Jeff Lewis wrote:
> Using this function to dump a table, having a problem outputting the valu
Hello.
After I compiled PHP with Java support, I instantiated new class [ eg. ]. I got blank response, and that child of
Apache died.
Is this a bug that I should report? or I'm missing somthing here? Any expert please
give me some suggestions.
For Apache error log,
[Fri Jul 27 17:4
Tim,
It is not necessary to retrieve your values using $HTTP_POST_VARS, the
variables can be referred to by their name, e.g $hit_955 so in PART 1 it
appears that you are intialising everything that was passed from the select
page to 0. All you need to do is initialise your counters.
PART ONE:
Hi,
I'm creating a very simple script (or so I thought) in which a user can
select items from a form, the script will take the number values of those
items and do two things: display the names of the items selected, and add
the items together and give the user a total price including taxes.
I
I have been using PHP/MySQL to build alot of little utilities (like form
mailers, contact DBs etc.) for my sites on linux and freebsd, but I just
got a client requiring a win2k server running WebLogic (for JSP
purposes). Can I even install PHP in that environment and if so, would
it conflict with
Matt,
Try ereg_replace:-
$fldemail == ereg_replace("'","",$fldemail);
Chris
Matt Stone wrote:
> Hi all,
> I am trying to validate some email addresses before they are entered into
> the database.
> The problem is, some thick or malicious people are entering single quotes
> into their email a
Hi all,
I am trying to validate some email addresses before they are entered into
the database.
The problem is, some thick or malicious people are entering single quotes
into their email addresses.
I need to strip out all these single quotes but a little ole' str_replace
doesn't seem to be working
- Original Message -
From: "Mark Lo" <[EMAIL PROTECTED]>
To: "php general" <[EMAIL PROTECTED]>
Sent: Friday, July 27, 2001 10:40 PM
Subject: [PHP] auto refresh in every five seconds.
> Hi,
>
> I would like to know how to do a auto refresh in every five
seconds.
This isn't php,
Hi,
I would like to know how to do a auto refresh in every five seconds.
Thanks
Mark
--
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 PROTE
There are a wealth of available scripts at other websites...
www.hotscripts.com for instance... I find it unlike at this point that
anybody will send you anything... Just go there, or to SourceForge, and
you'll find all you need.
Ben
-Original Message-
From: Kyle Smith [mailto:[EMAIL PRO
On Fri, Jul 27, 2001 at 04:31:51PM -0500, Craig Gardner wrote :
> Is there any way to pass JavaScript variables to PHP?
This doesn't belong in here; this list is for the development OF
php and _not_ WITH. Ask at [EMAIL PROTECTED]
- Markus
--
Markus Fischer, http://guru.josefine.at/~mfischer/
Is it possible to force a confirmation page that is displayed via a post
operation to be cached so it will not rerun the script when somebody hits
the refresh button? I am hoping it is easy as using a header thanks
in advance
Randy
--
PHP General Mailing List (http://www.php.net/)
To
You wrote:
> I am trying to receive file names but can't quite figure out the
proper > substr to do it:
>
> jeff.dat
> jeffrey.dat
> chris.dat
> tom.dat
>
> I want to receive the name to the left of the .dat
>
> Jeff
$file = array("jeff.dat", "jeffrey.dat", "chris.dat", "tom.dat");
for($i=0; $i\n
You wrote:
> While I do appreciate people's contributions, let me frame the
> discussion a little. The person I need to convince is an
> administrator of an organization within North America, and he's never
> heard of PHP. The response I'm hoping to provoke in him is something
> like this: "You
Martin Marconcini wrote:
> LOL :) I didn't ... perhaps I used an old version...
Must've been an old version, I've been using it for close to a year and
haven't
had it crash nearly as much as expected for a winblows app (at work on
winnt4).
Wish there was a *nix port of it.
--
Chip
>
>
> Regard
when using mkdir
I cant seem to make subdirectories
is there any way to do this ?
Jerry Lake
Interface Engineering Technician
Europa Communications - http://www.europa.com
Pacifier Online - http://www.pacifier.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail
>Bug in IE? PHP doesn't even enter the picture here. The HTTP_REFERER
>variable is defined by the web server if that information is provided by
>the browser.
No, it's not really a PHP thing, it's more HTML stuff.
I suspect that the error comes because one of the server is not running
SSL, so
Sorry, I don't know if this is a php or Apache or MySQL or even
Linux problem. Any suggestion would be of help.
Server Version: Apache/1.3.19 (Unix) PHP/4.0.4pl1
MySQL 3.23.33
When watching top, things go nicely for a while. If there is high
load, it is significant that mostly httpd processes ar
Hello Jon,
tried that it still just wants to download it
Friday, July 27, 2001, 2:49:14 PM, you wrote:
Jon Snell> This is a long shot, but... MSIE has a nasty habit of saving the mime type
Jon Snell> of a page. If you attempted to load the URL before PHP was set up properly,
Jon Snell> it won
on 7/27/01 3:46 PM, Jerry Lake at [EMAIL PROTECTED] wrote:
> for the life of me I can't remember
> how to convert a string to just the first
> letter of itself i.e. $string = test
> ...a function
> $string_first = t
>
$word = substr($word,0,1);
-- mike cullerton
--
PHP General Mailing Lis
> I have a frameset that runs on a SSL enabled server that has two frames in it.
> One of the source is the local machine and the other one is a (outsourced
> asp !!) script in another machine without SSL.
> The non SSL one requires HTTP_REFERER to make sure it was hit from the
> authorized server
for the life of me I can't remember
how to convert a string to just the first
letter of itself i.e. $string = test
...a function
$string_first = t
I must be thinking in circles today.
Jerry Lake
Interface Engineering Technician
Europa Communications - http://www.europa.com
Pacifier Online -
This is a long shot, but... MSIE has a nasty habit of saving the mime type
of a page. If you attempted to load the URL before PHP was set up properly,
it won't load until after you closed IE and reopened.
-Original Message-
From: Richard Kurth [mailto:[EMAIL PROTECTED]]
Sent: Friday, J
Hello,
i have a big problem. I want to compile php4.0.6 ./configure
--with-imap --with-imap-ssl=/usr/lib
checking for IMAP support... yes
checking for pam_start in -lpam... (cached) yes
checking for Kerberos support in IMAP... no
checking for SSL support in IMAP... yes
configure: error: T
I have a frameset that runs on a SSL enabled server that has two frames in it.
One of the source is the local machine and the other one is a (outsourced
asp !!) script in another machine without SSL.
The non SSL one requires HTTP_REFERER to make sure it was hit from the
authorized server.
This
You can use phpmyadmin to dump the database into .sql files and then use
phpmyadmin again on the new server to import it.
--
Owen Rudge
http://www.owenrudge.co.uk/
http://www.gamearchive.uk.tt/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For add
Augusto,
This has been exhaustively covered, and I believe someone has set up a page
that deals specifically with PHP and editors.
You can search the archives, however, at
http://www.php.net/search.php
Use editor as your search term, pick the general list, and there are scores
of messages.
G
Didn't we go through this the other day? :) :)
There are lots of sites available with LOTS of scripts you can look at that
do very practical things. Scripts that I am sure some of us have even used
on occasion (I know *I* have!). Besideshow is someone sending you one
of their scripts "hand
on 7/27/01 12:21 PM, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote:
> Is it possible to send an array of numbers into a php file through a url?
> Like if I have a file that adds numbers together, could I send it
>
> www.domain.com/add.php?num=2,3,4,5
>
> $num would be an array.
www.domain.com/a
can anyone give me a work around for a PHP date function when used in
conjunction with a PHP include.
The code inside the include is printed but I do not know how to echo the
date as the document has already been parsed once.
Any help would be appreciated. Please reply to [EMAIL PROTECTED]
many th
I like to use PHPCoder, www.phpide.de
--
Julio Nobrega.
2B||!BB - That's the question.
"Augusto Cesar Castoldi" <[EMAIL PROTECTED]> wrote in message
Pine.GSO.4.10.10107271605490.2482-10@minerva">news:Pine.GSO.4.10.10107271605490.2482-10@minerva...
> Hi.
>
> I'm using the PHPEd (htt
On Fri, 27 Jul 2001 13:32:49 -0600, Kevin Leavell ([EMAIL PROTECTED])
wrote:
>Regular email flows in and out just fine.
>
>The host providers are and have been fiddling with the dns stuff to
>no avail.
we don't know anything about your setup, it could be that a different
server is handling your m
Regular email flows in and out just fine.
The host providers are and have been fiddling with the dns stuff to no
avail.
Kevin
- Original Message -
From: Mark Maggelet <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, July 27, 2001 12:14 PM
Subject: Re: [PHP]
php.install doesn't seem to be too active, I'll try here :)
hi all,
I'm trying to configure a fresh 4.0.6 cgi, and I'm getting this message
after a clean configure process:
++
| *** ATTENTION ***
On a freebsd 4.2 system, php 4.0.5 / gd 1.8x were running happily.
Downloaded and compiled gd 2.0.1 no problems.
Downloaded and compiled php 4.0.6 with:
./configure --with-mysql --with-apxs --with-gd=/usr/local
--with-zlib-dir=/usr/local --with-jpeg-dir=/usr/local --enable-gd-imgstrttf
--with-
> I have a php script that runs every 30 minutes. It takes the contents of a
> directory (which is constantly being updated) and dumps them into a mysql
> database. Recently this directory has become increasingly large and the php
> script only updates a portion of it before it stops execution.
>
Using this function to dump a table, having a problem outputting the value
below after the SELECT * FROM $ID.
function dump($ID, $link) {
echo "Dumped table $ID";
$fields = mysql_list_fields("hyrum_nuke", $ID, $link);
$columns = mysql_num_fields($f
I am trying to get php as cgi installed on a RedHat7 box to be used
with Apache. I configured it with ./configure --with-mysql did a make
and then a make install every thing whet just fine. I add
ScriptAlias /php/ "/usr/local/bin/php"
AddType application/x-httpd-php .php4 .php3 .phtml .php
AddTyp
Hi.
I'm using the PHPEd (http://www.soysal.com/PHPEd) as my default editor.
But this program aren't very good, it's instable. Something crash...
Do you know a good php editor?
thanks,
Augusto
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For ad
I can do basic file uploads. How do you let the user choose the number of
uploads with drop down list?
Gary
--
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
> Is it possible to send an array of numbers into a php file
> through a url?
> Like if I have a file that adds numbers together, could I send it
> www.domain.com/add.php?num=2,3,4,5
> $num would be an array.
Sent that last one out prematurely... sorry...
Take a look at the serialize() and ur
> Is it possible to send an array of numbers into a php file
> through a url? > Like if I have a file that adds numbers together, could
I send it
>
> www.domain.com/add.php?num=2,3,4,5
>
> $num would be an array.
>
> Thanks,
> Pat
>
> When I upload a file using PHP, it seems to break sessions.
Hi Dan,
No direct experience of this myself, but I was researching this functionality
and came across the below recent bug report in the archives. I think it speaks
to your issue. I also included my post to the php-dev list, in case
that's the same as $num = "2,3,4,5";
$num is a string.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 27, 2001 11:22 AM
To: [EMAIL PROTECTED]
Subject: [PHP] array through url?
Is it possible to send an array of numbers into a php file through a
On Fri, 27 Jul 2001 14:21:41 EDT, ([EMAIL PROTECTED]) wrote:
>Is it possible to send an array of numbers into a php file through a
>url?
>Like if I have a file that adds numbers together, could I send it
>
>www.domain.com/add.php?num=2,3,4,5
>
>$num would be an array.
on the next page just go:
$
Dears:
I have a problem using mail function under the default IIS's SMTP. Appears an
error, something like:
Unknown error in line 3
Line 3 only have the instruction mail ("[EMAIL PROTECTED]","[TEST] Hola","Mensaje
de Prueba").
I have tested the use of this function using another
On Fri, 27 Jul 2001 09:31:50 -0700, Brandon Orther
([EMAIL PROTECTED]) wrote:
>Hello,
>
>I am trying to get the Payflow pro library compiled with PHP and am
>having any problems. When I compile it without shared it gives me a
>-8
>error or SSL connection error. If I try to compile it with shared
Is it possible to send an array of numbers into a php file through a url?
Like if I have a file that adds numbers together, could I send it
www.domain.com/add.php?num=2,3,4,5
$num would be an array.
Thanks,
Pat
On Fri, 27 Jul 2001 11:11:57 -0600, Kevin Leavell ([EMAIL PROTECTED])
wrote:
>mail0 is sending mail that can't be received by aol or my local isp.
> That
>same mail can be received by other sites on that same server. The
>mail doesn't bounce but I am getting a few DSN errors in my maillog.
it so
mail0 is sending mail that can't be received by aol or my local isp. That
same mail can be received by other sites on that same server. The mail
doesn't bounce but I am getting a few DSN errors in my maillog. My site is
hosted at a major hosting company. Funny enough, when the scripts were run
Hello people,
I am wondering if this is a bug or even something that
anyone has noticed before.
When I upload a file using PHP, it seems to break sessions.
The session ID is still around, the session variables
are still in the session files, but when trying to
go to another page linking off th
got to www.hotscripts.com download anything you want.
__John Monfort_
_+---+_
P E P I E D E S I G N S
www.pepiedesigns.com
"The world is waiting, are you ready?"
-+___+-
On Fri, 27 Jul 2001,
I can send you one if your subject calms down.
Thank you,
Brandon Orther
WebIntellects Design/Development Manager
[EMAIL PROTECTED]
800-994-6364
www.webintellects.com
-Original Message-
From: Ky
Can everybody please send me a simple script they have made it doesnt matter what, i
just need some material to learn from, i learn better hands on.
-legokiller666-
http://www.StupeedStudios.f2s.com
New address new site
ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666
Hi Hth,
I just tried two programs with the same name to display echo phpinfo().
One with php3 extention and another with php extention and both brings
in php 3.0.12
Is there anything else I should check?
Thanks in advance.
-Unni
Kurt Lieber wrote:
> If it's set up according to defaults, a fi
Hello everyone,
I'm looking for a PHP/MySQL script that keeps traffic stats, similar to
what the Counter.com script offers.
Do you know where I can one that offer the following features?
The ideal script would:
-track user domain and IP
-track page viewed
-provide a graphical display o
Hello,
I am trying to get the Payflow pro library compiled with PHP and am
having any problems. When I compile it without shared it gives me a -8
error or SSL connection error. If I try to compile it with shared it
gives me undefined function error. Anyone have an helpful tips?
Thank you,
--
If it's set up according to defaults, a file named .php will be
processed by php4 and one named .php3 will be processed by php3.
You can test this out by creating two files, one with a .php extension
and one with a .php3 extension. Then, just place an "echo phpInfo();"
in the file and you'll see
Check the fwrite function. There are a couple of examples of writing
flat files there.
http://www.php.net/manual/en/function.fwrite.php
Sheridan Saint-Michel
Website Administrator
FoxJet, an ITW Company
www.foxjet.com
- Original Message -
From: Gary <[EMAIL PROTECTED]>
To: <[EMAIL PR
Textarea is also a veriable
Write a the file with $textVar value thats it.
Gary wrote:
> Hello All,
> I am still kinda new to php. I know how to write/create a flat file but
> how would I write to a flat file from a form object ?
>
> TIA
> Gary
>
>
>
--
PHP General Mailing List (http:
Hello,
This is a very basic question. My server admin said, the PHP is
available in the server to use it. PHP3 available in the server and PHP4
is available as CGI-Wrapper. Now my question is, how can I make use of
PHP4 over riding PHP3?
Thanks.
-Unni
--
PHP General Mailing List (http://ww
Try LIMIT in the select
Plamen Slavov wrote:
> Hi guys,
> I have a big MySQL table - about 300MB
> I want to get all the records from the table, make certain transformations and write
>them to a text file (i can not use "select into outfile...)
> the problem is when i type "select * from " the
Hello All,
I am still kinda new to php. I know how to write/create a flat file but
how would I write to a flat file from a form object ?
TIA
Gary
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
If you are using DB queries a lot, try to use LIMIT, this will save lot
of your time.
Tom Carter wrote:
> Do you have many DB queries? What is the average size of the result
> returned?
>
> have you tried running timing functions on it to get a measure of how long
> the page is taking? theres
hahahaha...
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 27, 2001 9:51 AM
To: [EMAIL PROTECTED]
Subject: [PHP] e-mail confirmation #76215525
This is a confirmation e-mail for your request.
You can come anytime and claim your FREE Sex Toys at
okay another one we never discussed. what is this?
/image_blu2.jpg
is this an element? i rememeber only discussing
$timage
$logo
$button
$textmenu
so what are the other ones
and if you wanted to include addition elements why not tell me before. i
asked you to list ALL possible element
If you're only doing one DB query per page, then the query is probably
what's taking the longest.
Log into mysql, and execute EXPLAIN SELECT ... ... It'll
tell you how MySQL plans on performing the query across the rows of the
table(s). You can use the information it provides to optimize your
I increased apache to 60 seconds, but it still fails. it doesn't actually
go for 60 seconds. It's more like 10 seconds before it fails. Any idea
where I would allow Apache to deal with a larger POST?
-Original Message-
From: bill [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 27, 2001
Hi,
can someone help me to secure Phorum on internet 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]
$data = file("myfile");
$data = array of the lines from myfile ( they still contain the newline
character )
Wagner Tomy
Editus Luxembourg S.A.
- Original Message -
From: "Jeff Lewis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 27, 2001 5:14 PM
Subject: [PHP] Grabbing
I am grabbing lines of a file using:
$buffer = fgets($fd, 4096);
How can I grab the line up to \n or does this do it? Like if the line is only a few
characters, it will only grab up to \n?
And if the line up to the \n is a huge message will I still be able to grab all of it
with the 4096?
J
okay i just got this error. what doe sit mean
Warning: file("") - Success in /var/www/html/login/login.php on line 45
the lines of code involved are
$filename = "log/userdb.txt".
$list = file($filename);
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'
This is a confirmation e-mail for your request.
You can come anytime and claim your FREE Sex Toys at
http://www.freevibrator.com
All Free Sex Toys we feature are absolutly free with no purchase necessary whatsoever.
(Small reasonable shipping charges apply)
Thank You for subscribing to FreeSex
Hello,
I am new at all this. Please help!
I am using PHP4 on windows 98, Apache, MySql server.
Apache is working fine. However when I try to view the phpinfo test page
nothing happens.
Should I put it in the Apache docs file??(thats were it is)
Is it better to configure PHP for Apache as a scri
I think that as far as you have the same version of MySQL on both servers, you can
simply copy the table files, otherwise you should use mysqldump or something like that
- Original Message -
From: "PHP Junkie" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday 27 July 2001 ?. 5
Search Engines, usually, do not see individual frames. Not even Google,
the (IMHO) best and largest one, do not.
For example, if one page link to page.php and this page uses frames, and
the search engine robot crawls to page.php, it will not index the individual
frames.
You can, however, e
You can just use mysqldump to copy the contents of the database to a
file, and it will be easy to re-create it on the new site.
- Tim
http://www.phptemplates.org
> I will be having to face the dubious task of moving my PHP/MySQL-based website to
>another server. Can anyone out there point me
Hi, im trying to delete a record from a table where the value of a field
must be equal to the value of a field of another table.I know
this is wrong but I need to show you what I mean. I think I'm missing a very
important select statement to join them...can anyo
Be careful with any sort of nested loops. You may not be able to avoid
them, but if you nest a while loop within another while loop, and simply
iterate through results, you will have quadratic running time. This
isn't a big deal if you've got 20 results, but for every increase in N
(size of result
I think you need to check your Apache time limits too.
Michael Conley wrote:
> I am running PHP 4.0pl1 with Apache 1.3.14 on RedHat Linux 7.1. I am trying
> to do a file upload from the users PC to my web server. If I do a small
> file, the transfer goes fine. If I do a large file (> 50 MB),
Why don't you just dump the data and structure and then use that to import
it? I'm sure there is something to do in telnet but I am unfamiliar :)
Jeff
- Original Message -
From: "PHP Junkie" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 27, 2001 10:21 AM
Subject: [PHP] M
Hi
I will be having to face the dubious task of moving my PHP/MySQL-based website to
another server. Can anyone out there point me to some "GOOD" documentation on this?
The .php files I'm not as concerned about. I've been using the $DOCUMENT_ROOT in all
of my includes. I'm more concerned
Hi there,
I have a question about how Search Engines handle sessions and frames.
Since my site uses frames, and i think search engines link to pages
individualy and not the
frameset, i wanted to use sessions to indicate if a user comes from a
search engine (then
it doesn't have a valid session)
RedHat 7.1 (Linux) has a package that converts from ASP
to PHP pages. I didn't use it, so I don't know if it
is useful neither if it is available for Windows.
Kind regards,
Willie
_
Seja avisado de novas mensagens do Hotmail e use
I am not sure exactly what you are doing, but the thing
to remember is that your PHP script is writing your HTML
and JavaScript. As long as you keep that in mind it is
fairly easy to see how to pass variables to JS.
Here is a very simple example
var foo = "";
document.w
Hi Sir,
I have a problem in session tracking,
After checking User name and password from database, I register a
session as
session_register("User_name");
For next page authentication, at the top of every page i check
if ($HTTP_SESSION_VARS["User_name"] != "")
{
// Display Page Con
I am wondering the best way to handle error trapping with PHP. I am
farmiliar with languages, ColdFusion being one, that you can use TRY and
CATCH statements. Any info would be appreciated.
THANKS!
-
Phil Spitler [Vice President]
Web Hut Design, Inc.
c 704-451-1324
"Greg Donald" <[EMAIL PROTECTED]> skrev i en meddelelse
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Is is possible to set session.gc_probability manually on a per script
> basis, similar to the way error reporting is capable of being set?
Yes.
PHP have a standard function for setting things l
Matthew,
The convention I use goes as follows:
[ I am doing this without testing as I go so if something is wrong,
don't sue me :P ]
Lets say I have two tables...
PEOPLE
people_id (primary key)
people_namefirst
people_namelast
people_namemiddle
people_age
place_id (foreign key)
PLACE
place_id
"Jonas Delfs" <[EMAIL PROTECTED]> skrev i en meddelelse
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Can mysql_fetch_*() work on the resultpointer that mysql_query() returns,
> only, or does the rows have to be in the database when fetching?
> I know that mysql_query() finds the specified data,
"Richard Baskett" <[EMAIL PROTECTED]> skrev i en meddelelse
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Ok having a problem. If a person just surfs to a page outside of my site
or
> types in a different url etc.. then it leaves the session intact. How can
I
> destroy that session?
The garba
That works OK
Thank you
Ajdin
On Fri, 27 Jul 2001, Wagner Tomy wrote:
> $my2darray = Array();
>
> while(list($myname, $myphone, $myemail) = mysql_fetch_row($result)) {
> $my2darray[$myname] = array($myphone, $myemail);
> }
>
> Wagner Tomy
> Editus S.A.
> - Original Message -
> Fr
Hello Plamen,
Friday, July 27, 2001, 2:04:15 PM, you wrote:
PS> Hi guys,
PS> I have a big MySQL table - about 300MB
PS> I want to get all the records from the table, make certain transformations and
write them to a text file (i can not use "select into outfile...)
PS> the problem is when i type
$my2darray = Array();
while(list($myname, $myphone, $myemail) = mysql_fetch_row($result)) {
$my2darray[$myname] = array($myphone, $myemail);
}
Wagner Tomy
Editus S.A.
- Original Message -
From: "AJDIN BRANDIC" <[EMAIL PROTECTED]>
To: "Wagner Tomy" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTEC
Wag,
I do not wish to push whole of the row into an array.
Also I need the id of the parent array to be $myname;
Ajdin
On Fri, 27 Jul 2001, Wagner Tomy wrote:
> $my2darray = Array();
>
> while($row = mysql_fetch_row($result)) {
> array_push($my2darray, $row);
> }
>
> OR:
>
> for($i = 0; $
Ok having a problem. If a person just surfs to a page outside of my site or
types in a different url etc.. then it leaves the session intact. How can I
destroy that session?
Will I need to create some type of apache/linux script to delete the
directory with all the sessions in it that are a cer
or:
$my2darray[] = $row;
SSL
On Fri, 27 Jul 2001, Wagner Tomy wrote:
> $my2darray = Array();
>
> while($row = mysql_fetch_row($result)) {
> array_push($my2darray, $row);
> }
>
> OR:
>
> for($i = 0; $i < mysql_num_rows($result); $i++) {
> $row = mysql_fetch_row($result);
> $my2darr
$my2darray = Array();
while($row = mysql_fetch_row($result)) {
array_push($my2darray, $row);
}
OR:
for($i = 0; $i < mysql_num_rows($result); $i++) {
$row = mysql_fetch_row($result);
$my2darray[$i] = $row;
}
Wagner Tomy
Editus S.A.
- Original Message -
From: "AJDIN BRANDIC" <[EMAIL
Hi
I have been trying to do this for hours now.
I have a while loop (rows from mysql db) and on each pass I want to pussh
a new element into a 2D array, bot always end up with the last element of
the while loop. So:
table mytable
myname myphone myemail
john 254688 [EMAIL PR
http://www.php.net/manual/en/function.set-time-limit.php
the set_time_limit allows you to reset the max execution time..
the manual says:
When called, set_time_limit() restarts the timeout counter from zero. In
other words, if the timeout is the default 30 seconds, and 25 seconds into
script ex
1 - 100 of 140 matches
Mail list logo