[PHP] Simplistic PHP tutorial

2004-05-25 Thread Neal
Hi,
I've looked at the php.net tutorial, and though I'm learning some things 
from it, it's still a bit over my head. It seems to presuppose a comfort 
level with programming which I do not have.

Can anyone recommend a simple, hand-holding, introductory tutorial 
suitable for someone with no programming experience to speak of?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Web Printing

2002-06-28 Thread Neal Dewing

Hi all,

Just wondering if anyone came across this "problem" before:

When I print a document directly from my browser, it comes out with the
title on
the top right , page number of the top left, address on the bottom left and
date on the bottom right, Page Headers and Footers

Using IE I can set the page headers and footers under the page setup option.

Header: &w&bPage &p of &P
Footer: &u&b&d

I need some way of disabling / changing this as my clients print reports
that need a proper printout. I need to change it using css / vbscript /
JavaScript ???

Anyone ever worked with this function? I know its not PHP related but im
sure someone came across the problem.

Thanks
Neal


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Execute bash shell script in php

2002-03-10 Thread Neal Dewing

Amit,

$output = shell_exec("./checklist'");
echo nl2br($output);

Works great,

Neal

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] PHP Host with PayFlow Pro

2004-10-01 Thread Neal Carmine
Hello List,

I'm trying to locate a PHP web host, preferably one running PHP 5, that also
supports the PHP payflow pro binaries? Anyone have any recommendations?

Thanks,
Neal Carmine

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] PHP Host with PayFlow Pro

2004-10-01 Thread Neal Carmine
Yes... I tried google but was looking for recommendations, google does not
give you experiences that people on this list may have. Hence the point of
an email list in the first place.

Neal 

-Original Message-
From: Matt M. [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 01, 2004 12:31 PM
To: Neal Carmine
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP Host with PayFlow Pro

> I'm trying to locate a PHP web host, preferably one running PHP 5, that
also
> supports the PHP payflow pro binaries? Anyone have any recommendations?

have you tried google?

http://www.google.com/search?hl=en&lr=&ie=UTF-8&client=firefox-a&q=PHP5+host
ing+payflow&btnG=Search

also, search the mailing list archives

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] url

2004-10-20 Thread Neal Carmine
register_globals is most likely turned off on the new server (as it should
be). do a phpinfo() to see. 

Or change the code to   to use the super
global arrays.

neal

-Original Message-
From: Dan McCullough [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 20, 2004 11:08 AM
To: PHP General List
Subject: [PHP] url

I have this old script I wrote 2-3 years back.  I gets arguments from the
url.  index.php?area=blah
 
The client moved the code to another server and some odd happened.  Nothing
seems to be parsing from the URL anymore.
 
The top code is 
 

HTML
 
THis code no longer seems to work and I am racking my brain trying to figure
out what.



"Theres no such thing as a problem unless the servers are on fire!"


-
Do you Yahoo!?
vote.yahoo.com - Register online to vote today!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] PHP 5 with Apache 2.0

2005-02-14 Thread Neal Schilling
I know this question probably gets asked a lot, but I'm setting up a Web 
Server shortly and am debating going with PHP 5 on Apache 2.0 or 1.3. In 
short, is PHP 5, when combined with either Apache 1.3 or 2.0 on Linux or 
FreeBSD, ready for a production environment? This is, of course, an 
opinion, but back your opinion with as much fact as possible.

Also, if PHP 5 is NOT ready, do you feel PHP 4.3 is ready for production 
with Apache 2.0?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] PHP based project management

2005-05-04 Thread Neal Carmine
Hi,

 

There are a lot of open source project management packages. .Project,
netoffice and others. Does anyone have a recommendation on the best overall
project management software for tracking billable software projects?

 

Thanks,

Neal



Re: [PHP] Got JavaScript error when using PHP's include()...

2004-07-15 Thread Neal Owen
You defined jsTest after the include where it should be before.


On Thu, 2004-07-15 at 16:24, Scott Fletcher wrote:
> When an include file contain plain JavaScript codes, with the echo command
> before and after the include file.  I get the javascript error saying
> "undefined jsTest"...  Anyone know why is that?
> 
> --snip--
> echo "";
> echo "";
>  include('test.inc');
> echo " var jsTest = 0; ";
> echo "";
> echo " 
> --snip--
> function test() {
>   if (jsTest != 0) {
> //blah blah balh...
>   }
> }
> --snip--
> 
> Thanks,
>  FletchSOD
-- 
Neal Owen | IT Programmer
Marketing Resources, Inc.
Main   : 312.238.8923 x1218
Direct : 630.592.3118

[EMAIL PROTECTED] | http://www.mrichi.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Right syntax for max value??

2005-06-14 Thread Neal Carmine
Mysql 3.23 does not support the subquery you are using in your sql
statement.  

Check http://dev.mysql.com/doc/mysql/en/subqueries.html for more
information.

Neal

-Original Message-
From: twistednetadmin [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 14, 2005 9:44 AM
To: php-general@lists.php.net
Subject: [PHP] Right syntax for max value??

I am making a table at my homepage that automatically collects the
latest news from mysql db.
 I have got it to work at my own server at home, but not at
www.torewestre.com (my remote site)

Local settings:(WinXP Pro) Apache 2.0.54, PHP 5.0.4 and MySQL 4.1.11

Remote settings:(Unix) Apache 1.3.27, PHP 4.3.4 and MySQL 3.23.54

This is the query that works on localhost:


$getnewstitle = "SELECT newstitle FROM `news` WHERE news_id = ( SELECT
max( news_id ) FROM news ) ";

What it does:

collects the newstitle from the field where PRIMARY key(news_id) is
the highest auto_increment number.

This works just as excpected on localhost but not on remote.

Does anybody know the right syntax?

-- 
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



Re: [PHP-I18N] International support

2001-02-22 Thread Hironori Neal Sato

(I'm only cc'ing to php-i18n)

On Thu, Feb 22, 2001 at 10:22:37AM -0800, Soma Interesting wrote:
>I'm currently working a project that is intended to handle Japanese 
>character sets - and now I'm told ideally iMode too. :) The iMode isn't 
>such an issue at the moment - but the article below has spooked me a 
>little. At an early point in the project we tested if putting some input 
>into a web form, which ultimately was handled by php then stored in 
>postgres would return fully intact - and it did. This left me comfortable 
>that PHP and Postgres don't seem to care what language they're storing in 
>fields or variables. I'm 'guessing' that this is because the data, whether 
>its English or Japanese is being stored in binary (or something else?). Of 
>course I wouldn't be able to sort the data or do anything else that would 
>require PHP/Postgres to be able to interpret the data. However if I compile 
>Postgres with locals support for the character set/language in question - 
>then postgres will be able to sort Japanese. Is this right?

I haven't touched Postgres in last four years, but I would assume you
are correct.  As far as MySQL goes, you can set locale (actually, 
charset) and sorting Japanese text should work just fine.


>>Since r-newbold.com is in Japanese only, Studio Omame made sure to utilize 
>>PHP's Japanese character set conversion functions. However, this proved to 
>>be a challenge.
>
>Is this available for v4 of PHP yet?

So far, the answer is no.  I have attempted to implement Japanese
extension to PHP4 before, but bumped into few problems.  At that time,
I had to quit working on it since I ran out of my spair time.  But,
we do have someone else working on this issue.  I don't have any
dates though.

For time being, you can check out the latest version 3 that we rolled
out at http://www.php.gr.jp/project/i18n/ .  I have also written
English README at http://www.php.gr.jp/project/i18n/README.i18n_eng.html .
I hope that will get you started.

Hiro

--
Hironori Neal Sato <[EMAIL PROTECTED]>
YYplanet.com - http://www.yyplanet.com/

-- 
PHP Internationalization Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]