[PHP] MySQL Login Setup not working with PHP

2003-02-12 Thread Tim Burgan
I've installed a bundle from ( www.fireworks.com.au ) that includes PHP,
MySQL and Apache all pre-configured.

All is working OK, except that I'm trying to access a table in my database
using the following PHP code:



The problem is that I don't know what my USERNAME or PASSWORD for MyDQL are.
How do I find this information out?

I thought it was in the 'my.ini' file, but with this installation there
doesn't seem to be one.

Alternatively, does anyone know of a very simple tutorial that explains
STEP-BY-STEP of how to install Apache, PHP and MySQL to run on a local
machine.. that even I can understand.

Thanks

Tim Burgan


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




[PHP] secure code

2003-05-27 Thread Tim Burgan
Hello,

I'm wondering if you can recommend any resources that discuss writing secure
code and how to put the best methods in place to prevent hackers.

I'm particularly looking at resources from the web coding perspective, not
securing a server.

Or, what things to you do to 'block' hackers.

Thanks
Tim Burgan


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



[PHP] Planning a new job

2003-06-03 Thread Tim Burgan
Hello,

I'm wondering what processes everyone has before quoting a web programming /
design job?

Do you have a face-to-face meeting with the client?

What questions do you ask?

What information should be found-out about the job?

Do I then go away and draw up a quote? or a quote and a proposal?

Any help would be wonderful, thanks.


Tim Burgan
[EMAIL PROTECTED]


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



[PHP] PHP forms that are valid XHTML

2003-12-30 Thread Tim Burgan
Hello,

I'm *very* new to PHP. I am working through the 'Professional PHP
Programming' book by Worx.

In their forms they use the name attribute (ie. name="example") instead of
XHTML's id attribute (ie. id="example").

If I use 'name' my results display on the next page after the submit
button is pressed, but if I change it 'id' the results do not display.

How can I fix this?

Thanks
Tim Burgan

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



Re: [PHP] PHP forms that are valid XHTML

2003-12-30 Thread Tim Burgan
Thanks for your replies.

The name attribute is depreciated in XHTML for use with the input tag and
has been replaced with the id attribute.

The name element can still be used in the form tag though.

What I'm looking for is something similar to ASP's
GetElementByID("example");

Thanks
Tim Burgan

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



[PHP] How do I write to an XML file

2004-01-12 Thread Tim Burgan
Hello,

I'm wondering if anyone can help me or point me in the right direction
regarding how I can write to an XML file.

I'm new to PHP - I've just figured out how to basically write data to a
text file.

What I want to do is have a user submit data (email address & a question)
via a form that is written to the xml file, then have a  support person
add an answer to the xml file.

Any help would be greatly appreciated.

Thanks
Tim Burgan

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



[PHP] How do I collect the keywords a user entered when searching for my site

2005-02-07 Thread Tim Burgan
Hello,
How do I collect the keywords a user entered when searching for my site?
I want to write some code that will retrieve the keywords entered in a 
search engine that were used to find my site.

Is it possible to also detect what my site's search engine ranking was 
for the entered keywords also?

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


Re: [PHP] How do I collect the keywords a user entered when searching for my site

2005-02-09 Thread Tim Burgan
Hello,
My original post:
"I want to write some code that will retrieve the keywords entered in a 
search engine that were used to find my site."

I found this article [1] was a solution that I successfully implemented.
[1] 
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Delete all files in DIR every 20 days

2005-02-14 Thread Tim Burgan
Hello,
How can I delete ALL files within a specified directory every 20 days?
Does anyone know of any code-snippets that are around at the moment that 
are able to do this? (And where I can find them?)

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


[PHP] Delete all files in DIR every 20 days

2005-02-14 Thread Tim Burgan
Hello,
How can I delete ALL files within a specified directory every 20 days?
Does anyone know of any code-snippets that are around at the moment that
are able to do this? (And where I can find them?)
Thanks
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Re: Delete all files in DIR every 20 days

2005-02-14 Thread Tim Burgan
Jason Barnett wrote:
Please give the list longer than an hour to respond to your request ;)
Thanks for the suggestion.. I've just given the list 6 hours at the moment.
Why do you say this?
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] function to remove all \" from a variable

2005-02-15 Thread Tim Burgan
Hello,
I'm using FCKeditor to edit content on my site.
But the content it produces escapes all the  " (double quote) characters 
from my HTML, and replaces it with \" (backslash-double quote).

Is the a function that I can use to change it back?
Does str_replace() do it.. if so is this how I use it:
str_replace('\"', '"', $_POST['FCKeditor1']);
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] function to remove all \" from a variable

2005-02-15 Thread Tim Burgan
Sorry for clogging up you mail box.
Yes.. str_replace('\"', '"', $_POST['FCKeditor1']) works.
I must've needed to think through my thoughts by typing it out.
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] How do I add PHP code into a DB field

2005-02-17 Thread Tim Burgan
Hello,
On my page, all my content is updated via a textarea online.
If I include PHP code embeded with my HTML in the textarea, the database 
converts it to plain text, instead of code that can be used. It doesn't 
convert < to < though, it's still in the database as <, just when 
it's read out again.. it don't work!

I want to be able to call a random image script in PHP from the content 
that's stored in the DB.

How do I do this?
Thanks
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] html_entities_decode, but ignoring embedding php tags

2005-02-23 Thread Tim Burgan
Hello,
I have a string:
$str = '

This is a paragraph

'; Which I convert using: html_entity_decode(stripslashes($str)); Which result in: This is a paragraph But.. I was the PHP tags to STAY ENCODED like: This is a paragraph How do I do this..? Thanks Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] HOWTO read PHP source code into a textarea

2005-02-25 Thread Tim Burgan
Hello,
I have a file 'nav.php', whose source code I want to load into the 
textarea on page 'aaa.php', so the source can be edited and changed.

Is there a resource that I can read to help me do this?
Thanks
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] HOWTO read PHP source code into a textarea

2005-02-26 Thread Tim Burgan
Thank you everyone,
I was trying to use file(), with some problems.. thank you for your 
suggestions to use file_get_contents(). Perfect! You're all right, it 
works really well.

Thanks
Tim
...
Tim Burgan.
Website & E-Commerce Developer
Web: 
...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Why does PHP have __toString() and not just toString()

2005-04-12 Thread Tim Burgan
Hello,
I'm a University student studying Java, but I also do some freelance web 
design - so naturally I do a fair bit of PHP which seems to be very 
similar to Java.

Usually I just code PHP as I need it, but down the track get REALLY 
annoyed when I need to edit or update my code. It's hard to follow and 
doesn't really have any order.

Then it came to me - why don't I code PHP with classes and plan my PHP 
like I do with Java. So today I looked into the PHP manual to find out 
about classes and objects in PHP.

I'm wondering, why does the toString() of classes have two underscored 
preceding it [e.g. __toString()], as opposed to Java's normal toString()?

What's the purpose of the two underscores in PHP's classes?
Thanks
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Fatal error: Call to a member function on a non-object

2004-12-22 Thread Tim Burgan
Hello,
I have a database driven (MS Access 2000) PHP website that runs fine on 
my localhost (Apache, WinXP, PHP 4.3.9), but when I upload it to the web 
host (IIS, PHP 4.3.10) and try to access a page I receive the following 
error:

Fatal error: Call to a member function on a non-object in 
c:\XXX\inc\dbConnOpen.php on line 17

The file in question contains code that forms a connection to the 
database. I've used this EXACT same code on this same website for the 
last 8 months (both on localhost and web host) with no problem.. then 
when I upload the WHOLE site again.. it doesn't work.

Here's the contents of the above file:
/* Open database connection */
  $db_connection = new COM("ADODB.Connection") or die("Cannot start ADO");
  $db_connstr= "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" .
realpath("directory/database.mdb") . ";DefaultDir=" .
realpath("directory");
  $db_connection->open($db_connstr);  // THIS IS LINE 17
Can anyone shed some light onto what this error means in plain english, 
and possible what I can do.

Thanks for your time.. I'm in a bit of a pickle.
Cheers
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Fatal error: Call to a member function on a non-object

2004-12-22 Thread Tim Burgan
Hi Michael,
   Michael Sims wrote:
[...]
These might be relevant:
http://bugs.php.net/bug.php?id=31159
http://marc.theaimsgroup.com/?l=php-dev&m=110375720614120&w=2

Thanks for your reply. This does sound like it is the problem.
Does anyone know if there is a workaround for this?
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Using the OR operator in an IF statement

2005-01-08 Thread Tim Burgan
Hello,
Can someone please correct me on my efforts below.
If I have a condition where I want to test if a variable is not equal to 
"student", "staff", or "admin".. what's the simplest was to achieve that?

Here's what I tried.. that didn't work:

  if ( ($_POST['usertype'] != "student") || ($_POST['usertype'] != 
"staff") ||  ($_POST['usertype'] != "admin") )
  {
 // ...
  }
?>

And also:

I must be using the OR operator the wrong way. Can someone please 
correct me on this.

Thanks very much for your time.
Regards
Tim Burgan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] how to read the path of the current document's url

2005-01-08 Thread Tim Burgan
Hello,
I have a page where the URL is along the lines of 
http://www.example.com/test.php

I've tried using the parse_url() function without success.. I'm trying 
to just get "test.php" returned as a string.

Can someone please point me in the right direction with this.
Thank you for your time.
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] strange sessions

2005-01-10 Thread Tim Burgan
Hello,
I'm experiencing a weird thing regarding sessions - that I'm using for 
user authorisation.

I have a page that the "public" can view (index.php) that includes a 
login button. When the login button is clicked a new window pops-up and 
asks for username and password. The user is then logged-in. The parent 
page then detects using sessions that the user is logged-in and includes 
the text and link "Joe Bloggs: [logout]".

All the public content on this website is viewed via index.php. For 
example, a URL to "about us" or "contact details" may be 
index.php?keyword=about or index.php?keyword=contact.

The a user is not logged in, all links within the page work fine, but 
when the user IS logged in, a hyperlink from one page to another page 
(whose URL contains a different 'keyword') doesn't work. The browsers 
address bar updates to reflect the new page, but the web page never 
changes (even when I physically type a different 'keyword' into the 
address bar). Changing physical files (ie. index.php to main.php) does work.

As soon as I click 'logout' which destroys the user's session, 
everything returns to normal.

Is there something I'm missing here?
Thank you for your time.
Regards
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] strange sessions

2005-01-11 Thread Tim Burgan
Hello,
Here's a link to a website demonstrating my problems: 
<http://www.timburgan.com/problems/>
You can download the code from the site or here: 
<http://www.timburgan.com/problems/files/site.zip>

I'm experiencing some weird issues with sessions, and because I'm quite 
new to PHP and sessions.. I'm a bit lost. My use of headers also seems 
to be playing up.

I'd really appreciate it if someone has time to assist me, look at my 
code, and solve some of my problems that are described below.

On my website, there are 3 types of users:
  1. Students
  2. Staff
  3. Admin
There are many students, and students are able to login and edit their 
own page, but they have no rights to edit other student pages, staff 
pages, or any other pages.

There are many staff members, and staff are able to login and edit their 
own page, but they also have no rights to edit other student pages or 
staff pages. BUT THEY ARE ALLOWED TO EDIT ANY OTHER PAGES.

The admin is also staff member, but they are given admin status and 
therefore able to edit anything - including any students, staff, or content.

When someone logs-in successfully, they are taken to the editing page. 
If the editing page is then closed and the user tries to navigate the 
site as any normal "non-logged-in user" would (by clicking the 
navigation links), the address bar in the browser changes, but the 
content stays the same and doesn't change.

Also, when someone logs-in successfully, they are taken to the editing 
page. If the editing page is then closed they are returned to the 
original page they were trying to edit. If the user then clicks [edit 
this page] again, it says they do not have permission to edit this 
page.. even though they do!

By the way- to login, staff are Joe (username & password are both: joe) 
and Simon (username & password are both: simon). Students are Tim 
(username & password both: tim), and Grace (username & password both: 
grace).

Thank you very much for your time and assistance.
I cannot thank you enough.
Tim Burgan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] php style guides

2005-01-12 Thread Tim Burgan
Hi everyone,
What 'rules' do you follow about styling/formatting your PHP code? Do 
you follow a guide that is available online?

I generally have my own preference for formatting like
if ( condition )
{
   statements;
}
for all conditional statements and loops, as opposed to
if (condition) {
   statements;
}
But what I'm really wanting to get everyones thoughts about is in regard 
to combining PHP with HTML.

I used to do:
test
but just tried
test';
  echo 'blah';
?>
which I find it's much easier to read to code.
What do other people do and for what reason? What are the 
advantages/disadvantages to doing it certain ways?

Thanks for your time.
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] my for loop's gone bananas.. has yours?

2005-01-18 Thread Tim Burgan
Hello,
I have a for loop to create a HTML combo box that displays the 10 year 
values, starting from today's year and incrementing until 10 years it 
reached.

The output of the loop to the browser is weird.
If anyone has time, can you please let me know where I screwed up?
Here's my loop:
  echo '';
 
  $numbOfYears = 10;
  for ( $i = 0; $i < $numbOfYears; $i++ )
  {
 echo '
 
 if ( $_SESSION['createStudent_expireYear'] == $today_year + $i )
 {
echo ' selected="selected"';
 }
 
 echo '>'. $today_year + $i .'';
  }
 
  echo '';

And here's the bung output:
  
 0"0
 1" selected="selected"1
 2"2
 3"3
 4"4
 5"5
 6"6
 7"7
 8"8
 9"9
  
And here's what I was expecting:
  
 2005
 2006
 2007
 2008
 2009
 2010
 2011
 2012
 2013
 2014
  
Thanks for your time and assistance
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] SQL - INSERT INTO booleans

2005-01-19 Thread Tim Burgan
Hello,
I'm trying to insert a new row using the following SQL:
$db_sql = "INSERT INTO tblStudents (name, username, password, expiry, 
permissions, website, displayUser) VALUES ('Joe', 
'joejoe','pw4joe','20-Jan-05','staff','true','false');";

In using MS Access via COM, the data types for each column (in order) 
is: string, string, string, date, string, boolean, boolean.

I am continually getting a data type mismatch error (relating to the 
boolean columns) when trying to execute this code.

I've tried removing the single quotes, but that returns a syntax error.
What do I do? Any assistance would be greatly appreciated.
Tim
PS: For those that are unclear of who COM works, this is my code to 
connect to the database with a DNS-less connection.

/* Open the connection to the database */
$db_connection = new COM("ADODB.Connection") or die("Cannot start ADO");
$db_connstr= "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=".
realpath("../data2004/contentdb01.mdb") .";DefaultDir=".
realpath("../data2004");
$db_connection->open($db_connstr);
/* Set the SQL */
$db_sql = "INSERT INTO tblStudents (name, username, password, expiry, 
permissions, website, displayUser) VALUES ('Joe', 
'joejoe','pw4joe','20-Jan-05','staff','true','false');";

/* Execute SQL */
$rs = $db_connection->execute($db_sql);
/* Close the database connection */
$db_connection->Close();
$rs = null;
$db_connection = null;
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Allow users to upload images to directory

2005-01-20 Thread Tim Burgan
Hello,
How can I allow users of my website to upload JPEG's to a set directory, 
and then have the JPEG scaled-down if they upload some huge image (both 
in pixel size and resolution)?

Is there anything around that clearly (and simply) explains this?
Thanks
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] [suspicious - maybe spam] Using heredocs

2005-01-21 Thread Tim Burgan
Hello,
I've just tried using heredocs [1] for the first time, but I am
receiving parse errors always on the very last line of my document.
The error is caused by my heredocs. Am I using it correctly? When I
replaced the heredoc with a string.. everything worked again.
Here's my code with heredocs (and the lines before and after for context):
/* Query the database */
$db_sql = <<
SELECT  id, expiry, permissions
FROMtblStudents
UNION ALL
SELECT  id, expiry, permissions
FROMtblStaff;
SQL;
$rs = $db_connection->execute($db_sql);
Here's my code without heredocs (and the lines before and after for
context) - this works fine:
/* Query the database */
$db_sql = 'SELECT id, expiry, permissions FROM tblStudents UNION ALL
SELECT id, expiry, permissions FROM tblStaff;';
$rs = $db_connection->execute($db_sql);
What am I doing wrong? Are there any requirements to using heredocs?
I'm using PHP4, Apache, Win XP.
[1]

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


[PHP] Session errors when uploaded to host

2005-01-22 Thread Tim Burgan
Hello,
I've developed my site, and tested on a web host (Apache, PHP 4.3.9).
Now I've uploaded to a different host (IIS, PHP 4.3.1) where I want to 
keep it, and I get session error messages like:

Warning: session_start() [function.session-start 
]: 
open(/tmp\sess_30f6794de4b0d80b91035c6c01aae52d, O_RDWR) failed: No such 
file or directory (2) in E:\W3Sites\ywamsa\www\timburgan\index.php on line 9

Warning: session_start() [function.session-start 
]: Cannot send session cookie 
- headers already sent by (output started at 
E:\W3Sites\ywamsa\www\timburgan\index.php:9) in 
E:\W3Sites\ywamsa\www\timburgan\index.php on line 9

My code on line 9 is: This is the first line of my code
session_start();
My code on line 12 is: This is the second line of my code
header("Cache-control: private");
Is there any solution to this?
Tim

PS. I looked up session_start() in the PHP manual, and found this 
comment that may offer a solution that I've pasted below. Will this 
work? Are my problems a bug with PHP and IIS?

[START QUOTE]
*tech at insights dot net dot au*
17-Oct-2004 04:28
|I am sure anybody that is trying to use IIS and PHP is throughly 
annoyed with the session_start() bug that recreates a new session every 
time it is accessed.

The problem is the session_id isn't passed before the session_start() so 
it creates a new session. So a simple sollution is:

$id = 473483478383834;
session_id($id);
session_start();
Another way that is a bit more dynamic using a Cookie to hold the 
session_id:

if (isset($SessID)){ session_id($SessID); }
session_start();
header("Cache-control: private"); // IE 6 Fix.
setcookie("SessID", session_id(), time() + 3600); 

There are probably much better ways of doing this but for use with my 
offline Win/IIS setup it seems to be fine.

[END QUOTE]
|
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Session errors when uploaded to host

2005-01-23 Thread Tim Burgan
Thankyou. That solved the issue.
I didn't know that function existed.
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Image manipulation without GD library

2005-01-25 Thread Tim Burgan
Hello,
Is there any way that I can do some image manipulation - resizing - 
without the GD libraries?

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


[PHP] Sending email when sendmail_from & sendmail_path = null.

2005-01-30 Thread Tim Burgan
Hello,
My client's web host's PHP configuration for both sendmail_from and 
sendmail_path are both = null.

How do I send email with PHP? What options do I need to set within my 
code, and what to?

Tim


[PHP] Headers already sent error

2005-02-02 Thread Tim Burgan
Hello,
I'm receiving an error "Cannot modify header information - headers 
already sent by XXX".

In my php, I have a heap of code, then use header("Location: blah.php"); 
to redirect the user. I get this error on the webhost, but not on my 
local host.

I've searched and found that this can be caused by spaces after the 
closing php tag, but I don't have any.

What could this be?
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Writing a PHP Web application

2005-06-30 Thread Tim Burgan

Hello,


What are the options to get code to run on the server (every XX
minutes), without any user interaction, etc.
Example 1: If I have a directory that contains files, can I write a
script that will delete all files older that 5 days?
Example 2: If I write an email web application, and the user wants to
send an email to 50 people, can I write a script that will send emails
individually XX seconds apart from each other, but have the progress
interfaced with the web page the user is on so they can see the
percentage progress of sent emails.

Is this possible? How do I do such things?
Are there any resources available that can help me with this?

Also,  back to the email example, is it possible that once an email is
composed and sent, that the web application can scan the email for
viruses, then show a message to the user if a virus was found in their
email, if no virus found, the email is then sent to the users as above.

How would I scan an email for viruses (or spam?)? And, scan it only once
so that system resources are not used to scan unnecessarily for every
recipient?

Any help would be greatly appreciated.


Thanks

Tim

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



Re: [PHP] Upgrading PHP 4.2.3 to PHP 4.3.2

2005-08-16 Thread Tim Burgan

Can I extend this..

On a live server I have PHP 4.1. If I upgrade to PHP 5, is something 
likely to stop working?


I've been putting off upgrading for months because of the unknown of 
something going wrong.


Thanks

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



[PHP] Re: php4 vs. php5

2006-02-02 Thread Tim Burgan

Hi


   Brad Kowalczyk wrote:
   > Almost
   > all php4 code will run as expected on php5 (but not the the other way
   > around) and the benefits of php5 are many.


I'm wondering if you can outline, or direct me to a resource that 
explicitly notes the benefits of php5 over php4.


Thanks

Tim

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



[PHP] PHP generated JavaScript

2006-02-19 Thread Tim Burgan

Is is possible to make an external Javascript with PHP.

Am I doing this correcT?



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