On 11/11/2010 02:14 PM, Didier Gasser-Morlay wrote:
On 11/11/2010 12:04 PM, Richard Quadling wrote:
On 11 November 2010 00:46, Al wrote:
Briefly, what are the trade offs on a typical shared host?
I've done a little research and can't seem to find anything outstanding
either way.
Seems like a
Ahmed Saad wrote:
On 23/06/06, cajbecu <[EMAIL PROTECTED]> wrote:
$data .= "".ord(substr($string,$i,1)).";";
and I think there's no need for substr.. just
$data .= "".$string[$i].";";
/ahmed
And, for the record, you are not converting a string to ASCII, rather an
ASCII string to
tedd wrote:
Hi gang:
Please excuse me for asking another dumb-ass question, but here goes.
I'm finding that setting safe_mode to ON is more difficult than I first
thought.
In my phpinfo, safe_mode is set to OFF
However, if I try to set it to ON in my ".htaccess" such as:
php_value safe_
GI
(and i'm sure other ways as well, but ive only personally done it this way)
It makes it very easy to selectively downgrade (or upgrade) depending on
your needs without having to jump through file-naming hoops or proxy ports,
etc...
On 5/19/06, John Hicks <[EMAIL PROTECTED]> wrote:
Just a quick sanity check from a php4 user who's thinking of trying php5:
With PHP3 and PHP4 (I thought) you could install both Apache modules and
invoke them on a page by page basis based on the extension you assign
them in Apache ( .php v. .php4 for example).
Are you all saying you can't do
Stut wrote:
John Hicks wrote:
Robert Filipovich wrote:
Looks like all of these are happening.
The description for Event ID ( 2000 ) in Source ( php ) cannot be
found. The local computer may not have the necessary registry
information or message DLL files to display messages from a remote
to report mysql errors? (Display
your sql statements while you are at it.)
I posted the (GNU open) source here:
http://johnhicks.org/statusimage.phps
in case someone else on the list would care to look.
--J
On 5/18/06, *John Hicks* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>&g
Jay Paulson wrote:
I have an object from using simpleXML and inside that object is an array
holding even more objects. However, it's not acting like an array and
therefore I can't go through it. (i.e. I can't use the count function to see
how big it is and loop through it)
This below should be
ide on the MySQL stuff.
I will see what I can find in the log.
/Robert
On 5/18/06, *John Hicks* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
John Hicks wrote:
> Robert Filipovich wrote:
> > I am using a chat
John Hicks wrote:
Robert Filipovich wrote:
I am using a chat program and trying to call the status page from another
server and the graphic that the page returns does not show up.
It works if you are calling from the webserver that the chat program is
working so i feel it is some type of
Robert Filipovich wrote:
I am using a chat program and trying to call the status page from another
server and the graphic that the page returns does not show up.
It works if you are calling from the webserver that the chat program is
working so i feel it is some type of config problem or securit
Ryan A wrote:
Hey,
Heres my setup, I have a directory full of files and I
get a request with an array of filenames
For this example:
a.txt
b.txt
c.txt
if the above files dont already exist I need to create
them (I am using touch() instead of fopen())
My question is which would you recommend, do
Jay Blanchard wrote:
I have been searching, but does anyone know of a BDC to ASCII conversion
tool for PHP right off the top of their head? If not, I'll have to write
one
I haven't heard of BDC. Did you mean BCD (binary coded decimal)? Or
possibly EBCDIC? (What platform is this data coming
blackwater dev wrote:
On 5/11/06, *John Hicks* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
blackwater dev wrote:
> would like
> to put the search form somewhere else on their site (it is
currenly all on
> my page within the iframe) and t
Schalk Neethling wrote:
Chris wrote:
Schalk wrote:
Chris wrote:
Chris wrote:
actually if it's only one variable, this might do it for you:
$content = str_replace('', _root, $content);
but that's still a bad way to do this.
Chris,
This works:
$breadcrumb = $row_pathway['pathway'];
blackwater dev wrote:
would like
to put the search form somewhere else on their site (it is currenly all on
my page within the iframe) and then call their search page to do the
search,
(This is an html/DOM thing, not PHP.)
That's what the 'target' property of the tag does: the response
from
Spam has suddenly swamped the PHP mailing lists.
(Some of you may have better filters than I and not noticed it.)
Apparently the list had been moved to a new server and it hasn't been
configured properly yet.
I fear many will unsubscribe and the list will lose much of its utility
if it's not
John Wells wrote:
Personally, I get tired (and confused) when having to escape all of
those quotes like in the string you're trying to echo above. Perhaps
you'd consider HEREDOC as an alternative approach:
Here's n idea I've had and never expressed publicly before. I wonder if
some of you hav
darren wrote:
> I have a form that resides within a php function(). And, I would like
> to call a javascript function from an "onChange" event of a
> tag (a drop down list box).
>
Your page's problem is entirely a Javascript problem. Has nothing to do
with PHP:
Try moving the "onchange" from
Weber Sites LTD wrote:
Hi
I'm looking for the RegExp that will split a search string into search
keywords.
while taking " " into account.
From what I managed to find I can get all of the words into an array but I
would
like all of the words inside " " to be in the same array cell.
You wa
René Fournier wrote:
Simple problem: Many client apps need to send data to a server.
By default each client will open a persistent TCP socket connection to a
common IP address:port (10.10.10.10:1234) and write to it (which the
server will save/log, etc.).
My question is, what should be ready
CK wrote:
> Hi,
> On Apr 22, 2006, at 1:26 PM, John Hicks wrote:
>
>> CK wrote:
>>> Hi,
>>> I've been commissioned to design a web application for auto parts
>>> sales. The Flash Front end will communicate with a MySQL DB via PHP.
>>> In add
CK wrote:
Hi,
I've been commissioned to design a web application for auto parts sales.
The Flash Front end will communicate with a MySQL DB via PHP. In
addition, PHP/XML should be used with a client-side Web GUI to upload
images, part no., descriptions and inventory into the DB; a Product
Ma
Jay Paulson wrote:
I have no idea if this is possible or not but is there a way to run Apache,
PHP, and MySQL from a CD? I'd like it to be possible to run it on Windows,
Mac OSX and *nix. If it is possible could someone point me in the right
direction?
Thanks!
XAMPP is a distribution of Apa
David Doonan wrote:
On Apr 8, 2006, at 11:24 AM, John Hicks wrote:
So your solution is this: Include a PHP variable in your SQL query to
specify which author you want to select.
You probably want something like this:
WHERE
Author.Author_Name = Writings.Author_Name
AND
Author.ID
kmh496 wrote:
hi,
my webroot is
/a/b/current/
i am in /a/b/current/d/file.php
file.php has a line
require_once ($_SERVER[document_root]."/d/common.php");
common.php has a line which says
require_once ($_SERVER[document_root]."/_common.php");
// main include file for whole site
it send
kmh496 wrote:
> 2006-04-08 (토), 18:20 +0900, kmh496 쓰시길:
>
>>hi,
>>my webroot is
>>
>>/a/b/current/
>>
>>i am in /a/b/current/d/file.php
>>
>>file.php has a line
>>
>>require_once ($_SERVER[document_root]."/d/common.php");
>>
>>common.php has a line which says
>>
>>require_once ($_SERVER[document
David Doonan wrote:
I'm having trouble getting the correct results on a display page.
The first query is pulling the name of active authors from the d/b and
sending a request to only return essay titles by the requested author.
The list page however is displaying essay titles by all authors.
e date and time in the error messages?
Thanks,
John Hicks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
My RHES4 configuration omits the timestamp when generating a PHP error
message in the (Apache) error log.
But regular apache errors *do* have a timestamp.
Is this normal?
How can I get the timestamp for the PHP errors as well?
Thanks,
John
--
PHP General Mailing List (http://www.php.net/)
T
I'm trying to install and configure PayPal Website Payments Pro using
the PayPal PHP SDK.
The first step in the SDK Quickstart instructions is:
Enable Apache modules and APXS (Apache Extension Tool)
In your Apache root directory, run:
../configure ?enable-mod=so --with-apxs /usr/local/apache/bin/
Dave wrote:
PHP List,
The Situation:
I am building a content management system where users can, among
other things, upload images into a directory.
The Problem:
The image uploads fine, but once it's there, it can't be over
written. So if a user uploads an image, and then changes his
Michael Sims wrote:
Richard Lynch wrote:
Brian A. Anderson wrote:
[...]
I am thinking of incrementally adding the resultant hits into two
associative arrays with the link to the data and a calculated
relevance value, and sorting this array by these relevences.
[...]
One Axiom:
Chris Bruce wrote:
Hi,
I am looking for a way to write to a file what the browser would see
(raw html) when viewing a dynamic PHP page. I have numerous include
files, MySQL db queries, loops etc. and I want to generate the static
result of that file and save it as an html page. I have toyed a li
Santa wrote:
MySQL don't know what is "UNION"
http://dev.mysql.com/doc/mysql/en/UNION.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Kelly wrote:
I am having trouble with PHP 5.0.3. I am running Apache 1.3.29. I am
running Solaris 9 x86 on an Intel box.
I get no errors when I start Apache. I get no errors when I run
configtest.
My problem is mail() does not work. It does invoke sendmail as there
is activity in sendmail
Ewout de Boer wrote:
I'm getting unexpected data from my file_get_contents function using an url
as filename.
The function does not return false, i do get data from it. Problem is that
is is not the data is requested.
$data =
file_get_contents("http://somehost.com/xmlonl.asp?custid=00&prodid=0
Steve Marquez wrote:
I am trying to insert information into the database, have it automatically
place an ID Number, then update that particular record and replace the word
"delete" with the link.
The "mysql_insert_id()" does seem to be working. It does put in an id number
of "0" However, the code i
t; the world. And, of course it has to be in PHP- what
> other language is there?
>
> Thanks again,
>
> Ian
>
> -Original Message-
> From: John Hicks [mailto:[EMAIL PROTECTED]
> Sent: 05 July 2004 18:01
> To: I.A. Gray; Jose Leon; [EMAIL PROTECTED]
> Subject:
On Monday 05 July 2004 07:33 am, I.A. Gray wrote:
> Thanks- looked at Squirrel Mail. Looks really good,
> however we use POP3- I don't think Squirrel Mail
> uses POP3 does it?
Most if not all web-based mail clients use IMAP since a
web-based (i.e. browser-based) client can't store the
received
ull host name
returned ($hn).
How are you deducing that you are getting different
results based on the user's browser?
Are there firewalls or web proxies involved? This could
account for getting conflicting IP addresses for the
same user reported by the browser (via Javascript) and
server
ory.
Hope this helps.
John
---
John Hicks
Gulfbridge, Inc.
"Putting the Web to work for your business."
http://gulfbridge.com
561-586-8116
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Monday 10 November 2003 08:07 pm, Stephen Craton
wrote:
> I have a database which keeps some normal files in
> LONGBLOBS. I then call up a file called download.php
> to retrieve the file from the database, echo out
> it’s contents, and it’s type, and all that so they
> download it.
> However,
On Monday 10 November 2003 07:32 pm, Jason Williard wrote:
> I would like to have a script that randomly
> generates alpha-numeric characters. Does anyone
> know of any scripts that can do this or perhaps the
> basic code to generate random characters?
>
> Thank You,
> Jason Williard
How about th
, you bypass PHP. (When you installed
Dreamweaver, it probably configured Winduhs to invoke
DW whenever you open a .php file locally.)
Hope this helps.
Regards,
(Another) John Hicks
On Sunday 05 October 2003 01:28 pm, John Hicks wrote:
> Hi list,
>
> I have just installed PHP4.3.3-W
Hi list,
I have just installed PHP4.3.3-Win32. I have a book that said create a
phpinfo.php ( ) file and place it in my Apache 2 htdocs
file. I did this and when I run it opens in a blank page of DreamweaverMX.
I tried to "open with" Internet Explorer and it does nothing.
My question is what fi
On Saturday 27 September 2003 02:43 am, ascll wrote:
> Greetings,
>
> I'm newbie in php and I would like to develop a .php
> page that constantly retrieves data from MySQL
> database, but I having difficulties to doing so.
> Please show me the complete code, if possible.
This has nothing to do wit
Dennis--
You might get a more authoritative answer from the mysql
"general discussion" list at:
http://lists.mysql.com
--John
On Monday 25 August 2003 12:59 pm, [EMAIL PROTECTED]
wrote:
> Hello,
>
> I program for a website that gets massive loads of
> traffic. Optimisation has become an impor
Simon--
Why not follow the KISS approach? Generate the GET or POST
directly from the client. No PHP or server-side processing
needed.
--John
On Friday 25 July 2003 10:09 am, Simon Fredriksson wrote:
> I'm making a search-engine script for my site that
> redirects users to other search engines
There is no reliable way for the server (Apache, PHP, etc)
to know when a user closes a session by closing his browser
window. That's one reason why session-management sytems
always employ a timeout on sessions. I don't know what the
default timeout is for the PHP session-management system,
bu
Merry--
No, it's not working.
Does your Apache httpd.conf file load the PHP modules?
Try changing your tags from to
Try a page that contains only this one line:
Good luck.
--John
On Sunday 15 June 2003 01:09 am, Khoo Merry wrote:
> I'm using windows me, server apache 1.3 for php.
> I had
Hi Justin--
I've been wrestling with a similar problem.
You say:
> I'm considering:
>
> a) storing this data in a MySQL table (a fairly simple
> query) b) storing this data in a pseudo XML format like:
>
> 24
> Justin French
> [EMAIL PROTECTED]
> 2003-11-28
> This is my intro
> This is my text an
On Friday 13 June 2003 03:00 pm, you wrote:
> On Saturday 14 June 2003 02:19, Jacob Marble wrote:
> > Amen; machine-translators are no good for something
> > that you don't want confused.
> > ie- english "season" could be "sazon" or "estacion" in
> > Spanish, which mean two different things.
>
> Ne
PHP is extremely easy for an experienced programmer to pick
up quickly (assuming you know the basics of tcp/ip and web
architecture).
But experienced programmers also know the importance of the
KISS principle. Why rewrite a system when you can port it?
Kylix allows you to use Delphi on Linux.
On Tuesday 25 March 2003 09:02 am, "skate" <[EMAIL PROTECTED]> wrote:
> leaving the connection open creates security questions,
> and also leaves resources open, what if a user closes his
> browser window, how do you know to close the connection?
So are you saying that persistent connections [ i.
$result = mysql_query($sql) ;
^
while ($rec = mysql_fetch_object($results))
^
On Saturday 22 March 2003 11:56 pm, you wrote:
> Hi,
> I'm writing an academic paper detailing how my
> bibliographic database works.
>
> $myinput = mysql_query($sql) or die(print " color=red>".mysql_error().""
56 matches
Mail list logo