yes true.
10x
"Christian Reiniger" <[EMAIL PROTECTED]> wrote in message
01051912242605.00594@chrisbig">news:01051912242605.00594@chrisbig...
On Saturday 19 May 2001 01:27, elias wrote:
> hello,
>
> i have my file which reads like:
> dir3/dir3-3/
> dir2/
> dir1/
> s
[...]
> as you noticed that in
Hi Henry, I'm not too familiar with Cron, but check the man pages for cron
and crontab (type 'man cron' or 'man crontab', or type 'man man' if you've
not used man pages before).
James.
""Henry"" <[EMAIL PROTECTED]> wrote in message
018b01c0e19d$544818a0$046265cb@henry">news:018b01c0e19d$54481
Hi all
Is this the corerct way of selecting the max value in a table?
"select * from score where MAX(scorevalue)"
cheers
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"
ey guys,
what are the functions that's disabled if "safe_mode" is On?
also, what I just did now is disabling the functions exec() and system() just to
prevent shell commands.
but, how do i disable something like `ls -l /` ? the backticks.
Thanks guys
SELECT MAX(scorevalue) FROM score
Will display the maximum value of your scorevalue column.
Sincerely,
Craig Vincent
--
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 administrator
> Can anyone recommend a good/cheap uk based, PHP host? I say cheap as I am
> going to be needing about 500mg's of space for my current site
> (httpp://planet-tolkien.com) hosted with uk2.net.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
Hi
try:
select * from score order by scorevalue DESC LIMIT 1
or if your db supports sub selects:
select * from score where scorevalue=(select MAX(scorevalue) from score)
Tom
At 03:38 PM 21/05/01 -0500, Jacky wrote:
>Hi all
>Is this the corerct way of selecting the max value in a table?
>"selec
On Sunday 20 May 2001 19:39, Jaime Torres wrote:
> I've been blocked by this tiny problem...
>
> I have a main.php file:
>
> $frames = true;
> $open = "http://myserver.com/info.html";;
> if ($frames)
> {
> include ("frameset.php");
> }
> ?>
>
> The frameset.php looks like (omitting almost al
On Sunday 20 May 2001 20:51, Manuel Lemos wrote:
> Hello Navid,
>
> On 20-May-01 14:36:33, you wrote:
> >So you suggest that I use the name attribute in XHTML and ignore the
> > fact that it has been depreciated and replaced by the ID attribute?
> > Will that solve my problem?
>
> It depends. If
hi all!
i need to see if a $variable has a piece of text included in it. how do i do
that?
i need to do something like:
if ($variable =matches= "@monkeys.com") { then do this}
tia!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional com
Hi Sandeep,
preg_match();
ereg();
eregi();
Will all help you.
James.
"Sandeep Hundal" <[EMAIL PROTECTED]> wrote in message
A0A5617A0A05D5118EBD00508B8B953B5EA932@PROF-X">news:A0A5617A0A05D5118EBD00508B8B953B5EA932@PROF-X...
> hi all!
>
> i need to see if a $variable has a piece of text inclu
http://www.php.net/manual/en/function.strstr.php
if (strstr ("i like beer", "beer")) {
// it's in there
} else {
// it's not
}
-Original Message-
From: Sandeep Hundal [mailto:[EMAIL PROTECTED]]
Sent: 21 May 2001 11:39
To: Php (E-mail)
Subject: [PHP] checking to see if part of a varia
Maxim,
This is great. Thank you very much !!
I really appreciate your explanation since I did not get anything this good
in any of my books.
Since all the values that I need to retrieve are CheckBoxes that are Named
C1,C2,C3,C... I have done the following and it worked :
function RetrieveItens
IMHO, one of the main attractions of open source software is that the
creators themselves are easy to contact. Getting a question answered by a
company usually involves talking to customer service, who gets an answer
from a supervisor, who asked the lead of the programming department, who
asked th
On Monday 21 May 2001 08:03, Heidi Belal wrote:
> I have a form where i let people choose a file to
> upload, but i want to limit them to image files only.
> So i want to only allow the .gif and .jpg to be
> uploaded. What i tried doing was this:
> if ($filename_type == "image/gif")
>-- uplo
On Monday 21 May 2001 08:14, Plutarck wrote:
> I'm trying to test the gz_handler, among other things, but I have no
> idea if the output is actually gzip encoded.
You could try using wget with a custom Http-Accept-Encoding: header
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
> why oh why doesn't php/plain zend cache scripts in the first place? :-/
PHP is developed in a way that no feature is added that would harm the
performance or usability for the vast majority of people (80-90%+). Caching
would speed individual scripts, but what if you have a very large amount of
If I submit a string to a script via GET which contains quotes, how should
they appear in my script?
Eg:
--- test.php ---
echo $HTTP_GET_VARS['test'];
Go to:
test.php?test=this+doesn%27t+work
.. and you get:
this doesn\'t work
(Char 27 is a single quote. Echoing $test gives the
Hmm...SID is a constant, and when it's set it is present in $GLOBALS.
But when I run this:
...the constant exists, but is not present in $GLOBALS. Weird...anyone know
why this happens? (I'm using 4.0.5)
Plutarck
"Alex Black" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAI
untested!
The reason for the if statement is that str_repeat will produce an error if
17-strlen($word) <= 0 and that'll break your scriptof course you could
remove the if state if you're positive the # of characters in $word never
exceeds 16.
Sincerely,
Craig Vincent
--
PHP General Mai
It's a feature of PHP that it automatically escapes data submitted in
PUT/GET/etc.
It's nice in that it adds to how secure PHP code is, but it can be a hassle.
Not sure if there is a function which removes escape characters will leaving
normal backslashes alone. If you REALLY need to turn it off
> It's a feature of PHP that it automatically escapes data submitted in
> PUT/GET/etc.
It didn't seem to be happening with POST which is why I thought it odd, but
that probably means I didn't test properly :-)
> It's nice in that it adds to how secure PHP code is, but it can be a
hassle.
Out of
is there any way to resize images in php and save them to a new file?
i want to write sort of a (db-powered) picture gallery that automatically
creates thumbnails out of http-uploaded files.
thanks for your advice
venome
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
--
Hi Mark,
> > It's nice in that it adds to how secure PHP code is, but it can be a
> hassle.
>
> Out of curiousity, what are the security implications? Presumably a
failure
> to validate input properly leading to unintended actions, but I can't
think
> of any examples to help me decide whether to
Find a good command line programm that does resing and use exec or system to
do the thumbnailing
Fopen >> fwrite >> exec.
If you are on linux I suggest using NetPBM.
- Original Message -
From: "Samuel Lüscher" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 21, 2001 3:21 P
nahhh, if you're doing a lot of images on a page, doing a system call for
each one would generate entirely too much overhead, imo.
check out the built-in image manipulation functions in php.
http://www.php.net/manual/en/ref.image.php
there is a function called ImageCopyResized() which is probabl
I'm creating a filter to re-write webpages, and everything is going fine.
I'm trying to strip out anything using the tag, and here's what I
know works:
$file = eregi_replace(".*", "", $file);
But I use PCRE functions, so I don't want to use ereg in one place and PCRE
in another, so I
php-general Digest 21 May 2001 13:20:48 - Issue 699
Topics (messages 53649 through 53708):
PLEASE --> Compiling an extension for PHP module (pgsql.so --> missing libpq.so.2)
53649 by: Jason
Re: function to complete strings with white spaces on the left
53650 by: Mark Maggel
hello everyone.
ok, here's a question. i'm running MacOS X. i had previously installed
php and apache with no problem. this past weekend, i installed the
"unofficial" latest version of mysql, MySQL 3.23.38, the version
packaged for of course MacOS X.
I noticed that mysql was installed on
In article <9eb4nf$pdf$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] ("Plutarck") wrote:
> $file = eregi_replace(".*", "", $file);
>
> But I use PCRE functions, so I don't want to use ereg in one place and PCRE
> in another, so I tried:
>
> $file = preg_replace("#.*#i", "", $file);
>
> Thing is, that
> But I use PCRE functions, so I don't want to use ereg in one place and PCRE
> in another, so I tried:
>
> $file = preg_replace("#.*#i", "", $file);
'/.*?<\/script>/i'
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
Does anyone have info on doing this with a secure server?
"Michael Conley" <[EMAIL PROTECTED]> wrote in message
2102328FD2ECD411879E00609737BFD10BE2AD@FATBOY">news:2102328FD2ECD411879E00609737BFD10BE2AD@FATBOY...
> does anyone have info on this?
>
> -Original Message-
> From: Todd Kenned
Hiya Plutarck,
The .*'s are greedy. Maybe you should do something like this (not tested):
$file = preg_replace("/(])*([^<])*(<\/script>)/i", "", $file);
That should replace something like:
Some (code not<)
with
James.
""Plutarck"" <[EMAIL PROTECTED]> wrote in message
9eb4nf$pdf$[EMAIL PR
I saw an article just a few days ago on "Hacking PHPNuke" that was an
excellant example of how the escape GPS thing saved a program from a major
security hole caused by a very minor oversite in less than 0.01% of the
code. Can't remember the name of the site...I think it was linked from
TheRegiste
> Anyway, it's not a big thing if you're _really_ stringent about how you
> check every single variable which is used in a database query,
> system/passthru/exec, or eval command, and your checking methods are
> flawless, but otherwise it's just best to go to the trouble of hacking
> around the in
> is there any way to resize images in php and save them to a new file?
> i want to write sort of a (db-powered) picture gallery that automatically
> creates thumbnails out of http-uploaded files.
It's rather bleeding edge, but if your gra a copy of GD2-beta and a
snapshot of PHP (from snaps.php.
> nahhh, if you're doing a lot of images on a page, doing a system call for
> each one would generate entirely too much overhead, imo.
>
> check out the built-in image manipulation functions in php.
> http://www.php.net/manual/en/ref.image.php
>
> there is a function called ImageCopyResized() whic
Is it possible to check multiple cookie values and then redirect to another
page depending on what cookie values have been set? Sort of like:
if(cookie == 3)
goto(url1)
elseif(cookie2 = 5)
goto(url2)
else
goto(url3)
Thanks in advance!
--
PHP General Mailing List (http://www.php.net
Hi,
I wrote a small upload script (using http) to upload various files to a
website. I am able to upload jpg and gif files but I am unable to upload
tif files. This seems strange. Could anyone please let me know what I am
missing out on? I have checked the mime.types file of apache and i saw
Whenever I use the ? statement in a php page it always
comes up with:
Warning: Undefined variable
Until the submit has been hit, and then it continue on with the rest of the
script fine ( ifelse).
How do you stop this warning message?
Thanks in advance!
Tarrant Costelloe
Web Developer
InsurE-
Hello Tarrant,
1st solution:
turn off warnings in php.ini
2nd: use
if(isset($submit)) { .. . .. . }
Monday, May 21, 2001, 5:15:37 PM, you wrote:
TC> Whenever I use the ? statement in a php page it always
TC> comes up with:
TC> Warning: Undefined variable
TC> Until the submit has bee
Since there is a "/" in the code itself, I use "#" as a delimiter instead so
I don't have to escape it, making it harder to read.
So here's the code:
$file = preg_replace("#.*#Ui", "", $file);
Which works...kinda. But here's the weird thing. This is a piece of code in
the HTML which will be rep
Hi all,
I've just installed Orcale 8.1.7 in a linux server in my lan. I'm trying to access to
the server from another computer with apache and i get the next:
Fatal error: Call to undefined function: ora_logon() in
/usr/local/apache/htdocs.
Where can i find docs to configure boths machines t
i always use such statements like :
if ($submit) { then do this }
else { render the page
}
and it works fine...
-Original Message-
From: Tarrant Costelloe [mailto:[EMAIL PROTECTED]]
Sent: 21 May 2001 15:16
To: Php (E-mail)
Subject: [PHP] if $submit
Whenever I use the ? statement in
error_reporting (E_ALL ^ E_NOTICE);
http://www.php.net/manual/en/function.error-reporting.php
I personally change my php.ini setting to:
error_reporting = E_ALL & ~E_NOTICE
Then at the top of my scripts which I want to debug I add the line:
error_reporting(E_ALL);
Plutarck
"Tarrant Cost
header("Location: http://www.example.com";);
That redirects the user to the wepage of you're choosing. The rest is just a
matter of checking variables. For instance, you can do this:
if ($var1)
{
$url = 'www.example1.com';
}
elseif ($var2)
{
$url = 'www.example2.com';
}
elseif ($var3)
{
$url = '
Sounds like you need to recompile PHP with Oracle support. Recompile PHP
with the -with-oracle flag when running the configure script to include the
Oracle functions.
HTH
Sam Masiello
Systems Analyst
Chek.Com
(716) 853-1362 x289
[EMAIL PROTECTED]
-Original Message-
From: Kike [mail
Yes you can do it, but it takes some time as you need to know MIME
extensions. It took 2 hours to implement just picture attachments. It will
surely be easier to use some kind of script but I couldnt find any that gets
attachments direcly (as I am getting attachments from MySql DB) so I did my
own
Basically, use one of the escape functions :)
For instance, looking at this piece of code:
$result = mysql_query("SELECT * FROM table WHERE username='$username' AND
password='$password'");
Now, you have the variables $username and $password to worry about. Now we
ask ourselves, what characters
For the sake of completeness, whenever PHP encounters a reference to a
variable which has not been set it will throw a warning.
The reason most people don't see that behavior is that their version of PHP
uses the default setting of "show all errors but don't mention the
warnings". If they use:
e
I had a smilar problem. My system was working just fine with php 4.0.4pl1,
apache 1.3.14 and mysql 3.23.33. Then I upgraded system to php 4.0.5 with
curl and dom-xml support, and other components are same, I am getting the
same error. Besides each apache process eats all cpu avaliable. Other than
Hi,
That's for those who needs to generate 2 of 5 code bars.
See you
Anderson J. Moreira
--
Visite: http://www.ambientebrasil.com.br
E-mail: [EMAIL PROTECTED]
Fone: 0xx 41 222-6345
i25.tgz
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For add
One improvment:
$strpad = "HELLO";
echo str_pad(substr($strpad,0,17),17);
may be more generic and secure...
--
Tolga 'thorr' Orhon
"Mark Maggelet" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On Sun, 20 May 2001 22:03:05 -0300, Carlos Fernando Scheidecker
A
Hi
do u have any interesting links about careting an intranet?
Thanks
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [
At 03:21 PM 5/21/01 +0100, Kike wrote:
>Hi all,
>I've just installed Orcale 8.1.7 in a linux server in my lan. I'm trying
>to access to
>the server from another computer with apache and i get the next:
>Fatal error: Call to undefined function: ora_logon() in
>/usr/local/apache/htdocs.
>Where
The general concencus is that when you have to send one email to a whole
lotta people, it's best to use a mail list handler like egroups, listgroup,
major domo, etc. It's just more reliable and you can spend time on
developing your code, not your emailing system.
I never do that, but I figure I s
Tolga,
Thanks for the reply.
I'm running the Zeus web server on Solaris 2.6 on a dual-cpu Sun Ultra 2.
One or two php processes do spike to large loads when this happens, though
not all of the cpu - something like 25-40% for quite a while, then the load
fades.
Will let you know if I fina anythi
Do you mean "creating" as in physically plugging wires into network cards in
computers to create one, or programming software that's designed for use
over the intranet, socket programming on an intranet, or something else?
"Creating an intranet" is too broad of a subject to give you a very good
a
On Mon, May 21, 2001 at 10:04:21AM -0500, Tolga thorr Orhon wrote :
> One improvment:
>
> $strpad = "HELLO";
> echo str_pad(substr($strpad,0,17),17);
why ?
- Markus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [E
I meant soft side!
>From: "Plutarck" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: [PHP] Intranet links
>Date: Mon, 21 May 2001 10:13:44 -0500
>
>Do you mean "creating" as in physically plugging wires into network cards
>in
>computers to create one, or programming software that's des
I need to send a POST string to a HTTPS server and receive the returned
string. Does anyone know the correct syntax for this? I have looked at
the HELP a www.php.net; however, I am not completely clear on what I
need to put into the curl_setopt().
Todd
--
Todd Cary
Ariste Software
[EMAIL PROTE
Hallo Chris,
On Mon, May 21, 2001 at 04:08:52AM +0200, Christian Marschalek wrote :
> My system does not tranlate into the PHP Session id... Don't
> have a clue why, though...
SID gets only defined if the appropriate cookie is NOT set (which
makes sense: you don't need to populate it anywhere
I think it's related to include files, maybe combined with an MP issue.
I wrote a simple db access test file which ran fine, then pasted include
statements in from the files that were having problems. The problems then
occurred when running the simple script. Not sure if there's something wrong
w
On Mon, May 21, 2001 at 03:15:37PM +0100, Tarrant Costelloe wrote :
> Whenever I use the ? statement in a php page it always
> comes up with:
>
> Warning: Undefined variable
> Until the submit has been hit, and then it continue on with the rest of the
> script fine ( ifelse).
>
> How do you st
On Mon, May 21, 2001 at 03:21:30PM +0100, Kike wrote :
> Hi all,
> I've just installed Orcale 8.1.7 in a linux server in my lan. I'm trying to access
>to
> the server from another computer with apache and i get the next:
> Fatal error: Call to undefined function: ora_logon() in
> /usr/local/ap
On Mon, May 21, 2001 at 10:36:42AM -0500, Jacky wrote :
> What do I do if i want to move all values stored in one field
> to another field in the same table, from field A to field B?
> Has anyone ever done that?
As simple as you think it should be
UPDATE table SET column_a = column_b
>At 09:31 AM 5/21/01 -0500, you wrote:
>header("Location: http://www.example.com";);
>
>That redirects the user to the wepage of you're choosing. The rest is just a
>matter of checking variables. For instance, you can do this:
>
>if ($var1)
>{
>$url = 'www.example1.com';
>}
>elseif ($var2)
>{
>$u
Hi Sam,
> The following is exactly what I typed in (just copy and pasted) but I'm
> still getting the error:
>
> Cannot add header information - headers already sent by (output started at
> web.php:2) in
> web.php on line 19
Make sure that all output for Cookies and header information is sent b
With the Safe Mode on, no files outside the document root(defined in the
php.ini) are being handled.
- Original Message -
From: "Ker Ruben Ramos" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 22, 2001 2:01 AM
Subject: [PHP] security
ey guys,
what are the functions th
On Monday 21 May 2001 16:23, Plutarck wrote:
> Since there is a "/" in the code itself, I use "#" as a delimiter
> instead so I don't have to escape it, making it harder to read.
>
> So here's the code:
>
> $file = preg_replace("#.*#Ui", "", $file);
Stupid error (noticed this after trying for ~1
Here is a nice class that handles e-mail attachment.
Works fine for me.
py
// ==
// start code
// ==
subject = $subject;
$this->addr_to = $to;
$this->smtp_headers = $this->write_smtpheaders($from);
$this->text_body = $this->write_body($msg);
$this->text_encoded =
$this->attach
The script below is working fine for me:
$data2send = "field1=value1&field2=value2";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,"https://www.postside.com/postpage";);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt ($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 5.01;
Windo
Hello.. Sorry, I know this is a constant problem.., at least for me.
Now I am using 'text' to store big inputs. It does not wrap on the
screen display...
I have it working on my machine with wordwrap with php4.
The isp does not have php4 yet, and it doesn't work with I upload.
What is th
I have a page that displays a few lines, then runs a database query that
takes five or six seconds. I'd like to flush stdout and display the first
text while the query is running, so the user doesn't think the site is
down. What's the best way to accomplish this? thanks
--
PHP General Mail
> Anyway, it's not a big thing if you're _really_ stringent about how you
> check every single variable which is used in a database query,
> system/passthru/exec, or eval command, and your checking methods are
> flawless, but otherwise it's just best to go to the trouble of hacking
> around the in
At 08:24 21/5/2001, Rasmus Lerdorf wrote:
>You are assuming they even read this mailing list.
*ping* (in Tokyo, so it took me a while to catch up on my Email)
Zeev
--
Zeev Suraski <[EMAIL PROTECTED]>
CTO & co-founder, Zend Technologies Ltd. http://www.zend.com/
--
PHP General Mailing List
I am not sure that it is the best way to do it but here is my solution:
I redirect the page with:
header("Location: page1.php);
to page1.php which contains a message about the process in progress then
after a few moments redirecting to page2.php with javascript:
setTimeout("redirect()", 500)
f
Hi,
I am designing a system for my company to get employee resumes via the Web,
rather than paper. All resumes now go into a mySQL DB, which can be
searched by HR (at least that's the theory :)
Here are the scripts I will be writing.
User pages
Listings
Descriptions
Application form
Admi
I'm attempting to read a file from a remote server and save it to a
variable. The code below works fine if the remote server is unix based,
but fails with the server I actually need to retrieve data from (NT4 SP4,
beyond my control). When trying to fread from the NT server,
$invoice_contents en
On Mon, May 21, 2001 at 10:03:33AM -0700, Phil Glatz wrote :
> I have a page that displays a few lines, then runs a database query that
> takes five or six seconds. I'd like to flush stdout and display the first
> text while the query is running, so the user doesn't think the site is
> down.
> Hi,
>
> I am designing a system for my company to get employee resumes via the
Web,
> rather than paper. All resumes now go into a mySQL DB, which can be
> searched by HR (at least that's the theory :)
[I would do it like that also]
>
> My questions:
>
> For job listings - how do I design the
I realize this is old, but I was just reading through it and noticed there were
not many suggestions.
My idea would be to have a directory which is in a non-publically viewable
place that you can refer to in an include, like
include "/home/nobodyseesthisfolder/secret file"
It should bomb when it c
On Mon, 21 May 2001 13:55:12 +0100, py ([EMAIL PROTECTED]) wrote:
>> Hi,
>>
>> I am designing a system for my company to get employee resumes via
>>the
>Web,
>> rather than paper. All resumes now go into a mySQL DB, which can
be
>> searched by HR (at least that's the theory :)
>
>[I would do it li
I'm having problems loading an extension I just compiled into PHP 4.0.5 on linux. On
startup I get this...
PHP Warning: Unable to load dynamic library
'/usr/local/lib/php/extensions/no-debug-non-zts-20001222/myextension.so' - cannot open
shared object file: cannot load shared object file: No
I know that, and this option is not enabled and does not work
although the cookies are turned off...
> -Original Message-
> From: Rama [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 21, 2001 8:19 AM
> To: Christian Marschalek
> Subject: RE: [PHP] is not translated...
>
>
> http://www
Is the session.use_trans_sid flag set to 1 in php.ini?
Kirk
> -Original Message-
> From: Christian Marschalek [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 21, 2001 1:16 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] is not translated...
>
>
> I know that, an
On Mon, 21 May 2001 12:57:13 -0400, you wrote:
>
>
>Hello.. Sorry, I know this is a constant problem.., at least for me.
>
>Now I am using 'text' to store big inputs. It does not wrap on the
>screen display...
>
>I have it working on my machine with wordwrap with php4.
>The isp does not have
Hi, I want to save into a variable ($tmp) the value of highlight_string
command. Any one? or any similar function?
--
SORDOMUTO TENTA DUE RAPINE MA NON RIESCE A FARSI CAPIRE
(Dai Giornali)
--
Michel Morelli [EMAIL PROTECTED]
ICQ UIN: 58351764 PR of Linux in
Quick question on passing arguments via URL.
Does anyone know if any browsers have a hard time dealing with something
like the following?
http://www.blahbalh.com/directory/?arg1=arg1&arg2=arg2
In this case the "directory" would have an index.php file that would react
based on the query string,
Michel 'ZioBudda' Morelli wrote:
> Hi, I want to save into a variable ($tmp) the value of
> highlight_string command. Any one? or any similar function?
Have a look at PHP 4's output buffering functions. You can use them to
safe the output instead of displaying it.
regards
Wagner
--
"Some guy
Hi All,
Is there a way to return the results of a mysql_query or the array
that is generated after mysql_fetch_array, via a function? Note I have
tried to do a straight return. Another issue is that all of the tables
are a different size, therefore a static array size would be a big was
Lybarger, Denver J (LYBARDJ8) wrote:
> Is there a way to return the results of a mysql_query or the
> array that is generated after mysql_fetch_array, via a function?
> Note I have tried to do a straight return.
What was the problem? This should work. Maybe you just got the
mysql_fetch_ar
I can't seem to get unset() to work when I'm strying to delete an
element from an array.
I have a select list that is populated by an array, and i need to
be able to delete items from the list by deleting them from the
array, but I don't know how.
I tried using unset($array['element']); but i
There's an extra '}' in the first example for a word wrap function,
under string functions in the manual..
I think I removed the right one but I'm still having trouble with it.
Can someone else take a crack at it too?
Or give me a new one?
Thanks..
Floyd
--
--
PHP Gen
"Henry" <[EMAIL PROTECTED]> wrote:
> i'd like to run something like http://sourceforge.net/projects/e-reminders/
> on my site. it uses cron to trigger the mail to be sent.
>
> i'm not familiar with unix and cron. apparently i need to use shell access
> on my site to get this working.
>
>
Hi
Am running php4 on Red Hat 7(ish) and i need to setup cron job to run php
script. the script works fine if i load in browser, but creates an error
under cron. The script doesn;t try and echo anything to screen, just does
some DB stuff then sends out an email.
Matt
--
PHP General Mailing L
Floyd Baker <[EMAIL PROTECTED]> wrote:
> There's an extra '}' in the first example for a word wrap function,
> under string functions in the manual..
>
> I think I removed the right one but I'm still having trouble with it.
> Can someone else take a crack at it too?
>
I dont see an
Could someone please send me the code for doing the above? I have the
book, "Mastering Regex, blah blah", but I don't have time to read it
until the end of the school quarter."
I'd like to remove the following chars from the beginning of a string:
'$', '\', '/', and '.' .
I plan on doing it like
"Matt Costello" <[EMAIL PROTECTED]> wrote:
> Hi
>
> Am running php4 on Red Hat 7(ish) and i need to setup cron job to run php
> script. the script works fine if i load in browser, but creates an error
> under cron. The script doesn;t try and echo anything to screen, just does
> some DB stu
I have a class defined with a var $reasons that I will use as an array. The
code to add to it is:
function AddReason($score, $reason, $id)
{
static $index = 0;
$this->reasons[$index] = "$score|$reason|$id";
for ($i = 0; $i < $index; $i++)
{
$out = $this->reasons[$i];
echo "$out..
1 - 100 of 140 matches
Mail list logo