Hi, is it possible to make a certain field in a table or row, so that the
content is uneditable after insertion?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
For a coursework assignment I have to investigate this thing where you do
the following for example:
264- Choose 3 digits that are not the same
12 - Find the sum of them.
264
246
624
642
426
462- List all the possible combinations of t
I have this small bit of code to fetch the latest songs submitted by a user
on theire profile for my tab website, here is the code:
10 Latest Songs Submited by
$latsongs[1]$anames[0]($latsongs[3])");
}
?>
The problem is with the line i labelled !!! ERROR LINE !!!, to fetch the
artist name.
The
I posted "User Upload" and with no advice I attempted to use the sources i
could find and came up with the following:
while (file_exists("$i.tab")) {
$i ++;
}
$destfile = $i;
$destfile .= "tab";
stripslashes($userfile);
copy($userfile, "/uploads/" . $destfile);
chdir("/uploads");
$lines = file($d
How would I go about allowing a user to upload a file which I then read and
store its contents in a mysql database and then delete the file, or any more
efficient method.
Any help at all would be great.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
I have a problem, I need to filter HTML from data but want to preserve the
tags in it, is there any function that allows this?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I'm new to php I just come from perl, and I wanted to know like perl if we
can open a file and read delimited line just like the cvs function, but I
don't want comma separated, i want the vertical bar '|'.
also if we read that file can the 'column' go in an array like perl
i.e if we have a rec
Hi,
I'm new to php I just come from perl, and I wanted to know like perl if we
can open a file and read delimited line just like the cvs function, but I
don't want comma separated, i want the vertical bar '|'.
also if we read that file can the 'column' go in an array like perl
i.e if we have a rec
Hi , I need to know the conecction speed of a person who is visiting my
site.
How can I know his speed?
Thaks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi,
I was wondering if anyonehad a script to upload files.
Thank You
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hello
I'm new with php just learning and i have just a problem with the following
code
$dbconnect = mysql_connect("localhost", "prog_tony","PASSWORD");
mysql_select_db("prog_dealer", $dbconnect);
$stop = 0;
$counter = 1;
while(!$stop){
$query = "SELECT name FROM category WHERE id = $count
$dbdo = mysql_query($query,$dbconnect);
> if(false === $dbdo) echo mysql_errno(),': ',mysql_error();
> else echo 'The query worked, $dbdo value is:',$dbdo;
> while($row= mysql_fetch_array($dbdo)){
> ...
>
>
> Chris
>
Hi,
I fixed it, I have not realize that my database was not connected to a user.
so when i logged as prog_tony dealer was not a member of prog_tony so it
could not be found.
thanks for the help
"Tony" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> hello
&
hi
I have a question
I have to select a group of person i.e
$query = "SELECT * FROM table WHERE id = <10";
my question is that can we order order in random mode?? or do we have to
program it in php
any help is appreciated
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
i hope someone can help it should be easy but i still don't get it.
i have a field which has numbers seperated via a comma
for example 1,2,3,12,14,23,51
now if i was to do a search for a the rows that has '2' in it i do
SELECT * FROM table WHERE ids REGEXP "2"
will it show fields that has 12 22
ble.
I use Ubuntu (i386) Athlon desktop and Ubuntu (PPC) my Apple iBook. I
have Apache, MySQL, PostgreSQL, PHP, Python, Perl, ... installed and
all running well for my development.
http://www.ubuntulinux.org/
You can even get a free CD from them...
http://www.ubuntulinux.org/support/documentation/f
om my testing it appears that the problem has to do with the
evaluation of "./$$foo_name". I have tried using a substitute variable
such as
$substitute = $$foo;
if (copy ($substitute, "./$substitute_name")) {//blah... }
but that does not work either.
Can someone explain how I m
Hi,
i'm trying to send emails with attachment but i get an error
at $file = fread($fp, $att_size);
and i don't understand why, any help is appreciated.
code is below
$subject = $_REQUEST['subject'];
$cc = $_REQUEST['cc'];
$from= $_REQUEST['from'];
$message = $_REQUEST['text'];
$att
hi,
i have problem with writing a reading to file
i want to write emails in files. like this
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
etc..
this is how I write to the file
$handle = fopen($filename, "a");
fwrite($handle,"$email\n",128);
fclose($handle);
ok it writes everything
file(); ?
>
> --
> // DvDmanDT
> MSN: dvdmandt¤hotmail.com
> Mail: dvdmandt¤telia.com
> "Tony" <[EMAIL PROTECTED]> skrev i meddelandet
> news:[EMAIL PROTECTED]
> > hi,
> >
> > i have problem with writing a reading to file
> > i want t
hi,
i have the following script to dowload upload file into a webserver
I know i don't need copy but i used it to know if this way works or not
$att = $_FILES['att']['name'];
$temp = $_FILES['att']['tmp_name'];
if($att){
$uploadfile = $uploaddir.$att;
print "yo GOT $att and temp is $temp,
yone can tell me why
this is happening. It seems to me that I'm following the right conventions.
I'm running this under Apache on a Windows XP system. I sent another news
item today but became more enlightened by the response to this similar
problem. Apologies for the superfluous item.
I can't see why $myname doesn't contain a value in the php
file.
Thank you
Tony
begin 666 prog.html
M/"%$3T-465!%([EMAIL PROTECTED]"3$E#("(M+R]7,T,O+T141"!(5$U,(#0N,#$@
M5')A;G-I=&EO;F%L+R]%3B(^#0H-"CQH=&UL/@T*/&AE860^#0H)/'1I=&QE
M/E5N=&
hi
if i have new car and i want to search
each word in description
can i do
SELECT * FROM table WHERE
descript = "new" OR descript ="car"??
any help is appreciated
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I just can't find the forum for any mysql. anyways maybe someone run into
this kind of problem,
i'm saving in a db records of company and in a column i have numbers i.e
1,2,12,31,32
so if want to search a company that has number 2
i do category REGEXP '2'
but the problem it will return
numb
tor, 2002-11-28 kl. 05:22 skrev Godzilla:
> Warning: php_network_getaddresses: getaddrinfo failed: No address associated
> with hostname
Your DNS doesn't work any more?
Best,
Tony
--
Tony Earnshaw
When all's said and done ...
there's nothing left to say or do.
e
, learn and inwardly digest it
all. Given the existence of Carnivore and wireless networks, it's a
'must' for tomorrow's computing.
Best,
Tony
--
Tony Earnshaw
When all's said and done ...
there's nothing left to say or do.
e-post: [EMAIL PROTECTED]
www
> So the question is, does anyone know any good
> troubleticket/helpdesk-systems written in PHP?
>
>
> Thanks,
>
> Thomas
This would seem to fit the bill:
(I've used it and can recommend it)
http://helpdesk.oneorzero.com/
HTH
Tony
--
PHP General Mailing Lis
Hi everyone,
I have been looking for a decent tutorial on how to use PHP and SOAP
(nusoap) but as yet I haven't been able to find anything. I have a copy of a
client script and a server script but I can't get them to work properly.
Any help would be appreciated.
Thanks
--
To
Whoever criticises Horde's data model ought well to consider a job
mending roads (delivering Pizzas is o.k. as an alternative).
Best,
Tony
--
Tony Earnshaw
When all's said and done ...
there's nothing left to say or do.
e-post: [EMAIL PROTECTED]
www:http://www.b
de will have to be written for it. The good news
is, that you can cheese the code off Horde's Imp.
Best,
Tony
--
When all's said and done, there's nothing left to say or do ...
http://www.billy.demon.nl
-
This mail sent through IMP
x27;name' order by r_date desc, r_time desc
limit 11,20;
and so on.
What the heck is going on here? any ideas? im confoosed!
--
Tony Tzankoff
http://www.tzankoff.com
=
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
file.
I am trying to intergrate the MS-DOS window timing with PHP to avoid
conflicts. ANy suggestions? Is this even doable?
--
Tony Tzankoff
http://www.tzankoff.com
=
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> How do i delete all file in a directory???
>
You could use a function like this:
(html code at end)
function delFiles($filter, $sDir) {
$cDirectory = includeTrailingSlash($sDir);
$handle = opendir($cDirectory);
while ($file = readdir($handle))
{
if ($file == '.' || $
workaround to this that anybody knows of?
Thanks in advance for your help. :o)
--
Tony Tzankoff
http://www.tzankoff.com
=
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
looking for in the manual?
TIA
Tony
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> hi tony,
> how is your table structured? is is a csv-file, a database, a
> html-table,
> ...?
> ciao SVEN
Ooops!
MySQL sorry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ones..
I tried echo $variable$increment ; but $variable doesn't exist alone so
all I get is $increment.
I'm not sure what I should be looking for in the manual - google's not
much help either.
anyone give me a clue?
TIA
Tony
--
PHP General Mailing List (http://www.php.net/)
I going at this the wrong way?
Any help, clues or abuse accepted.
Thanks
Tony
--
NEO organizes my Outlook - check it out:
http://www.caelo.com/a/rl.php3?i=3NTVV
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Umm, you mean like:
>
> select i.id,d.description from items i, descriptions d where
> d.itemid =
> i.id;
>
> ?
Of course I do!
How stupid am I?
No, don't answer that - it's been a long week working on the wrong
stuff!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
e to a tutorial that would help me switch from nested
select statements to something more elegant?
Thanks
Tony
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have a webpage written in the latest version of PHP and need a little bit
of help with a rather pesky cache issue. Part of the source code is as
follows:
page.php
";
echo "";
.
.
.
echo "";
?>
The page does not cache (which is good), but the MP3 file does (which is
b
ed";
if ($printed == 'n' || $printed == 'N' || empty($printed)) {
$newvalue = "Y";
} else {
$newvalue = "N";
}
db_query("UPDATE outgoing_student SET printed='$newvalue' WHERE
id='$student_id'");
echo "Go to previous page and refresh";
?>
Tony Pagliocco
Systems Administrator
Arizona State University
International Programs Office
Phone: (480) 727-6279
Email: [EMAIL PROTECTED]
methods for this and the GET
method works to an extent but doesn't allow me to have any hidden values. If
anyone has an alternative method then please let me know.
Thanks
Tony Burgess
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
beleive that this is restrictive to
approx 100 characters which doesn't really give me much room to play with. I
have switched the methods to use POST but this doesn't see to work at all,
it'll open a new page but none of my values are displayed.
Thanks for any help.
"Tony Burges
You seem to be missing your last bracket for the while loop that you started
to state the end of the block.
"Ben C." <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I have a subscription service and am trying to not allow the buyer to
> proceed purchasing another subscription if one
) when a XML-RPC implementation (the hammer) is better
suited.
That said, I use both raw XML, XML-RPC and SOAP for various tasks.
It doesn't have to be all or the other (not that you implied that)...
--Tony
On Fri, 21 Mar
2003, Merlin wrote:
> Hi everybody,
>
> I am curre
led
explicitly.
The ideas here is to show a page with context information for the user.
Any ideas why this isn't working?
--
Tony Bibbs "I guess you have to remember that those who don't
[EMAIL PROTECTED] hunt or fish often see those of us who do as
ryone.
Tony
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
thoughts are appreciated.
Thanks
--
Tony Burgess
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
suggestions would be much appreciated.
I looked at the manual and googled a lot, but can't find a plain english
guide to doing it right!
Thanks
Tony
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
do is open each keyword field, extract the words,
add them to an array, remove duplicates and sort alphabetically.
sounds easy but I'm still finding my way - anyone got a sample script or
some helpful hints they'd care to share?
thanks
Tony
--
PHP General Mailing List (http://w
Why this error ( Linux Redhat 8.0, PHP 4.2.2):
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to
allocate 1048576 bytes) in /var/www/html/xpai/xmail.class on line 71
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to
allocate 131 bytes) in Unknown on l
Why this error ( Linux Redhat 8.0, PHP 4.2.2):
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to
allocate 1048576 bytes) in /var/www/html/xpai/xmail.class on line 71
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to
allocate 131 bytes) in Unknown on l
This is the result of free
[EMAIL PROTECTED] webmin]# free
total used free sharedbuffers cached
Mem:513936 444256 69680 0 157168 135476
-/+ buffers/cache: 151612 362324
Swap: 779104 0 779104
I think
english and thank you in advance.
"Michael Egan" <[EMAIL PROTECTED]> ha scritto nel messaggio
news:[EMAIL PROTECTED]
Tony,
It might be that somewhere in your code there is a loop or while structure
that has an error. This is running endlessly until you run out of memory
which is
Hi, im making a tab/lyric portal, and for viewing tabs i want to display the
time the lyric/tab was submitted. So I retrive it from a MySQL database (as
a timestamp) and format it using the date function. The problem is, that the
date: 19-01-2038 04:14:07 is allways returned, even though in the `d
`date`
> > field the timestamp says (as an actual example) 20020723200919.
> >
> > Here is a shortened version of the script:
> >
> > > $submitdate"); ?>
> >
>
> Hi Tony,
>
> the date() function in PHP does _only_ take UNIX timestamps as a
ou could store the dates as UNIX timestamps.
>
> That is what I do. It is then eaiser to do certian things(ie show stuff
> released in the last month)
>
>
> --
> JJ Harrison
> [EMAIL PROTECTED]
> www.tececo.com
>
> "Tony Harrison" <[EMAIL PROTECTED]>
Hi. I have a problem with my tab/lyric site, I need to create an artist
page, where users can view all lyrics/tabs by a certain artist.
Now because im likely to get guitar/drum/bass tabs / lyrics for the same
song, I want to have a table with links as follows (e.g):
Blink 182
-
Whats my
Instead of incrementing to find the next row to count them, you dont have to
set the ID if it is auto increment. MySQL will do it for you (and i think it
might fill the holes too). Also, to get the num. of rows just do this -
$get_rows = mysql_query("SELECT * FROM `table`");
$num_rows = mysql_num
If you write your own browser, who would use it? And without a back button -
nobody
"Petre" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> HI
> Is there a way I can disable the client's browser back button, forcing
> them to use the navigation I built into the
OK, im having some minor problems with my site.
In artist.php (http://members.lycos.co.uk/ajohnh/artist.php - Source at:
http://members.lycos.co.uk/ajohnh/source/artist.txt) If for example you view
lyrics by Weird Al Yankovic
(http://members.lycos.co.uk/ajohnh/artist.php?id=1) You'll see that the
Thanx, I havent tried the loop yet, but the color will work im sure .
"Aaron Ott" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> tony,
>
> regarding problem one, it looks like there is a problem in the code near:
&g
OK, the color works, but now I have 2 empty lines
"Tony Harrison" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Thanx, I havent tried the loop yet, but the color will work im sure .
>
> "Aaron Ott
Shouldnt there be some sort of MIME header for it?
"Philip Hallstrom" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> You can't (in the sense that there's an $attachment argument), but I've
> seen several classes that will let you do it. Check zend.com and
> p
Hi, I need to authenticate users on an included page on my website, but the
problem is, I cant get it to work.
view it included at http://members.lycos.co.uk/ajohnh/ (Source at
http://members.lycos.co.uk/ajohnh/source/index.txt)
the actual file:
http://members.lycos.co.uk/ajohnh/templates/twoShea/
Hi, I need to authenticate users on an included page on my website, but the
problem is, I cant get it to work.
view it included at http://members.lycos.co.uk/ajohnh/ (Source at
http://members.lycos.co.uk/ajohnh/source/index.txt)
the actual file:
http://members.lycos.co.uk/ajohnh/templates/twoShea/
How would I go about selecting rows from a MySQL table where the first
letter of a certain field is $letter ?
--
-
[EMAIL PROTECTED]
http://www.cool-palace.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.n
And do I need to use any other functions like mysql_fetch_row() ?
"Martín marqués" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Sáb 24 Ago 2002 11:19, Tony Harrison wrote:
> > How would I count the number of rows in a mysql table with a WHERE
If I insert a row's field's value using the PASSWORD() function, will I need
to use it or another function to find that row using the same field?
-
[EMAIL PROTECTED]
http://www.cool-palace.com
--
PHP General Mailing List (http://www.php.net/)
To uns
You need to give us the HTML for the form so we can comprehend the context
of it all
"Eriol" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I've got the following bit of code for an upload/feedback form.. Upload
isn't a
> required field, but name, email and me
Can anyone tell me why the following setcookie()s fail?
- Tabzilla.com
--
-
[EMAIL PROTECTED]
http://www.cool-palace.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
cheers
"Richard Lynch" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> >If I insert a row's field's value using the PASSWORD() function, will I
need
> >to use it or another function to find that row using the same field?
>
> You'll need to do this when somebody tries to log in la
Can anyone tell me why my emoticons arent appearing? Please?
Note: $message is a variable set by a web form. The field `pattern` is the
string to search for, like ":-)", and `url` is the relative url to the
emoticon. I just get the plain emoticon. Note: this bit is above the INSERT
statement in t
I asked a similar question the other day, I was told to use the password
function on the field name, not the value, i havent tested this and its a
weird way to do things, and why cant both work? (if any)
"Mike Tsapenko" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED
Can anyone tell me why my emoticons arent appearing? Please?
Note: $message is a variable set by a form. The field `pattern` is the
string to search for, like ":-)", and `url` is the relative url to the
emoticon. I just get the plain text, no replacement emoticon. Note: this bit
is above the INSE
What about multiple tables? Can that be done?
"Mark Charette" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> No, only one db at a time may be updated. The "where" clauses can contain
> multiple db.
>
> -Original Message-
> From: Sascha Braun [mailto:[
Hi, im wondering how in popular forum software, those 'BB codes' are done in
PHP, like, [B] and stuff. I just cant figure it out.
-
[EMAIL PROTECTED]
http://www.cool-palace.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.
t *possibly* equal it
with a PHP-based approach.
I've implemented Mailman with Exim smtp server for different firms and
customers; there's a complete Exim how to and so on and so on.
Don't know what smtp software you run, or whether you're using procmail
or what, doesn'
s,
now I need to), that I'm reading, practicing reading etc. I don't even
have any questions, yet, I'm so green.
But I *do* know that I have compiled in jpg and png support to PHP 4.2.3
(phpinfo).
On Red Hat 7.2 +++, './configure --with-gd' - and other things, of
course.
he only one.
Go straight to heaven, Monique, and experience the joy of eternal
self-justification. All the others must for ever suffer the pangs that
indolence confers.
Best,
Tonni
--
Tony Earnshaw
Tha can allway tell a Yorkshireman, but tha canna tell 'im much.
e-post:
./configure', did you by any chance
see a number of files called "README.something" and one called
"INSTALL"? Did you read them especially "INSTALL"?
Don't you think it might be a good idea to do so? That's what I always
do.
Best,
Tony
--
Tony Earnsh
ntent etc. Once the pages have been generated
(view source) all you have is the HTML, this is what I would like to
achieve, but I'm unsure how to pass the pages to give me only HTML from the
databases.
Any help or advice would be greatly appreciated.
--
Tony Burgess
--
PHP General Ma
ntent etc. Once the pages have been generated
(view source) all you have is the HTML, this is what I would like to
achieve, but I'm unsure how to pass the pages to give me only HTML from the
databases.
Any help or advice would be greatly appreciated.
--
Tony Burgess
--
PHP General Mailing
Is it possible to specify more than 1 domain in a cookie?
-
[EMAIL PROTECTED]
http://www.cool-palace.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
7;s a nice day" - right;
"it's output" - wrong.
2: Please keep your line length to below 76 characters.
Best,
Tony
--
Tony Earnshaw
"Growing old" is compulsory, "growing up" is optional.
e-post: [EMAIL PROTECTED]
www:http://www.bill
nswer is
probably so simple I'm not looking in the right place.
help and abuse gratefully received.
Thanks
Tony
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Check out:
> http://www.php.net/manual/en/function.getcwd.php
>
> HTH
> -Brad
Certainly does, thanks.
I suppose if I'd thought to look at the manual contents rather than
trying to construct a *search* I might have found that
Oh well, so much to learn so little
> Is there a utility that formats / beautifies PHP code like
> indent does for C
> code?
something like this?
http://tools.phpedit.net/phpCodeBeautifier/
HTH
Tony
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
PHP :-)
ftp://kalamazoolinux.org/pub/pdf/ldapv3.pdf
http://www.redbooks.ibm.com/pubs/pdfs/redbooks/sg244986.pdf
http://www.redbooks.ibm.com/pubs/pdfs/redbooks/sg245110.pdf
Best,
Tony
--
Tony Earnshaw
"There are many people who can't face the truth ... If you rob a
normal person of l
> Any suggestions?
See if you have /usr/include/openssl . Which you most probably don't
have. If not, do: 'ln -s /usr/local/ssl/include/openssl
/usr/include/openssl' .
Best,
Tony
--
Tony Earnshaw
"There are many people who can't face the truth ... If you rob
bing beyond the maximum set in PHP.ini
(I've changed the setting, but...)
I'm looking to shave milliseconds of each execution, any ideas, pointers
or tutorials you could point me to.
Thanks
Tony
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ou're saying this would be a slow part of the script and as
I'm generating nearly 4000 pages atm it would be good to speed this bit
up.
how would you do it?
TIA
Tony
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>
> if($new)
> {
> $details = get_product_details($new);
> if($details["catid"])
> $target = "show_cat.php?catid=".$details["catid"];
> //line 55 is the bracket below.
> }
> $path = $PHP_SELF;
> $path = str_replace("show_cart.php", "", $path);
>
>
> Error:
>
> Warning: Ca
s when I used to
compile and install my own Open source software on them. Or I just
install over the top of what I had. But that's the easy way.
Perhaps you use rpms or apt-gets or suchlike, who can tell?.
Best,
Tony
--
Tony Earnshaw
Could have been Henrik Ibsen's, Ole Bull's
"string" which should contain all the levels from 1
to $maxlevels except the current level. which would seem to require some
sort of conditional "if $thislevel string is" type of approach, but I
can't get my head round it.
Anyone put me out of my misery?
Thanks
Tony
> -Original Message-
> From: Marco Tabini [mailto:marcot@;tabini.ca]
> Sent: 11 November 2002 14:46
> To: Tony Crockford
> Cc: Php-General@Lists. Php. Net
> Subject: Re: [PHP] Logic headache, please help.
>
>
> How about building an array of all the levels
recoginized tools, such as LDAPExplorer, John Hallam's magnificent yet
not widely known contrib. and the Wrox books, but none of them even
attempts to address what I want.
Best,
Tony
P.s., thanks for what is probably the most *patient minded* and catholic
mailing list on the Internet, a
utput buffering.
Thanks for the answer, Chris. I realise this, but that just does not
work - been there, seen it, done it.
Wherever (even as 1st line) *any* PHP4 header stuff is put in the
script, adding html code later results in the same "headers already
sent" error. That's why
1 - 100 of 419 matches
Mail list logo