David,
I don't have my system set up right now as a development machine at the
moment but I did find a couple leads on this. You may have already seen
these. I hope these are of some help to you. I just did a google on " php
windows script host".
http://wezfurlong.org/blog/2004/jul/phpscri
Yes, looks valid to me. Is it giving you an error somewhere?
Here is the code I was testing with:
'000',
'width' => apply_filters( 'twentyeleven_header_image_width', 1000) ,
'height' => apply_filters( 'twentyeleven_header_image_height', 180 ),
'flex-height' => true,
'random-de
Yes, I believe your understanding is correct... This is my understanding as
well.
In line 1 below, you are creating a new object and using the class constructor
to initialize $a and $b.
In line 2 below, you are creating a new object, with $a and $b's default
values.
In line 3 below, $a and
Hi everyone,
My apologies for the ad in this mailing list but I'm trying to use all my
resources in my job hunt. I wanted to reach out to you all and see what the
job market was like for PHP Developers in Virginia/Washington DC area. I
have been working with computers for over 20 years and have b
Hi, I'm trying to use the file command to pull the content of a web page. If
I run the script on my local server I get "Page can not be displayed". If I
run the script on my remote web host, it works fine.
It's avery simple script too. Hopely someone can help..
http://www.blizzard.com/";;
$da
I have 2 form fields one is a checkbox and the other is a hidden field. The
checkbox is called "Display_" and gets incremented as the table rows are
built like so.
'Display_'.$rec_count + 1
The hidden field is an array like this: Field[]
The form method is $_SERVER['PHP_SELF']
For some rea
I'm using a shared host for some web applications I'm doing. These
applications (including PEAR) use file i/o functions such as fread(). At the
moment, my shared host has these functions disabled. Since the fread is
disabled it's causing the browser-based PEAR front end not to display the
images a
+ Cats2.Cat + Cats3.Cat)
When I execute this query in something like Navcat 2005 or SQLyog it works
fine. By the way, I'm also using the PEAR DB class.
Any ideas?
Thanks :)
Jim MacDiarmid
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi everyone,
Is there something special that has to be done to read/access LongText or
Blob Fields in a mySql database?
I'm using the PEAR::DB classes. What's the best way to do this? Should I
even be using these data types? I would like to store a lot of text such as
messages and HTML page con
Hi everyone,
I have a very puzzling variable issue going on where I have a function in a
class (Database class) that returns the output of a query from my users
table. In the calling function of another class (session class), I am trying
to assign each element of the received array to a variable
I purchased a copy of the book "Professional PHP4 Web Development Solutions"
and I'm guessing it's been discontiued from their list. I was wondering if
anyone would know how I can get the source code for the book?
Thanks,
Jim
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, vi
Can anyone provide recommendations? I currently have a plan with
http://www.webhost4life.com however I'm becoming quickly unhappy with them.
Sometimes I wonder if they have the janitor doing tech support. I'm looking
perhaps going with http://www.1mb.com/Hosting.html
but I was wondering if t
Hi everyone,
I'm not sure if the software I'm looking for exists, but I was wondering if
there is a PHP IDE or utility program that has the functionality to
read/index php and html files in a website, and display and/or print a
graphical map or relationship diagram of all files based on include o
Hi everyone,
I'm kinda working on a limited budget and wondered if someone could offer
some tips, pointers, ideas toward my project. I'd like to write my own
Classified Ads content management system initially for free usage however I
would like to eventually use it as a commercial service. Anyo
Is there a way to programmatically add timed redirection to a page? I have
a page with a form on it. Once it's submitted and the data is updated in
the database correctly, I'd like to present a status page then wait for say
3 seconds before redirecting them to some other URL.
I know you can do
t
Subject: [PHP-WIN] Re: Design Assistance
Jim MacDiarmid wrote:
> I'm hoping someone can help me with some design thinking.. I'm still
> fairly new to php and most of my scripts are written in a rather
procedural
> format. I'd like to try start thinking in a more object-o
I'm hoping someone can help me with some design thinking.. I'm still
fairly new to php and most of my scripts are written in a rather procedural
format. I'd like to try start thinking in a more object-oriented way. The
piece I'm working on is rather simple but I'm not sure how to arrange
things
ly response, but did you try the "flush()" command?
> >
> > There's also a setting in the PHP.INI:
> > output_buffering = Off
> >
> > Also check the Output Control Functions:
> > http://us4.php.net/manual/en/ref.outcontrol.php
> >
> &
gt; Also check the Output Control Functions:
> http://us4.php.net/manual/en/ref.outcontrol.php
>
> Hope this helps!
>
> -TG
>
> > -Original Message-
> > From: Jim MacDiarmid [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, September 02, 2004 11:31 AM
> >
As a matter of fact, I have tried that. With no success, I might add. I've
also tried the ob_implicit_flush with no success.
Jim
-Original Message-
From: Gryffyn, Trevor [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 1:24 PM
To: [EMAIL PROTECTED]
Cc: Jim MacDi
Hi everyone,
I've been searching for info to help me troubleshoot an issue I'm having
with displaying output to the console during script processing, but I'm not
having much luck. I'm hoping someone can shed some light on this or point me
in right direction.
I have a foreach construct that loops
Jim
-Original Message-
From: Manuel Lemos [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 01, 2004 2:27 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Re: Php5 merging with Java???
Hello,
On 09/01/2004 02:06 PM, Jim Macdiarmid wrote:
> I've been reading the latest articles abo
Sent: Wednesday, September 01, 2004 2:53 PM
To: Jim MacDiarmid
Subject: Re: [PHP-WIN] Php5 merging with Java???
Could you please be so kind as to tell me where exactly you read that PHP is
not going to be Open Source any more?
Thanks
Christian
- Original Message -
From: "Jim MacDiarmi
Hi Paul,
Yes, that is the article that I saw. One of them anyway. Thank you for
sheding some light on that.
Jim
-Original Message-
From: Paul Menard [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 01, 2004 2:29 PM
To: Jim MacDiarmid; [EMAIL PROTECTED]
Subject: Re: [PHP-WIN
I've been reading the latest articles about the future of PHP and based on
the way I am understanding it, I'm getting the impression that PHP will not
be free or open source. I'm interested in getting other PHP developer
options and/or clarification of this direction. What is this going to do to
t
Hi everyone,
I have a link on a page and I would like to present dynamic list of names in
graphical popup "window" ( and I use this term loosely) at the cursor
position when a mouseover or the link is done. I don't want a "browser"
window to popup but rather something like resembles a floating s
Hi everyone,
I'm a little, well... Ok.. maybe a lot confused on errorhandling in PHP.
I'm not sure how custom errorhandling works and I'm hoping someone can help
me or point me in the right direction.
Here is a little background on the project. I've been asked to do a single
dynamic page whic
trying to be as efficient as possible.
:-)
Thanks,
Jim
-Original Message-
From: ? ??? [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 10, 2004 11:10 AM
To: Jim MacDiarmid
Subject: Re: FW: [PHP-WIN] Passing arrays by reference
Здравствуйте, Jim.
Вы писали 10 августа 2004 г.,
AIL PROTECTED]
Sent: Monday, August 09, 2004 5:52 PM
To: Jim MacDiarmid
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] Passing arrays by reference
On Mon, 9 Aug 2004 17:28:40 -0400, Jim MacDiarmid
<[EMAIL PROTECTED]> wrote:
>
> Hi everyone,
>
> I've seen several examples of
Hi everyone,
I've seen several examples of passing arrays by reference such as the
following:
$a = array();
function foo(&a)
{
for ($i=0; $i < 10; i++)
{
$a[$i] = $i;
}
}
foo($a);
echo "";
print_r($a);
echo "";
However, when I try this on my setup, it
[ Exerp from PHP manual pages on website:
"Warning Do not use Apache 2.0 and PHP in a production environment neither
on Unix nor on Windows." ]
Can anyone tell me what this means? This is the only warning I see.
Thanks,
Jim
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscr
Hi everyone,
I'm interested in taking the next step and learn templating. I've been
toying with one called patTemplate, however I'm a little confused by it. I
understand the concept, but I'm having trouble getting things to flow
correctly. Logic such as how to process forms, etc. I was wondering
I know this should be a simple task, but why does it seem so convoluted
in trying to get the current folder I'm in.
I want to be able to get the base folder such as:
/docroot/subfolder/
- or -
http://serverhostname/subfolder/
Not sure what the appropriate way is to do this.
Thanks,
Jim
--
Why is it that the following scenerio will pass the session id
/* SessionStart.php */
/* Page1.php */
Echo SID;
/* Page2.php */
Echo SID;
However the following scenerio will not pass the session id Or
atleast
I can't seem to get it to work.
/* Page1.php */
Echo SID;
/* Pag
I'm working with Apache 2.0 and MySQL 4.0.. I'm trying to tune the
performance of my site. I was wondering if there was a way to grab an
existing open persisent DB connection instead of opening a new one
unless it's needed?
Thanks in advance,
Jim
--
PHP Windows Mailing List (http://www.php.net
I'm attempting to use this method and I'm getting an undefined method
error. Anyone else getting this or having any luck with it?
Thanks,
Jim
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I seem to be having trouble with including files into my pages. I like
to structure my site into folders so that I can keep the root folder
relatively clean and only necessary files go in there. For example:
\DocRoot\
\folder1\
\folder2\
\folder3\
-- etc --
I've n
Hi everyone,
I think I'm having some issues with page/form caching and I'm not sure
how to turn it off just for the current page, or if that is the proper
thing to do. When I click submit on the form, the page redisplays
however it doesn't seem like any processing is taking place. This is how
I've
Can anyone shed some light on these two? Pros and Cons, etc. I've just
ran across an article that mentions that PHPLib is the "defacto"
standard. I've recently started using the PEAR::DB in a web application
and I'd like to make sure that I'm working with something that is
reliable. Can anyone gi
Fellow PHP list members,
I'm hoping you can share your knowledge and help me. I'm incorping the
PEAR:DB module into my scripts and I'm running into a situation. To
make a long story short.. I basically have 2 files. Index.php and an
include file I'm calling db_functions.php which I'm creating
I was interested in seeing if anyone has a favorite way of structuring
their PHP pages? For instance, I found one example where pages were laid
out as follows:
Everything was based off of index.php and parameters were submitted
through the hidden fields or through an action variable on the url
que
Hi folks,
I'm looking for some opinions on the best way to do time date
comparison. For example, I have a log file and I'd like to retrieve all
records or the top 15 records within the last day or within the last
hour. Any recommendations? I was considering splitting Date and time
into 2 fields b
I'm getting the above error when either attempting to print or assign
the value of a array element to a variable, after using preg_match().
=== Watch for text wrapping ===
$URL_Filter =
"/\s+Trav[0-9]\.([a-zA-Z0-9\:\/\/\.]+)\.\.[a-z0-9]+\sHAS\s([0-9]+)\sspac
es?/";
foreach ($outArray as $line){
Could someone shed some light on this for me? I'm trying to capture the
URL and the Numerical count from the following line:
Trav2.http://travelersnetwork.net/Nick/HoneyIsland.dsv..fd287747 HAS 0
spaces
This is what I'm using as a regular expression and it's results
\s+Trav[0-9]\.(http://[^\s]+
Hi Everyone,
I'm still very new to this regular expression thing and I'm hoping
someone can offer some help. I've been able to match parts of this but
now I'm at a loss. A little background on this. I'm running a console
EXE tool to generate some output to display currently logged in users in
all
Can anyone recommend where I might be able to get some "Regular
Expression" assistance? I'm very new to "Regular Expression". I've read
some of the info I've found on the web, and have a few books that I've
read, however I'm at a loss and confused as heck. I'm hoping someone
would be able to shed s
I'd like to have php support multiple sites, is it possible to have
multiple doc_root directives in the php.ini?
Thanks,
Jim
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Everyone,
Please forgive me.. I know this isn't an Apache mailing list, but I'm
hoping someone can point me in the right direction. I need direction on
setting up Virtual Hosting on a Win2K box with Apache 2.0. I have a
single IP and I need to serve mulitple sites on the same computer. I'm
new
Here is what I'm doing:
I'm issuing a DOS command on a Windows platform using the backtick mark
(`command`) and getting output from it. That works fine. Now my problem
is parsing the string that gets returned.
I've tried using the preg_match and preg_match_all commands to filter
the information I
For some reason, the first time I attempt to access a form variable or
global variable PHP does not seem to think it's defined. For each one
that shows an "undefined" error, I've had to put the following code at
the beginning of the script. Should I have to do this?
I have the register_glob
In ASP/IIS 5.0, there is a way to have a custom error page displayed
that will show current environment variables, etc. Is there a way to do
this with PHP/Apache 2?
Thanks in advance,
Jim
Can anyone help out a newbie or point me in the right direction on
properly debugging php code? I'm really having a rough time with this,
and things just don't seem to be working the way I'm expecting them to.
I'm trying to study this by using the "Teach yourself php, mysql, and
apache in 24 hour
Hi everyone,
I'm new to working with PHP (coming from a ASP/VBScript background) and
I'm currently reading the book "Teach yourself PHP, mySQL, and Apache in
24 hours". The following code from the code from the book seems to be
causing an "undefined variable" error when run. Would any one be ab
53 matches
Mail list logo