I am just recompiling against your config for you to see for myself...
sometimes I find
it helps to compile the cgi or cli version ..eg remove the apxs config
then do a listing
of modules compiled in from the shell...
Won't be long...
Timothy Hitchens (HITCHO)
[EMAIL PROTECTED]
HITCH
What Unix? and Version?
Timothy Hitchens (HITCHO)
[EMAIL PROTECTED]
HITCHO has Spoken!
-Original Message-
From: Jeff Schwartz [mailto:[EMAIL PROTECTED]]
Sent: Saturday, 12 October 2002 9:40 AM
To: PHP List
Subject: [PHP] Mysql not functioning after upgrade to 4.2.3
I just
t; TIA
>
> Phil
>
>
> Phil Ewington
> Technical Director
>
> 43 PLC
> 35 Broad Street, Wokingham
> Berkshire RG40 1AU
> Tel: +44 (0)118 978 9500
> Fax: +44 (0)118 978 4994
>
> http://www.43plc.com
&g
http://www.boutell.com/gd/http/ is a good start!!
Jean-François Marseaut wrote:
> Where can I found last version of the GD library ?
>
--
Timothy Hitchens
Technologist / Entrepreneur
e-mail: [EMAIL PROTECTED]
mobile: 0419 521 440
-
Single around the variable
mysql_query("DELETE FROM product WHERE manufacturer='$hidden_manuf_id'",$bb)
Timothy Hitchens
[EMAIL PROTECTED]
Phil Clark wrote:
> I'm trying to insert the variable $hidden_manuf_id into a mysql_query()
> statement.
>
>
look at the memory limit
setting in php.ini and up it for each script.
Look at loops and see if something is being counted or calculated each
time around if so have it set prior to entry to the loop.
Without seeing your scripts I can't suggest anything wonderfull.
Timothy Hitchens (H
Make a direct call using sockets... eg simulate being a web browser and
use the proxy..
Timothy Hitchens (HiTCHO)
[EMAIL PROTECTED]
Rob wrote:
> hi,
>
> i'm trying to get phpMySetiStats (phpmysetistats.sourceforge.net)
> running on my NT4 box (Apache 2.0.39, PHP 4.2.3
until on of the others in finished... the same is for
downloads using IE ..you can fix this with a reg hack.
Timothy Hitchens (HiTCHO)
Web Application Analyst and Developer
e-mail: [EMAIL PROTECTED]
mobile: 0419 521 440
Juhan Kundla wrote:
> Ühel ilusal päeval [16-10-2002 16:48] kirjutas Jas
Try something for me change the localhost to 127.0.0.1
Also look at the public_html settings for each user...
Timothy Hitchens (HiTCHO)
[EMAIL PROTECTED]
Pushpinder Singh Garcha wrote:
> Hi
>
> I am wanting to use PhpMyAdmin for my project . I am developing using
> PHP and MySQ
ta", $date );
> setcookie ( "$name", "$cookie_data" );
>
> I've also replaced $date with time() and time()+3600.
> $date is set to the standard set forth on Netscape's site.
>
> Any ideas?
>
> thanks,
> John Nichel
>
>
--
Timothy Hitc
well that should include
your cookie informaiton if not you have even a bigger problem.
Timothy Hitchens (HiTCHO)
[EMAIL PROTECTED]
Chris Shiflett wrote:
> John,
>
> Can you see if this works:
>
> header("Set-Cookie: foo=bar");
>
> If not, then check the c
connection has yet to
finish then it would appear to you as the server is slow ... when this
happens next try from another box and you should see no problems.
Timothy Hitchens (HiTCHO)
[EMAIL PROTECTED]
Weston said:
> Whenever I access a PHP script from the web that contains an error (such
>
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
My 2 cents would be use a database and templates then create cached
static versions of
the pages on the first request and then when you need to changes things
it is just a
simple change the template and you a whole new look without the issue of
performance.
Make that 5 cents worth!!
Timothy
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
So you want to be able to have a directory that when saved to it is
really the server well
besides ftp or samba integration into explorer the only other option you
have is to use
webdav with apache and that way it would be a post of sorts to the mod
webdav module in apache.
Timothy Hitchens
.
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
1 - 100 of 141 matches
Mail list logo