> Well, unless you have set your server up to execute PHP or CGI scripts in
> .html files, which is a very bad idea, the only thing you need to worry
> about is client-side scripting. You could just filter out all
> tags if client-side scripting isn't important for your
> application...
That'
Edward Vermillion wrote:
Bruce Gilbert wrote:
Hello,
I have a form on my site
http://www.inspired-evolution.com/Contact.php
produces this error on submission
Parse error: parse error, unexpected T_STRING in
/hsphere/local/home/bruceg/inspired-evolution.com/Thankyou.php on line
35
Well.. i
$id = $_GET['id'];
$query = "SELECT * FROM myPhotos WHERE photoId='$id'";
$result = mysql_query($query);
$row = mysql_fetch_assoc($result);
$im = imagecreatefromstring($row[photoData]);
$size = getimagesize($im);
header('Content-Type: image/
timothy johnson wrote:
$id = $_GET['id'];
$query = "SELECT * FROM myPhotos WHERE photoId='$id'";
$result = mysql_query($query);
$row = mysql_fetch_assoc($result);
$im = imagecreatefromstring($row[photoData]);
$size = getimagesize($im);
hea
Hi List!
I'm writing an open source PHP application which uses (connects to) Unix
sockets. To that means, I'm using the fsockopen function.
However, when reading the fsockopen documentation on php.net and being
referred to Appendix N, it seems clear that one should use the notation
"unix:///path/
Hi all, new to the list, and a bit of a php cluebie.
I know I'll omit some details that you'll need, so tell me what you need to
know.
I've been happily running mod_php4 (4.4.0) with apache 2.0.52 on FreeBSD 4.9
for quite some time, no problems. Today I tried to install phpBB from
/usr/ports/w
On 7/15/05, Mark Rees <[EMAIL PROTECTED]> wrote:
> Hello
>
> Sorry for the OT request.
>
> Does anyone know of anywhere I can get my website picked apart from a
> usability point of view? I'm thinking of general first impressions rather
> than an in-depth review of functionality.
>
> Thanks
>
>
On 7/14/05, Computer Programmer <[EMAIL PROTECTED]> wrote:
> Is there a PHP built-in function to retrieve only the alphanumeric
> characters from a given string?
>
> I know that I can check for alphanumeric characters using the
> function ctype_alphanum () but it won't retrieve the alphanum charac
Thanks mate, works perfectly now.
-Ryan
On 7/16/2005 4:49:30 AM, Richard Davey ([EMAIL PROTECTED]) wrote:
> Hello Ryan,
>
> Saturday, July 16, 2005, 3:53:16 AM, you wrote:
>
> RA> in the beginning if the height is more, then its resizing
> RA> perfectly...but if the width is more I want to cut out
I have a problem to record session data and I would you
help me. I suppose there's something I missed in the general
configurations during the last install, but I can't realize it.
I arranged a couple of simple files handling sessions, to show you my
problem.
I have a file index.php :
---
I forgot to write that:
- my config is Win2000/php 4.4.0/apache 1.3
- Session files are correctly created and information stored therein.
Then there a trouble in reading such files, since when I call a session
variable, the content is not displayed.
So what to do?
Alessandro
Chris wrote:
Jochem Maas wrote:
Chris wrote:
Hi,
I've got a collection of Element classes (about 8 different ones).
They are all subclasses of a single parent element. I'm trying to
extend their functionality (both the individual classes, and the
parent class they inherit).
I can extend
Brian V Bonini wrote:
On Thu, 2005-07-14 at 12:09, Adam Hubscher wrote:
My questions are this:
A) Is there any way to set the permissions on the file on creation of
the image?
Set umask 002 on the user php is running as.
or set the perms correctly on the relevant dir and turn the stickyb
It was due to my firewall. Highest level protection stopped any cookie
to be read. So, once realized, everything re-started to work as usual.
Alessandro
Hi Liang,
trying to get conclusive results with browsers is futile. Use a command-line
tool (like curl) to invoke the web pages and get the results. Or you can use
PHP's own function to query the web server and do your own timing with
microtime() function or another suitable for your purposes.
On 7/16/05, rouvas <[EMAIL PROTECTED]> wrote:
> Hi Liang,
>
> trying to get conclusive results with browsers is futile. Use a command-line
> tool (like curl) to invoke the web pages and get the results. Or you can use
Although personally I think that telnet-to-port-80 would be a better
idea, in th
Thanks guys. I am on a Mac and have BBEdit light, which is not too
great for PHP editing, from m experience.
On 7/16/05, Burhan Khalid <[EMAIL PROTECTED]> wrote:
> Edward Vermillion wrote:
> > Bruce Gilbert wrote:
> >
> >> Hello,
> >>
> >> I have a form on my site
> >> http://www.inspired-evoluti
On 7/16/05, Lauri Harpf <[EMAIL PROTECTED]> wrote:
> > Well, unless you have set your server up to execute PHP or CGI scripts in
> > .html files, which is a very bad idea, the only thing you need to worry
> > about is client-side scripting. You could just filter out all
> > tags if client-side scr
Dotan Cohen wrote:
On 7/16/05, Lauri Harpf <[EMAIL PROTECTED]> wrote:
I've been thinking of limiting this problem by preventing the direct
displaying of the code (ie. only allowing "Save As.." for the link to the
user-submitted HTML). I guess a bit of JS could prevent accidental
left-clicking on
André Medeiros wrote:
Greetings.
I am trying to trim some text containing HTML tags. What I want to do is
to trim the text without trimming the tags or html entities like
and such, wich completelly break the design.
Has anyone succeded on doing such a thing? phpclasses.org won't help :(
Than
Hello All,
I'm working on session and I'm getting this warning. Maybe someone can
help fixing this problem. Below is the following code.
Warning:
Warning: session_start() [function.session-start]: Cannot send session
cookie - headers already sent by (output started at
/var/www/html/bonham/corners
Thomas Bonham wrote:
Hello All,
I'm working on session and I'm getting this warning. Maybe someone can
help fixing this problem. Below is the following code.
Warning:
Warning: session_start() [function.session-start]: Cannot send session
cookie - headers already sent by (output started at
/var
Jasper Bryant-Greene wrote:
Thomas Bonham wrote:
Hello All,
I'm working on session and I'm getting this warning. Maybe someone can
help fixing this problem. Below is the following code.
Warning: Warning: session_start() [function.session-start]: Cannot
send session
cookie - headers already s
On Sat, 16 Jul 2005, Thomas Bonham wrote:
> Jasper Bryant-Greene wrote:
> > Thomas Bonham wrote:
> >
> >> Hello All,
> >> I'm working on session and I'm getting this warning. Maybe someone can
> >> help fixing this problem. Below is the following code.
> >>
> >> Warning: Warning: session_start() [f
Ok that is some help.
The first five lines of the file are the following.
od -c adminlogin.php | head out put the folowing.
[EMAIL PROTECTED] property]$ od -c adminlogin.php | head
000 \r \n < ? p h p \r \n \t s
020 e s s i o n _
Thomas Bonham wrote:
> Ok that is some help.
>
> The first five lines of the file are the following.
>
>
>session_start();
>require("functlib.php");
>?>
>
> od -c adminlogin.php | head out put the folowing.
>
> [EMAIL PROTECTED] property]$ od -c adminlogin.php | head
>
26 matches
Mail list logo