Try:
for ($i=1; $i=$n;i++){
...
$tmp=liv_$i;
echo {$$tmp};
...
}
Veronica Ghezzi wrote:
Hi,
i must get the information saved in a several select list named
liv_1 select name=liv_1
liv_2
Quick answer:
input type=checkbox name=name value=value?= (
$HTTP_POST_VARS['name']=='value' ? ' checked' : '' ) ?
the same for radio boxes.
Dan McCullough wrote:
I have a form, and if someone doesnt fill in a field it returns and asks them to
filling in the
missing field. I have made it
Use
mysql_pconnect($hostname, $username, $password);
Wilbert Enserink wrote:
Jason,
this is a piece of code i include in every file.
I thinbk this is the piece of code which kills my connection.
do you have any tips for me how to maintain the connectoin open?
thx Wilbert
My guess is that there is no new window opened, because you call
window.open with
window name that allready exists, so instead of:
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
try:
var threadWindow;
function
If they are the same the difference will be in $HTTP_HOST and (if
different) $SERVER_ADDR,
but you want be able to find that out in a gif file.
Rasmus Lerdorf wrote:
That is the technical difference. Both will make HTTP requests and issue a
GET request to fetch the image file. One opens a
Hi,
instead of include_module() use
int *dl* ( string library)
Loads the PHP extension defined in /library/.
Other questions:
array *get_defined_functions* ( void)
This function returns an multidimensional array containing a list of all
defined functions, both built-in (internal) and
you can use:
UPDATE column SET column + 1 WHERE condition
JJ Harrison wrote:
what is the best way to increment a mySQL table cell?
is there a increment function or do I need to increment it in php?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Yes, you are ruled out, unless you can convice your administrator to
include it.
Extensions are pure machine code, so if anybody could load his/her own
extension,
he/she could easily gain http server priviledges.
Justin French wrote:
I've just done a little reading on dl(), and it would
Are you using any opcode cache? Are you sure it is another process or
might it be another thread.
Marek
[EMAIL PROTECTED] wrote:
We are seeing a rare bug that seems to imply that there is a bug in PHP's
global variables across httpd processes. To make a long story short, it
appears that
rename can move the file only on the same partition, it is realy just
_rename_, not full _move_
Marek
Tim Stoop wrote:
Hi people,
I want to move a file from one location to another. I expect I can only do
this with 'rename', because there's no 'move'-command (at least nog in the
You need to install php-mysql* too.
Jadiel Flores wrote:
Hi, I installed php and mysql today and I'm trying to use phpMyAdmin but
I'm receiving the error message:
cannot load MySQL extension,
please check PHP Configuration.
I checked the php.ini and couldn't find anything related, my configure
If the regexp matches, it is a valid email, so you need ! in front of it.
dan radom wrote:
I've got a form that's posted to a php page where I'm attempting to validate a field
contains a valid email address. The eregi below seems to be totally ignored...
if
None that I know of. You need to use copy unlink
Tim Stoop wrote:
Marek Kilimajer wrote:
rename can move the file only on the same partition, it is realy just
_rename_, not full _move_
So there is no full-features move in PHP?
--
PHP General Mailing List (http
I dont think forms can be nested. In fact I'm pretty sure.
Mark Colvin wrote:
I use the following line in some of my php scripts to navigate between
pages:
td align=left width=40pxinput type='button' class='bginput'
value='New' onClick=this.form.action='newproduct.php?mode=new';
The only way I see this can be done is simly let every user mount a
share under the same letter,
all you need to do then is a
href=file:///X:/directory/file.docfile/a, then locking files is up
to samba or windows server.
Marek
Richard Lynch wrote:
I have an intranet, which provides
shares on the internet or know if its
secure/insecure?
Thanks
Chris
Marek Kilimajer wrote:
The only way I see this can be done is simly let every user mount a
share under the same letter,
all you need to do then is a
href=file:///X:/directory/file.docfile/a, then locking files is up
instead of
$fn=fopen($filename,rb);
while(!feof($fn)) {
echo fread($fn, 4096);
}
use
readfile($filename);
BB wrote:
$filename = your/file.gif;
header(Content-Type: image/gif);
header(Content-length:.filesize($filename));
$fn=fopen($filename,rb);
while(!feof($fn)) {
echo fread($fn, 4096);
}
You could call another script in language of your choise using $output
=exec('command');
Marek
Michael wrote:
Hi!
I've been using PHP to write shell scripts and was wondering how to
implement the following:
- I have a menuing system
- If a user does not give an input within a certain
This won't work, you must register it within a session, just remember to
declare the class befor session_start()
Alexander Ross wrote:
If $this is an object, can I have the following link?
a href=process_this.php?this=$thisProcess/a
Will the URL become too long? Will teh info get passed
Well, he likely never be able to unsubscribe himself, as he needs to
reply to the unsubscribe notice, but his account is now full.
R'twick Niceorgaw wrote:
I just setup a rule in OE to forward his own mail to himself and delete it
form my machine
- Original Message -
From: Jeff Lewis
Johan Holst Nielsen wrote:
(yes it's me again)
i've got an other problem.
i've got an login system, and it has to put an cookie, but it seems
he doesn't do it.
is it an php.ini problem ??
Dont think it a php.ini file.
First of all. Remember to set the cookie before any other headers
Now I reminded myself of WebDAV (http://www.webdav.org/), it is a
filesystem over http.
There is an apache module available (http://www.webdav.org/mod_dav/). It
should be easier
to set up then VPN.
Chris Hewitt wrote:
Thanks
Marek Kilimajer wrote:
If you can use virtual private network
Use BiffWriter, I don't know where it lives, you must find it yourself.
Phillip S. Baker wrote:
Okay here is what I want to do.
Select the field of a database that I want.
Hit submit.
Execute a query of a database based on the said form.
Gather all the data and rows and plug them into an
Wait, you mean IE sends the full uri (including the anchor #JumpHere) as
a GET request?
Anchor is interpreted on the client side, this means browser reads
trought the document looking for
anchor of that name. You cannot get it on server, maybe somehow with
javascript.
Marek
Martin Thoma
Only if you write your own module.
Thomas \omega\ Henning wrote:
Hello,
Can i access my paralel or USB port with PHP server side?
Thomas omega Henning
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
My guess is that there is no ',' in $Line, so split returns an array
with one variable, so list() warns you
parameter No. 1, 2 ,3 4 and 5 are not asigned any value.
Chris Crane wrote:
247: list($H_Date, $H_Open, $H_High, $H_Low, $H_Close, $H_Volume) =
split(,, $Line);
Scott Fletcher [EMAIL
unlink()
Dale wrote:
I've currently made a signature uploader.
I know the code that shows a drectory's contents but whats the code to
delete something?
- Dale
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all,
I just coded a cache mechanism for some slow code that looks like this:
$cache_file_name = cache/$id/$tid. ($showall ? '_all.php' :
'.php');
$cache_dir_name= cache/$id;
if(!file_exists($cache_file_name) ||
filectime($cache_file_name) + 30 time() ) {
Cron doesn't have the same enviroment like normal shell, so it knows
nothing about $HOME, you need to use full path.
Edgard Berendsen wrote:
I'm trying to do a cronjob.
If I'm right I should have a php file with
#!/usr/lib/php -q
at the beginning and a cronjob like
MAILTO=[EMAIL PROTECTED]
0
You might consider using BCMath Arbitrary Precision Mathematics
Functions cid:[EMAIL PROTECTED]
Jason Teagle wrote:
- Original Message -
From: Jonathan Rosenberg [EMAIL PROTECTED]
To: Jason Teagle [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, June 03, 2002 3:18 PM
Subject: RE:
You can also check $HTTP_REFERER, it's much simpler
Marek
Clay Loveless wrote:
Something else along these lines -- I really, really wish that more sites
that use this method would test across multiple browsers and platforms.
I agree with everything John is saying regarding testing
You cannot create a database from within PHP, you need to connect to mysql server
( my guess is the same applies to MS Access), and with root priviledges call
something like
mysql_query(CREATE TABLE nuke_stories (
sid int(11) NOT NULL auto_increment,
catid int(11) NOT NULL default '0',
The filepointer is closed after your script finishes executing, you
cannot do it.
V_Suresh wrote:
Hi All,
Suppose I'm opening a socket connection to a server on some
port, and I do some transactions, and generate html. But I 'm not
closing the file pointer(socket). Only after the user
You are wrong, this is from HTML 4.01 specification:
value = /cdata/ cid:[EMAIL PROTECTED] [CA]
cid:[EMAIL PROTECTED]
This attribute specifies the initial value cid:[EMAIL PROTECTED] of
the control. It is optional except when the
type cid:[EMAIL PROTECTED] attribute has the value radio or
I've got a nice progress bar with this code:
for($i=0;$i10;$i++) {
flush();
sleep(1);
echo 'img src=img.gif width=20 height=20 border=0 alt=X';
}
But read manual for the flush() function.
electroteque wrote:
hi there i have created a script to regenerate thumbnails for a photo
Try a helper function
function helper() {
return a::test();
}
$testfunct = helper;
...
Unger, Christian wrote:
I have problems to make a dynamic call, please help me
?
class a {
function test() {
echo Hallo;
}
}
$testfunct = a::test;
$testfunct();
?
returns:
Fatal
Don't forget to use urlencode after serializing.
David Robley wrote:
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] says...
Is it possible to pass an array in a form post? If so, how do I reference
the array on the next page?
Thank You
Paul
php
I believe you may need
Use header(Location: page.php); to redirect the browser, you should
allways do it after a post that changes or adds or deletes some data on
the server.
Roland Swingler wrote:
Hi
I have a problem with caching on IE 5.1.4 on Mac Os X. (PHP 4.0.5)
The page I want to use is a simple file upload
Check file and drectory permisions.
ROBERT MCPEAK wrote:
Our box recently went down and after reconfiguring it we're left with a
semi-operation mySQL. One error I'm getting is this:
mysql select region from clip_art where region is not null and
released = 'yes' group by region;
ERROR 1: Can't
var tmp,url;
url = 'http://site/script.php?';
while(tmp = myArray.shift()) {
url += 'phparray[]' + escape(tmp);
}
document.location.href = url;
In script.php, you'll find array named phparray
kale wrote:
Hy,
I have an array make with a javascript.
How can I read values with PHP from it?
Terence Lee wrote:
Hello
i've uncommended the mcrypt and mhash line in c:\winnt\php.ini. then i
try to start the apache but encounter the following error msg
The procedure entry point _ecalloc could not be located in the dynamic
link library php4ts.dll
Unable to load dynamic library
I forgot , the right version:
var tmp,url,separator;
url = 'http://site/script.php?';
while(tmp = myArray.shift()) {
url += separator + 'phparray[]' + escape(tmp);
separator = '';
}
document.location.href = url;
Marek Kilimajer wrote:
var tmp,url;
url = 'http://site/script.php
;
}
//--
/script
/head
body
a href= onClick=return sendArray()Click Here/a
/body
/html
kale wrote:
This is a javascript?
Where must I put this lines?
Thanks for help.
Kale.
-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 05, 2002 2:31 PM
I use this, it includes also national characters
$name=strtr( $name,
`O}ao~¾YYµAÁÂAÄAAÇEÉEËIÍÎI?NOÓÔOÖOUÚUÜÝßaáâaäaaçeéeëiíîi?noóôoöouúuüýy
*!@#$%^()+=,
SOZsozlYYuAAACDNOOYsaaaconooyy_);
Javier Montserat wrote:
i want to format the filename
The answer is compression - the image with text is more complicated, so
the compression ration is lower
Rodrigo Peres wrote:
Hi,
I'm using GD to put a dinamic text in some buttons. The problem is that the
original image that I use has 8k and after i put a black text it jumps to
20K. What I'm
Shouldn't be possible, as it would be a security risk.
electroteque wrote:
yeh i was getting too deep into automation scripts on windoze but became
system intensive thanks
Justin French [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I seriously doubt it,
exec(arp $_SERVER[REMOTE_ADDR], $output);
$output[0] should be something like
? (192.168.1.37) at 00:E0:4C:00:30:2D [ether] on eth0
Chris Cook wrote:
Hello all,
I am working on a LAN application and am interested in obtaining the
user's network card address to limit usage of the program.
Hi,
Split the calculation up an use echo to find the problem.
David Rice wrote:
Hi:
I am attempting to calculate a mortgage payment using the following code.
?PHP
$P = 10;// principal outstanding
$I = 4.5;// annual interest rate percentage
$N = 20;// number of
? ? doesn't mean output unless you use echo or print or whatever to
output from there anything.
Just use header(Location: yournewpage.php); at the end.
Meltem Demirkus wrote:
I mean I made a page with php and other stuff..And there is form .When I
click on okbutton php is dpoing what it
);
?
- Original Message -
From: Marek Kilimajer [EMAIL PROTECTED]
To: PHP [EMAIL PROTECTED]
Sent: Friday, September 06, 2002 12:55 PM
Subject: Re: [PHP] question about Location
? ? doesn't mean output unless you use echo or print or whatever to
output from there anything.
Just use header(Location
Contents of the Host: header from the current request, if there is one.
Does your browser send Host: ? If you use IP it doesn't
Cirstoiu Aurel Sorin wrote:
This is not the problem. I understand what you mean.
Now you wrote wrong and I copy pasted.
I tried with $_SERVER['HTTP_HOST'] . No
The server needs to be set up correctly - it needs to know what time
zone it is in and if the BIOS time is GMT or local.
lallous wrote:
Isn't the gmdate() supposed to return the same value when run from two
different timezones?
I run it on GMT+2 system and EDT system, and I get 1 hour
If you can use exec you may use convert, or also imlib module provides
very good results.
Fifield, Mike wrote:
I sent this email out earlier this morning and got no response. It was quite
early so I thought I would send it again now that more people are hopefully
at work :-)
I have been
$string = $int1 . $int2
Meltem Demirkus wrote:
Hi,
I want to add one integer to the end of another , which function can I
use?..
thanks
meltem
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If you cannot use square brackets, get the values yourself from
$_SERVER['QUERY_STRING']
Alex Shi wrote:
How to ontain data from a group of checkbox using same name?
For example, in a form there're 6 checkboxes and all named as
Interesting_Area. I know if put a pairs of square brackets at the
You may use either dBase ( http://www.php.net/manual/en/ref.dbase.php ) or
http://www.php.net/manual/en/ref.dba.php
Ram K wrote:
Hi
I want to store the data of a table in a file and read that file just
as one would read a table. For e.g. I have a table t_data with cols
mysql_insert_id() will tell you the number of last auto_increment
insert, you can use this, but you must keep it using session on the
server side for security reasons. But better solution be to use session
or hidden fields in your forms to pass the values from page to page and
insert them at
Didn't you enable some apache extentions, like compression.
PHP wrote:
Hi all,
Until yesterday i was running Apache/2.0.36 (Unix) mod_ssl/2.0.36 OpenSSL/0.9.6c
PHP/4.2.1 and was able to flush script output to browser (using flush() ), before
the script stops executing. I upgraded to
Make sure you are not outputing anything besides the headers and actual
content of the file, you may also try looking at the downloaded file if
there are any php errors and/or warnings.
Ralf Bengl wrote:
hallo ...,
my name is ralf and i read the comments from the last weeks about
download a
Hi,
Mike Smith wrote:
I am stumped on a project for a receiving system. I'm not sure how to handle
receiving more than one line item. I can UPDATE ... WHERE id=$detid when I
have 1 item, but how would I get the SQL to fire X times depending on the
number of line items I have AND UPDATE the
You can use http://www.php.net/manual/en/ref.mcrypt.php
Bob Bowker wrote:
Maybe reversible hashing of a tar file is a better way to describe
what I need ... I want to make a tar file unreadable (at least can't
be uncompressed) by anyone who doesn't know the key.
Bob.
At 10:43 AM
Is the apache parent process ( the one running under root) getting
larger too?
John Wards wrote:
After being told off on the dev list I have posted this on this list (I
thought it was techie enough to go on that list but I was wrong)
I am running a large PHP/MySQL/Apache driven website
Add ORDER BY date_col DESC LIMIT 1
Merritt, Dave wrote:
All,
I apologize up front for being off topic, but I don't want to have to
subscribe to other lists unless necessary. I know that someone on this list
should be able to help me out.
I have the SQL string below that I am running. The
Then I would not think it's php issue, as php is called by forked
children.
There might be also problems in the libraries, so check for updates.
Sorry, cannot help you more.
John Wards wrote:
Hmm I am unsure as my server crashed on me this morning and restarted it
self so every thing is back
It's not possible, imagine
$firstname = new flashPash();
$secondname = $firstname;
Now is the log name secondname.log or firstname.log. Use new property.
Simon McKenna wrote:
Hi all,
I'm new to the php world and have just finished building my first class,
It works pretty well, but i've run
Don't think windowed version will work, but try to get some new 32-bit
command line version that understands long filenames.
YC Nyon wrote:
My application lets users to upload a zip file into the server. Once done, i
will use php execute function to run a command line to unzip the uploaded
Try direct connection to the server to see the response it sends, you
may also try to send header(HTTP/1.0 302 Found) and see if that helps.
What browsers does it happens to?
jana konickova wrote:
I have the php script with the command
Header(Location: https://$SERVER_NAME$path;);
which
Try eval(), like this:
$str= 'THREE'=3, 'FOUR'=4;
eval(\$data2 = array('ONE'=1,'TWO'=2,$str););
Max Sullivan wrote:
I am trying to populate array values and keys from a variable with no
luck.
Lets say I have the following array.
$data1 = array('ONE'=1,'TWO'=2,'THREE'=3,'FOUR'=4);
And I
It's a shell script, and your shell drops root privileges. Use a shell
that doesn't or use a C-wraper.
tim tom wrote:
Dear Pete,
Yes, apache runs as nobody. But I have setuid add.sh. Wouldn't that be sufficient ?
--
tim
--- Peter Houchin [EMAIL PROTECTED] wrote:
you need to make sure
switch($DOCUMENT_URI) {
case '/':
include( watch you want);
break;
case
}
Eric C. Pollitt wrote:
I would like to know how to conditionally included a file based on the
document location.
The purpose is for placement of location-specific navigation menus.
Try to set it in disable_functions, it may help, or may not. Otherwise
disable it in php sources or even better regexp your scripts to change
mail to something else.
Liam wrote:
Yeah, mail() again...
I want to disable the default mail command and replace it with my own.
I've written a
won't help, it's forbidden to mix aggregate columns with non aggregate
without a group by clause. Make your first query and then the sum.
Denis Basta wrote:
Hello,
Try this:
SELECT SUM(duration) AS summ, ..., ..., ..., FROM table1 WHERE condition
Hope it will help ya!
Regards,
Denis Basta.
You are very general, what you are asking for is all PHP is about.
karthikeyan wrote:
Messaging Solution
I want to develop a web-based Messaging System where the clients needs the messages
and server keeps sending the messages based on Technical Request from the client.
I
As he uses postgresql, he should use *pg_last_oid()*
Scott Houseman wrote:
Hi there.
You can use the function mysql_insert_id( [link id] ).
regards
Scott
Faisal Abdullah wrote:
Hi people,
I have a table with a column called ID (auto-increment).
Is it possible to know the value of
I would do it this way (it fails if some names are same):
Chad Winger wrote:
Hello Rudolf,
Thank you for responding to my post, I really appreciate it.
I ran the script you sent me, and then I tried looking up the syntax to try
to figure out what it means. As it would be pointless for me just
Look at the COM support (never have worked with it but it should be what
you are looking for)
Matthew Tapia wrote:
Can you use PHP to add appts to my microsoft outlook calendar or open up a
document in ms word?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
If you mean phpinfo.php which calls just phpinfo(), here it is:
?
phpinfo();
?
César Aracena wrote:
Thanks. I installed PHP first and will install MySQL (once the download
finishes) hoping they'll work together just fine. One thing's missing... the
phpinfo.php file, which should be here...
;
echo oid : .pg_last_oid($result);
}
-- snip snip --
Sincerely,
Faisal
-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 18, 2002 5:42 PM
To: PHP
Subject: Re: [PHP] Auto-increment value
As he uses postgresql, he should use *pg_last_oid
You encounter a race condition
bob parker wrote:
SELECT idno ORDER BY idno DESC LIMIT 1;
assuming idno is what gets auto incremented
bob
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I just tested it (with wrong password) and it worked.
Jason wrote:
As an adendum to this... my initial thoughts are that the forms are not
posting correctly in XP. I'm using the POST method.
Jason Cathcart
Check Out My Site: http://www.biohazardous.org
-Original Message-
From:
if $datetest has a strict format, use $getdate[1]==$datetest, also put
$datetest=$day.month.$year out of the while loop, it doesn't need to
be recreated over and over.
Chad Winger wrote:
Yes, I'm STILL a newbie :) I've gotten pretty far in a few days thanks to
you all. I have a new question
put this to the begining of your some.php
if (eregi(some.php,$PHP_SELF)) {
Header(Location: index.php);
die();
}
Brian McGarvie wrote:
How could you redirect somone from directly accessing a file...
Meaning... if an engine spiders www.domain.com/some.php
How could you make some.php
William wrote:
1) Payroll apps require large tax libraries (federal, every state and
locality).
Split them into more files (diffrent states etc.) and include_once them
when they are needed,
and perhaps mysql can take part of the job.
4)Loosely Typed Variables.
I fear it might be to
The Content-Type header changes, when uploading, you can get it from
$HTTP_POST_FILES['userfile']['type'], also set the filename using
header(Content-Disposition: attachment; filename='. $filename );
Christian Ista wrote:
You'll need to prompt the download by sending the appropriate
If you look at the tutorial no. 5 on www.fpdf.org, all you need is to
change LoadData function, example:
function LoadData($condition)
{
$res=mysql_query(SELECT * FROM table WHERE 1 AND ($condition));
while($data[]=mysql_fetch_row($res) ) { }
return $data;
}
Chuck Payne wrote:
Hi,
wildcard in SQL is %, so your query looks like:
$query_search1 = SELECT * FROM secureworks WHERE $varSort_search1 LIKE
'%$varText_search1%';
[EMAIL PROTECTED] wrote:
Howdy all!
I've built a page in Dreamweaver MX that uses PHP for scripting. I
can get
data out of my mysql database but I
Well, this would work in MySQL, I have even more LEFT JOINs, so go find
out if it is possible with Oracle.
Faisal Abdullah wrote:
Hi again people! How's it goin?
Here's the question
How do I do left joins from multiple tables?
I want to do something like this:
select a.name, b.department,
Do it after the loop finishes
while( ){
if( something ) {
print out;
reinicialize
}
}
print out
Naintara Jain wrote:
I have a logic problem:
I have a complicated query. The main thing is that I have an ID, and for a
particular ID, I may have between 1 to 3 rows
What I don't understand is how can your webserver create a file and then
not to have permission to read it.
What is your setup?
Jaski wrote:
No Edwin .. I can't do any thing to that file .. not even from my ftp
client .. can't download can't change permissions ..
The server is managed by
Christian Ista wrote:
Hello,
I change the procedure to create an account for users. For the moment,
the user (to create and log in), have to create an account with e-mail +
password. I'd like to create a procedure to check the e-mail (login)
validity. But I'd like to check if the e-mail
Don't know much about DOM, but it seems you can use dump_mem() to dump
the xml into a string, and then replace your first line
Raphael Bauduin wrote:
Please, don't tell me I can't set the doctype with php!?
Will I have to user a 3 liner in perl to set the doctype? :(
Raph
Raphael Bauduin
Turn off notice logging in your php.ini, just keep warnings and errors.
Jason Young wrote:
I have some code that a user can set a description about an item to be
posted, and then add some image files of the item.
Its a 3x3 frame of input type=file fields, along with an 'include'
line for
Not possible, but workaround is to pass the variable name and use it as
a variable variable, but for this the variable needs to be global.
Trevor Dowling wrote:
Can anyone help with this?
I am relativly new to PHP and am trying to use variable numbers of
parameters to functions using the
that is
not reported as an error to begin with?
But even so, what about the other Notices I might receive in regards
to other debugging.. I have to get rid of all that, too?
Basically I'm asking if this is the only way to do it..
Thanks.
-Jason
Marek Kilimajer wrote:
Turn off notice
The algoritm gdlib uses is fast but worst. Use either exec(convert
...) or imlib extension
Michael F. wrote:
Hello,
I have a php script which resizes a jpeg file. I use ImageCopyResized and
ImageJPEG function. But the result picture quality is not enough good. I use
ImageJPEG with quality =
Use either session to remember the checkboxes' name/value pairs or
hidden fields.
Tom Ray wrote:
I'm having a small problem with a form I'm designing and I hope someone can
point me in the right direction here. The form's function is rather simple
actaully. It's supposed to take the
Display a page first, then use the redirect header to redirect the
browser to the actual file.
Merritt, Dave wrote:
All,
I'm trying to write a script that will allow the user to download/save a
file but I also want to be able to display a web page in the browser window
as well. If a user
Or better UPDATE table SET col = col +1
Jay Blanchard wrote:
[snip]
I have a field on a MySql database that is started with a 0, and I want
to add 1 to this field every time a button is pressed on a form. So it
should add one every time, like if there is 5 and you press it one time
it would
convert is a command common on unix platforms, might be available even
for windows.
Imlib ext. is not available for Windows. ( check http://mmcc.cx/php_imlib/ )
Michael F. wrote:
But what is this convert function? (I use WinXP)
Or how can I install the imlib extension?
Thanks!
Marek
this must work:
exec('echo `date` 192.168.10.123 is down, lets call the admin. I was
sleeping for 10 minutes | smbclient -M '. $compname);
Mario Ohnewald wrote:
Hi Henry!
From: Henry [mailto:[EMAIL PROTECTED]]
How about
?php
$command=\`date` === $ip is down, lets call the admin. I
was
1 - 100 of 2207 matches
Mail list logo