<>--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
<>--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
<>--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
<>--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Are you saying this is coming from a form entry?
If so and you have PHP > 4.1 then use:
$_GET['chp1'] OR $_POST['chp1']
Depends if it is get or post data!!
If you have pre 4.1 use the var name eg. $chp1 etc etc
Timothy Hitchens (HiTCHO)
[EMAIL PROTECTED]
If you n
th a callback
either removal or addslashes equiv.
Timothy Hitchens (HiTCHO)
[EMAIL PROTECTED]
If you need PHP hosting with an experienced
support team 24/7 then email me today.
On Sat, 28 Dec 2002, Beth Gore wrote:
> Hi,
>
> If I'm taking an URL as user input from in a form
the header call as above.
Timothy Hitchens (HiTCHO)
[EMAIL PROTECTED]
If you need PHP hosting with an experienced
support team 24/7 then email me today.
On Sun, 29 Dec 2002, Pag wrote:
>
> Hi,
>
> I am having some problems with duplicate form input.
> I have a form that
The redirect using the header method is instant and if the middle
page just does the inserts and you redirect right away using PHP
it is not noticable at all.
Timothy Hitchens (HiTCHO)
[EMAIL PROTECTED]
If you need PHP hosting with an experienced
support team 24/7 then email me today.
On Sun
The $fd is the file handler now not the $filename.
Timothy Hitchens (HiTCHO)
[EMAIL PROTECTED]
HiTCHO | Open Platform Web Development
Consutling - Outsourcing - Training - Support
- Original Message -
From: "Alberto Brea" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTE
around this...
keep you posted.
Timothy Hitchens (HiTCHO)
[EMAIL PROTECTED]
HiTCHO | Open Platform Web Development
Consutling - Outsourcing - Training - Support
- Original Message -
From: "Kristopher Yates" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wedne
You can post to your server with a mimetype of "text/xml"
and in your script pickup the raw post as:
$HTTP_RAW_POST_DATA
Then just process this string as XML and return to buffer or not.
Have fun.
Timothy Hitchens (HiTCHO)
[EMAIL PROTECTED]
HiTCHO | Open Platform Web Development
ilip';
$first[] = 'John';
$first[] = 'Paul';
Now you can simply do:
echo $first[0]; // this could output 'Philip';
You can then look at multi dimensional etc...
I trust this get's you on your way.
Timothy Hitchens (HiTCHO)
[EMAIL PROTECTED]
HiTCHO |
Use the count like following inside to ensure that you don't
call on a non existent index.
for ($i = 0, $x = count($comment); $i < $x; $i++)
{
echo $comment[$i].'';
}
Why do you want to echo out $comment_1 ???
Timothy Hitchens (HiTCHO)
[EMAIL PROTECTED]
HiTCHO |
working application somewhere.
No clicking... but remember that IE has a 2 connection limit per domain.
(without registry changes)
Timothy Hitchens (HiTCHO)
[EMAIL PROTECTED]
HiTCHO | Open Platform Web Development
Consulting - Outsourcing - Training - Support
- Original Message -
From
Your example of:
for ($i = 0; $i < count($comment); $i++)
Is very bad as the count will be parsed each loop.
The count as I had it gets parsed only once.
Timothy Hitchens (HiTCHO)
[EMAIL PROTECTED]
HiTCHO | Open Platform Web Development
Consulting - Outsourcing - Training - Supp
Acceleration in what sense .. caching or memory kept precompiled code??
Timothy Hitchens (HiTCHO)
[EMAIL PROTECTED]
HiTCHO | Open Platform Web Development
Consulting - Outsourcing - Training - Support
- Original Message -
From: "Jochen Kaechelin" <[EMAIL PROTECTED]
file / htaccess.
And you are correct unless you have FTP/File Sharing etc you can't view
the source of a handler/parsed file.
HiTCHO has Spoken!
Timothy Hitchens (HiTCHO)
[EMAIL PROTECTED]
-Original Message-
From: Larry Brown [mailto:[EMAIL PROTECTED]]
Sent: Sunday, 5 January
ou get all upgrades (including all version comp eg 4.x.x comp)
included.
HiTCHO has Spoken!
Timothy Hitchens (HiTCHO)
[EMAIL PROTECTED]
> -Original Message-
> From: Mirek Novak [mailto:[EMAIL PROTECTED]]
> Sent: Monday, 6 January 2003 5:08 PM
> To: John Wells; [EMAIL PROTECTE
Hmm... I would expect that your sendmail.cf (if you are using sendmail)
hasn't got
your webserver (running as eg www or apache etc) in it's trusted users
file / listing.
HiTCHO has Spoken!
Timothy Hitchens (HiTCHO)
[EMAIL PROTECTED]
> -Original Message-
> From: D
Have you tried it in Safe Mode as you may have a Java Runtime issue.
HiTCHO has Spoken!
Timothy Hitchens (HiTCHO)
[EMAIL PROTECTED]
> -Original Message-
> From: Steven Seijmonsbergen [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 7 January 2003 7:09 PM
> To: [EMAIL PROTECTE
As I have said before that if you set the webserver user in as a trusted
user in the sendmail.cf file all is fixed.
You can then set a return-path etc without warnings as well.
HiTCHO has Spoken!
Timothy Hitchens (HiTCHO)
[EMAIL PROTECTED]
> -Original Message-
> From: Petre A
then write out and unlock.
HiTCHO has Spoken!
Timothy Hitchens (HiTCHO)
[EMAIL PROTECTED]
> -Original Message-
> From: Jeff Bluemel [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 8 January 2003 9:08 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] anyway to do a 'whos onli
This is outgoing traffic the same as if you where surfing the Internet
and as the connection
is an established one your machine will allow it.
I would suggest looking at the (server) as it may not allow relaying
etc!!
HiTCHO has Spoken!
Timothy Hitchens (HiTCHO)
[EMAIL PROTECTED
In windowsxp do the following:
Start -> Run
Open: cmd
At the shell type:
telnet x.x.x.x 25< x.x.x.x being the smtp server
If you get a prompt then you have other issues such as relay etc etc
HiTCHO has Spoken!
Timothy Hitchens (HiTCHO)
[EMAIL PROTECTED]
> -Origina
You need to follow my instructions and do "telnet x.x.x.x 25" notice the
25 after the IP ??
HiTCHO has Spoken!
Timothy Hitchens (HiTCHO)
[EMAIL PROTECTED]
> -Original Message-
> From: Bruce Levick [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 8 January 2003 9:
Are you surfing and emailing from this box right now?? (strange if you
are)
HiTCHO has Spoken!
Timothy Hitchens (HiTCHO)
[EMAIL PROTECTED]
> -Original Message-
> From: Bruce Levick [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 8 January 2003 9:47 AM
> To: Timothy Hitc
This is now getting to off list issues I would suggest!!
HiTCHO has Spoken!
Timothy Hitchens (HiTCHO)
[EMAIL PROTECTED]
> -Original Message-
> From: Bruce Levick [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 8 January 2003 9:55 AM
> To: Timothy Hitchens (HiTCHO)
Hmm... yes you could create an array of the files then check the last
mod stamp using stat (remember to reset stat).
Sessions are also cleaned up via the garbage collection system
controlled via php.ini
HiTCHO has Spoken!
Timothy Hitchens (HiTCHO)
[EMAIL PROTECTED]
> -Original Mess
, maintenance and soon
management with the introduction of CVS integration (2.6)
just announced on zend.com
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Pierre-Luc Soucy [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 8 January 2
)
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 8 January 2003 1:11 PM
> To: Timothy Hitchens (HiTCHO)
> Cc: 'Jeff Bluemel'; [EMAIL PROTE
message
start building actual page in a string behind the scenes
fork--> page times out the buffer is sent out
--> page ends properly ... clear the buffer and output the
string you built
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PRO
You want a call back method for timeout none avail.
- auto append won't work
- register shutdown won't work
I don't know of another solution right now.
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Je
ested within
5 seconds to discard. So you will need to do a select, num_rows then if
below 1 insert.
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Altug Sahin [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 8 January 200
Is that going to take care of Nested Tags??
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Greg Beaver [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 8 January 2003 3:06 PM
> To: [EMAIL PROTECTED]
> Su
Issue... as I said before the register shutdown won't work because:
- output from the shutdown is not visible nor do you have access to some
variables
Result: no message as you wanted to show to the client.
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROT
c etc
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Jean-Christian Imbeault [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 8 January 2003 3:43 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] How to detect a
x27;t the best for a production env but this is the best I can see
considering you don't want to rewrite!!
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Jean-Christian Imbeault [mailto:[EMAIL PROTECTED]]
> Sent: Wedn
I wish it was as simple as that but in the past it just hasn't always
worked!!
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Marek Kilimajer [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 8 January 2003 7:29 PM
Have you checked your php.ini for a safe mode setting to true/on ??
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Emmanuel.Leguy [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 8 January 2003 7:49 PM
> To: [EMA
I would suggest you have a look at:
http://expect.nist.gov/
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Jean-Christian Imbeault [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 8 January 2003 8:24 PM
> To: [EMA
You are trying to delete/unlink a file with a php script.
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Kevin Meredith [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 8 January 2003 9:54 PM
> To: PHP
> Subject
I am assuming you have testing from a desktop client.
Are you sure that the PHP script has been logged in??
Can you see via a log file of the successful authentication??
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From:
creen; requires lynx and mod_status
enabled
status - dump a short status screen; requires lynx and mod_status
enabled
graceful - do a graceful restart by sending a SIGUSR1 or start if not
running
configtest - do a configuration syntax test
help - this screen
Timothy Hitchens (HiTCHO)
If you use a database for session management you have total control over
when and what is garbage collected and therefore extend / delete
whatever
anytime you want.
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Jeff B
Using ftp_login() ??
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Oliver Witt [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 9 January 2003 5:30 AM
> To: [EMAIL PROTECTED]; Timothy Hitchens )
> Subject: Re
://www.php.net/manual/en/function.include.php
Requests for includes and on the supplying server simply output the
value like:
If you do it this way it will be simply included and be available as a
variable instantly.
(**subject to security issues and speed)
Timothy Hitchens (HiTCHO)
Open
You need to check like this:
if (isset($action) && $action == 'add')
AND if it is 4.1 + and global vars are turned off??
if (isset($_GET['action']) && $_GET['action'] == 'add')
** The above will need to changed if it is POST in the a
Issue you have is that if it is on another server you must you a http
etc transport to get it!!
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Bill Arbuckle, Jr. [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 9 January
You need to set an encoding and encode the body see:
http://www.php.net/manual/en/function.imap-8bit.php
**You will need to add the headers for this plus encode**
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Tom
$posted needs to have '' around it!! <-- this could be stopping it!!
(and always check to see if the vars exist first and if you are using
4.1 + with globals off you will need to change you code now or in the
future)
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EM
You are referring to Variables of Variables see:
http://www.php.net/manual/en/language.variables.variable.php
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
-Original Message-
From: Stephen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 9 January 2003 10:52
Do you require searching of this data eg... select via these numbers or
not??
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
-Original Message-
From: Stephen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 9 January 2003 11:56 AM
To: PHP List
Subject: [PHP
that show
you which numbers it has:
Table 1:
Code
Name
etc
Table 2:
Code
Number
You will end up with multiple numbers listed in table 2 but you can then
easily find everyone with number 45.
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original
Your settings should be something similar to this:
AddType application/x-httpd-php .php .html
AddType application/x-httpd-php-source .phps
Do you have the page remotely available to see what is happening for
you??
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail
Give this a shot ... a bit of a hack but works for you:
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 9 January 2003 12:17 PM
> To: php-general
>
Check out:
http://www.php.net/manual/en/function.serialize.php
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Stephen [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 9 January 2003 12:13 PM
> To: Timothy Hitchens (
Hmm "language" !!! languaje
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Ysrael Guzmán [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 9 January 2003 12:43 PM
> To: [EMAIL PROTECTED]
> Subject: [P
You can set php_value and php_flags etc inside of the virtual host def
in httpd.conf etc
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: SED [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 9 January 2003 1:10 PM
>
Please keep it on list and (reply to all) as it assist everyone then!!
Check out:
http://www.php.net/manual/en/configuration.directives.php
As a starting point!!
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: SED [
'/usr/sbin/sendmail -f
[EMAIL PROTECTED] -t -i'
The you can add the file upload size flag and value just like that.
Please note some flags and values can be added here and some to the
.htaccess files with some
restricted for security purposes such as base open etc!!
Timothy Hi
Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Jean-Christian Imbeault [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 9 January 2003 3:54 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Re: Databases vs. File Access
>
>
PHP supports sockets check out:
http://www.php.net/manual/en/ref.sockets.php
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Vinod Panicker [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 9 January 2003 5:31 PM
>
o platform always has some impact on includes!!
include('/usr/local/www/data/lib/somefile.conf');
I hope this helps... the other way is to set the include paths etc!!
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From:
replication
systems for enterprise operations.
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Nick Oostveen [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 10 January 2003 1:52 PM
> To: [EMAIL PROTECTED]
> Subject:
Native Excel.. good luck as it is a binary format.
If you save it as a CSV version of the document then you have
many approaches to this issue.
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Adam Ferguson [mailto:
Use Preg:
// put your html into $html
preg_match('/(.*)<\/title>/Usi', $htlm, $title);
echo $title[1];
** very basic example
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Martin Hudec [mailto:[EMA
Oops...
// $htlm should have been $html
preg_match('/(.*)<\/title>/Usi', $html, $title);
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Timothy Hitchens (HiTCHO) [mailto:[EMAIL PROTECTED]]
> Sent: Fri
(HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 10 January 2003 4:06 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Is this possible with php?
>
>
> I would like
.
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
-Original Message-
From: Stephen [mailto:[EMAIL PROTECTED]]
Sent: Saturday, 11 January 2003 10:17 AM
To: PHP List
Subject: [PHP] Make fil downloadable
I need to somehow make it so when a user clicks a link, then
real file but a script that reads
into the buffer the real file!!
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Stephen [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, 11 January 2003 10:29 AM
> To: Timothy Hitchens (
Correct!... yes the source not interpreted raw!!
Isn't that what you wanted??
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Stephen [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, 11 January 2003 11:01 AM
> To:
It is a 30 minute write... not that hard!!
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Jeff Lewis [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, 11 January 2003 12:37 PM
> To: php-gen
> Subject: [PHP] Sug
Please be aware that eval code is extremely hard to debug!!
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Paul Roberts [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 10 January 2003 9:33 AM
> To: [EMAIL PROTECTED]
&
I don't see the problem I can run the script with one issue that the
comments are outside of PHP parsing.
The other issue is that you are closing off for PHP but not opening up
in the second block!!
** what are you errors exactly!! are they notices about variables???
Timothy Hitchens (H
Give this a go.. for each of the databases use:
SHOW TABLE STATUS FROM xx;
That will return a huge amount of size etc data!!
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Denis L. Menezes [mailto:[EMAIL PRO
Hmm that is strange... chmod it after then:
http://www.php.net/manual/en/function.chmod.php
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Ben Cheng [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, 12 January 2003 2:5
I haven't seen a way to get the size of an individual record.
What about using the max size of the fields in that table against number
of records eg:
255 char = x bytes etc etc = 156KB per record max
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -
So you want to remove only the unparsed/raw php script blocks.
Why... are you displaying PHP without parsing??
If this is the case you can write a couple of very simple preg_replace
with a call
back and all is done.
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED
You will need to break apart the entire document then process each area
inside of the
tags and to be very careful for nested tags.
The simplest way around I have found to do with is to add to tags that
have been processed
with attributes that are ignored by the browser renderer eg... PHP
as you ca
Did you use the umask(0) prior to the mkdir() in your script??
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Stephen [mailto:[EMAIL PROTECTED]]
> Sent: Monday, 13 January 2003 9:09 AM
> To: [EMAIL PROTECTED]
&
Hmm from your code below:
FROM users WHERE 14 = '$0'"
What is "14" it isn't a field I would hope!!
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Steven M [mailto:[EMAIL PROTECTED]]
>
You can't use numbers as vars:
$1 etc are illegal syntax for PHP
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Steven M [mailto:[EMAIL PROTECTED]]
> Sent: Monday, 13 January 2003 10:04 AM
> To: [EMAIL PRO
It is viewable from the script only not the outside world eg the visitor
to the website
unless you output it.
Also you are better offer having your vars set by methods from a
constructor then you can
do what you just showed below.
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail
Who owns the htdocs root (I know it is Windows) when you right click you
should should see sharing/security.
Do you if not what OS Ver are you using?
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Stephen [mailto:
I would suggest that in your script it is using a font for a GD
operation
and you need to make sure that PHP know's how to find that font.
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Breno Cardoso Perucchi [ma
If you are using Unix simply call out the shell using back ticks `mv xxx
xxx` or check out.
http://www.php.net/manual/en/function.exec.php
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Alex Ciurea [mailto:[EMAIL PRO
Do this for me:
print_r($GLOBALS);
and see if you have the $_SESSIONS array visible.. you will need to view
the output
in a text editor as the print_r won't look good rendered in the browser.
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original
So you have tried as per the manual:
header("Content-Disposition: attachment; filename=downloaded.pdf");
I use this all the time without issue.. do you have a shell that you can
use to "wget -S" and see if the correct headers are coming out??
Timothy Hitchens (HiTCHO)
Open
What happens when you change the "inline" to attachment??
Also does this page have any errors in it... eg parsing ones that are
causing PHP to take over the headers and error out??
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
> -Original Messag
Use the correct headers for no-cache see manual for starters:
http://www.php.net/manual/en/function.header.php <http://www.php.net/>
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
-Original Message-
From: Stephen [mailto:[EMAIL PROTECTED]]
You are using singles ' then you are doing "". and it should be "" '.
etc
Try:
printf('Fotografía%s ', $i);
Timothy Hitchens (HiTCHO)
Open Source Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Ezequiel Sapoznik [ma
This is because you are at the beginning and you need to have some logic
to not display the previous if at beginning.
Timothy Hitchens (HiTCHO)
Open Source Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Miguel Brás [mailto:[EMAIL PROTECTED]]
> Sent: Wedn
You will need to read the file into an array using file() then
join/base64/split and then setup the right headers to attach the mime
encoded attachment.
Timothy Hitchens (HiTCHO)
Open Source Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: [EMAIL PROTECTED] [
Now what is the output if you do this outside of the function after
registering a session var??
Timothy Hitchens (HiTCHO)
Open Source Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Duncan Abbott [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 16 January 200
This can be achieved by using image features of php to get the size then
rewrite
your html or use JavaScript to do the same.
Timothy Hitchens (HiTCHO)
Open Source Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Ezequiel Sapoznik [mailto:[EMAIL PROTECTED]]
SELECT first_name AS first FROM clients
As you can see the first_name field will now be accessable as first.
Timothy Hitchens (HiTCHO)
Open Source Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Paul Marinas [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 17 Jan
I don't use postfix but as far as I know it is a drop in replacement and
you should just change the entry in php.ini
look for:
; For Unix only. You may supply arguments as well (default: "sendmail
-t -i").
;sendmail_path =
Timothy Hitchens (HiTCHO)
Open Source Consulting
It runs when you fix your (removed URL's and line endings) what is it
not doing?
Timothy Hitchens (HiTCHO)
Open Source Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Edson Waite [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, 18 January 2003 11:09 A
Please send plain text to e-mail lists NOT html:
Hmm now let me think:
http://www.hotscripts.com/
Timothy Hitchens (HiTCHO)
Open Source Consulting
e-mail: [EMAIL PROTECTED]
-Original Message-
From: Stephen [mailto:[EMAIL PROTECTED]]
Sent: Saturday, 18 January 2003 11:40 AM
To: PHP
This would do it:
Timothy Hitchens (HiTCHO)
Open Source Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Leif K-Brooks [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, 19 January 2003 12:36 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Changing order of just
1 - 100 of 133 matches
Mail list logo