[PHP] Help on compiling PHP for MIPS, Bus Error thrown

2010-01-22 Thread Angel Sánchez

Hi guys!

I've been trying to cros-compile PHP for an embedded MIPS device with no 
luck, so I decided to build a developing environment inside a virtual 
machine with QEMU for developing PHP inside first.


I have been trying different options for configure and all I get is a 
Bus Erro 138 when I run the executable. I've seen there is another 
thread about this same error and I applied the patches but the error was 
still present.


I've tried to debug a little the code to find where the error is. I'm 
explaining it right now:


I runned it first under gdb:

--
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
http://gnu.org/licenses/gpl.html

This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type show copying
and show warranty for details.
This GDB was configured as mipsel-unknown-linux-gnu...
(gdb) run
Starting program: /build/php-5.3.1/sapi/cli/php
warning: no loadable sections found in added symbol-file 
/usr/lib/libiconv.so.2

starting php right now at main...

Program received signal SIGBUS, Bus error.
0x00a51634 in _zend_mm_alloc_int (heap=0xef92f0, size=14)
   at /build/php-5.3.1/Zend/zend_alloc.c:1892
1892ZEND_MM_CHECK_BLOCK_LINKAGE(best_fit);
(gdb) backtrace
#0  0x00a51634 in _zend_mm_alloc_int (heap=0xef92f0, size=14)
   at /build/php-5.3.1/Zend/zend_alloc.c:1892
#1  0x00a53018 in _emalloc (size=14) at 
/build/php-5.3.1/Zend/zend_alloc.c:2295

#2  0x00a8be90 in zend_str_tolower_dup (source=0xe89fa8 func_num_args,
   length=13) at /build/php-5.3.1/Zend/zend_operators.c:1856
#3  0x00a9dcf4 in zend_register_functions (scope=0x0, functions=0xec43d8,
   function_table=0x0, type=1) at /build/php-5.3.1/Zend/zend_API.c:1897
#4  0x00a9c57c in zend_register_module_ex (module=0xef9b98)
   at /build/php-5.3.1/Zend/zend_API.c:1714
#5  0x00aafdd8 in zend_startup_builtin_functions ()
   at /build/php-5.3.1/Zend/zend_builtin_functions.c:319
#6  0x00a90bb4 in zend_startup (utility_functions=0x7fd0e9d4, 
extensions=0x0)

   at /build/php-5.3.1/Zend/zend.c:696
#7  0x009d6e14 in php_module_startup (sf=0xedb8bc, additional_modules=0x0,
   num_additional_modules=0) at /build/php-5.3.1/main/main.c:1821
#8  0x00bea104 in php_cli_startup (sapi_module=0xedb8bc)
   at /build/php-5.3.1/sapi/cli/php_cli.c:399
#9  0x00beb610 in main (argc=1, argv=0x7fd0ede4)
   at /build/php-5.3.1/sapi/cli/php_cli.c:774
---

Then I implemented the macro ZEND_MM_CHECK_BLOCK_LINKAGE in the place 
where it was run so I could see which function was creating the error.


---
  //ZEND_MM_CHECK_BLOCK_LINKAGE(best_fit);

   printf(crashes before \n);
   int size = (best_fit)-info._size;
   printf(crashes between \n);
   unsigned int size2 = ZEND_MM_FREE_BLOCK_SIZE(best_fit);   
   printf(crashes between 2, best_fit: %p size2: 
%d\n,best_fit,size2);
   zend_mm_block* bloq = ZEND_MM_BLOCK_AT(best_fit, size2);  
   printf(crashes between 3, bloq %p:\n,bloq);

   zend_mm_block* bloque = bloq-info._prev;

   printf(crashes before if\n);
   if ( UNEXPECTED(size != bloque) ||
  
UNEXPECTED(!UNEXPECTED(ZEND_MM_IS_FIRST_BLOCK(best_fit)) 
   UNEXPECTED(ZEND_MM_PREV_BLOCK(best_fit)-info._size 
!= (best_fit)-info._prev)) ){

   zend_mm_panic(zend_mm_heap corrupted);
   }
   zend_mm_remove_from_free_list(heap, best_fit);
---


With the modification now the output of the executable is this:

(gdb) run
Starting program: /build/php-5.3.1/sapi/cli/php
warning: no loadable sections found in added symbol-file 
/usr/lib/libiconv.so.2

starting php right now at main...
crashes before
crashes between
crashes between 2, best_fit: 0x2b458018 size2: 253928
crashes between 3, bloq 0x2b496000:
crashes before if
crashes before
crashes between
crashes between 2, best_fit: 0x2b458028 size2: 1852795251
crashes between 3, bloq 0x99b4e99b:

Program received signal SIGBUS, Bus error.
0x00a516e4 in _zend_mm_alloc_int (heap=0xef92f0, size=14)
   at /build/php-5.3.1/Zend/zend_alloc.c:1905
1905zend_mm_block* bloque = bloq-info._prev;



What it seems is that size2 gets extremely big and then ZEND_MM_BLOCK_AT 
returns a very high memory address.
I have tried to trace the source of the error but i can't see where it 
starts at all.


Let's see if anyone can help me with this.

Lots of thanks,
Angel

--


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



Re: [PHP] Help setting up php

2007-07-13 Thread Richard Lynch
On Thu, July 12, 2007 8:25 am, Karl Schmitt wrote:
 Can someone please help me?

 I am new to installing and working with php and webservers.  I am
 using
 IIS 6.

 I can not get php to load the ini file.

This line:
Configuration File (php.ini) Path   C:\WINDOWS

tells you that PHP *looked* for the php.ini file in:
C:\WINDOWS

However, it did not FIND php.ini there, as there is no php.ini on the
path name shown.

Therefore, PHP just used the default default values for everything.

You need to copy the php.ini-recommended to C:\WINDOWS and name it
php.ini

You'll then need to restart Apache, errr, IIS, which probably means
reboot the whole machine, knowing Microsoft. :-)

-- 
Some people have a gift link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

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



Re: [PHP] Help setting up php

2007-07-13 Thread Joker7
In news: [EMAIL PROTECTED] - Richard
Lynch  wrote :
 On Thu, July 12, 2007 8:25 am, Karl Schmitt wrote:
 Can someone please help me?

 I am new to installing and working with php and webservers.  I am
 using
 IIS 6.

 I can not get php to load the ini file.

 This line:
 Configuration File (php.ini) Path C:\WINDOWS

 tells you that PHP *looked* for the php.ini file in:
 C:\WINDOWS

 However, it did not FIND php.ini there, as there is no php.ini on the
 path name shown.

 Therefore, PHP just used the default default values for everything.

 You need to copy the php.ini-recommended to C:\WINDOWS and name it
 php.ini

 You'll then need to restart Apache, errr, IIS, which probably means
 reboot the whole machine, knowing Microsoft. :-)

 --
 Some people have a gift link here.
 Know what I want?
 I want you to buy a CD from some indie artist.
 http://cdbaby.com/browse/from/lynch
 Yeah, I get a buck. So?

I would start again with a manual install much safer, c:\windows is not the 
best place to have php.ini .A manual install should not take more than 10/20 
mins.

Chris

-- 
Cheap As Chips Broadband http://yeah.kick-butt.co.uk
Superb hosting  domain name deals http://host.kick-butt.co.uk 

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



[PHP] Help setting up php

2007-07-12 Thread Karl Schmitt
Can someone please help me?  

 

I am new to installing and working with php and webservers.  I am using
IIS 6.

 

I can not get php to load the ini file.

 

I have followed multiple guides including those listed on the install
pages and even went back and let the installer run, which changed
nothing.  

 

php in installed in ISAPI mode. 

 

You can see my test page here:

www.ctconline.com/test.php

 

I can post screen shots over email it that will help.  I need access to
the gd library at least for work.

 

Any help would be most appreciated.

 

Thank you Karl Schmitt



Re: [PHP] Help setting up php

2007-07-12 Thread Robert Cummings
On Thu, 2007-07-12 at 09:25 -0400, Karl Schmitt wrote:
 Can someone please help me?  

 I am new to installing and working with php and webservers.  I am using
 IIS 6.

 I can not get php to load the ini file.

Your webserver is looking for it here:

C:\WINDOWS\php.ini

Is it there?

Cheers,
Rob.
-- 
...
SwarmBuy.com - http://www.swarmbuy.com

Leveraging the buying power of the masses!
...

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



[PHP] Help with the php bug in the Squirrelmail plugin's script

2007-03-09 Thread Jevos, Peter

Hi 
I'd like to ask you for the help
I'm using Squirellmail with plugin Shared calendar. This is simple nice
plugin written by Paul Lesniewski
But I found the bug in this plugin. The bug seems to be related with
variable and memory.
The scripts are really slow and sometimes takes 20-30 seconds under some
conditions.
Unfortunately Paul is busy and has no time to examine it. Just told me
that it seems like there is a problem in that all files are inspected
even when it just needs to look for one file.
I found out what caused this delay and what action but I'm not good
programmer therefore I cannot repair it by myself
Can anybody look at this plugin and bug ? I can provide more information
Can anybody give me some advice how to proceed?

Thanks

Pet

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



Re: [PHP] Help with the php bug in the Squirrelmail plugin's script

2007-03-09 Thread Tijnema !

If there are no people willing to, i am, but i don't have a lot of time.
I hope it isn't urgent.

Tijnema


On 3/9/07, Jevos, Peter [EMAIL PROTECTED] wrote:



Hi
I'd like to ask you for the help
I'm using Squirellmail with plugin Shared calendar. This is simple nice
plugin written by Paul Lesniewski
But I found the bug in this plugin. The bug seems to be related with
variable and memory.
The scripts are really slow and sometimes takes 20-30 seconds under some
conditions.
Unfortunately Paul is busy and has no time to examine it. Just told me
that it seems like there is a problem in that all files are inspected
even when it just needs to look for one file.
I found out what caused this delay and what action but I'm not good
programmer therefore I cannot repair it by myself
Can anybody look at this plugin and bug ? I can provide more information
Can anybody give me some advice how to proceed?

Thanks

Pet

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




Re: [PHP] Help with getting PHP to see Pear.

2006-01-24 Thread Sumeet

Payne wrote:
Hi, I just installed SuSE 10 and I am having a problem with my phpnuke 
site and my maia site. PHPNUKE gives me this error...


*Warning*: main(db/mysql.php): failed to open stream: No such file or 
directory in */srv/www/htdocs/bse/db/db.php* on line *53*


*Warning*: main(): Failed opening 'db/mysql.php' for inclusion 
(include_path='/usr/share/php') in */srv/www/htdocs/bse/db/db.php* on 
line *53*




i think it has to do with the 'include_path' set in php.ini

include_path = 'your_path';


--
Sumeet Shroff
http://www.prateeksha.com
Web Design and Ecommerce Development, Mumbai India

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



Re: [PHP] Help with getting PHP to see Pear.

2006-01-24 Thread Jesús Fernández
if you look to your phpinfo it says:

'--without-pear'

Maybe you'll need to install it with pear support or is it right just to add
pear to the include_path?


--
Esú - http://esu.proyectoanonimo.com
http://www.proyectoanonimo.com


[PHP] Help with getting PHP to see Pear.

2006-01-23 Thread Payne
Hi, I just installed SuSE 10 and I am having a problem with my phpnuke 
site and my maia site. PHPNUKE gives me this error...


*Warning*: main(db/mysql.php): failed to open stream: No such file or 
directory in */srv/www/htdocs/bse/db/db.php* on line *53*


*Warning*: main(): Failed opening 'db/mysql.php' for inclusion 
(include_path='/usr/share/php') in */srv/www/htdocs/bse/db/db.php* on 
line *53*


*Fatal error*: Cannot instantiate non-existent class: sql_db in 
*/srv/www/htdocs/bse/db/db.php* on line *86


But if I copy my old php.ini from 9.1 it works just fine.

One maia, it says that it not install, I took a look at my phpinfo and I 
did see this


*'./configure' '--prefix=/usr' '--datadir=/usr/share/php' 
'--mandir=/usr/share/man' '--bindir=/usr/bin' '--libdir=/usr/share' 
'--includedir=/usr/include' '--sysconfdir=/etc' '--with-_lib=lib' 
'--with-config-file-path=/etc' '--with-exec-dir=/usr/lib/php/bin' 
'--disable-debug' '--enable-inline-optimization' '--enable-memory-limit' 
'--enable-magic-quotes' '--enable-safe-mode' '--enable-sigchild' 
'--disable-ctype' '--disable-session' '--without-mysql' '--disable-cli' 
'--without-pear' '--with-openssl' '--with-apxs2=/usr/sbin/apxs2-prefork' 
'i586-suse-linux'


How can I get php to see pear, it is installed.  I have install modules 
with pear for maia and horde but neither seem to see pear.


Also I know that since 4.4.0 BC Math library is included, maia saying it 
not.



Payne

   
PEAR *FAILED*: Not installed. The PEAR extension is required by 
several other PHP extensions that Maia needs. See this page 
http://pear.php.net/ for more information about downloading and 
installing PEAR.

PEAR::Mail_Mime *SKIPPED*: Requires PEAR
PEAR::DB *SKIPPED*: Requires PEAR
PEAR::DB_Pager *SKIPPED*: Requires PEAR
PEAR::Net_Socket *SKIPPED*: Requires PEAR
PEAR::Net_SMTP *SKIPPED*: Requires PEAR
PEAR::Auth_SASL *SKIPPED*: Requires PEAR
PEAR::Net_IMAP *SKIPPED*: Requires PEAR
PEAR::Net_POP3 *SKIPPED*: Requires PEAR
PEAR::Log *SKIPPED*: Requires PEAR
IMAP library *OK*: 2004
LDAP library *OK*
MCrypt library *OK*: = 2.4.x with Blowfish and CBC
BC math library *FAILED*: Not installed. This PHP extension is 
required in order to decode certain types of URLs. See this page 
http://www.php.net/bc/ for more information about recompiling PHP with 
the --enable-bcmath flag.

gd graphics library *OK*: 2.0 or higher

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



[PHP] Help with getting PHP to see Pear.

2006-01-23 Thread Payne
Hi, I just installed SuSE 10 and I am having a problem with my phpnuke 
site and my maia site. PHPNUKE gives me this error...


*Warning*: main(db/mysql.php): failed to open stream: No such file or 
directory in */srv/www/htdocs/bse/db/db.php* on line *53*


*Warning*: main(): Failed opening 'db/mysql.php' for inclusion 
(include_path='/usr/share/php') in */srv/www/htdocs/bse/db/db.php* on 
line *53*


*Fatal error*: Cannot instantiate non-existent class: sql_db in 
*/srv/www/htdocs/bse/db/db.php* on line *86


But if I copy my old php.ini from 9.1 it works just fine.

One maia, it says that it not install, I took a look at my phpinfo and I 
did see this


*'./configure' '--prefix=/usr' '--datadir=/usr/share/php' 
'--mandir=/usr/share/man' '--bindir=/usr/bin' '--libdir=/usr/share' 
'--includedir=/usr/include' '--sysconfdir=/etc' '--with-_lib=lib' 
'--with-config-file-path=/etc' '--with-exec-dir=/usr/lib/php/bin' 
'--disable-debug' '--enable-inline-optimization' '--enable-memory-limit' 
'--enable-magic-quotes' '--enable-safe-mode' '--enable-sigchild' 
'--disable-ctype' '--disable-session' '--without-mysql' '--disable-cli' 
'--without-pear' '--with-openssl' '--with-apxs2=/usr/sbin/apxs2-prefork' 
'i586-suse-linux'


How can I get php to see pear, it is installed.  I have install modules 
with pear for maia and horde but neither seem to see pear.


Also I know that since 4.4.0 BC Math library is included, maia saying it 
not.



Payne


PEAR 	*FAILED*: Not installed. The PEAR extension is required by several 
other PHP extensions that Maia needs. See this page 
http://pear.php.net/ for more information about downloading and 
installing PEAR.

PEAR::Mail_Mime *SKIPPED*: Requires PEAR
PEAR::DB*SKIPPED*: Requires PEAR
PEAR::DB_Pager  *SKIPPED*: Requires PEAR
PEAR::Net_Socket*SKIPPED*: Requires PEAR
PEAR::Net_SMTP  *SKIPPED*: Requires PEAR
PEAR::Auth_SASL *SKIPPED*: Requires PEAR
PEAR::Net_IMAP  *SKIPPED*: Requires PEAR
PEAR::Net_POP3  *SKIPPED*: Requires PEAR
PEAR::Log   *SKIPPED*: Requires PEAR
IMAP library*OK*: 2004
LDAP library*OK*
MCrypt library  *OK*: = 2.4.x with Blowfish and CBC
BC math library 	*FAILED*: Not installed. This PHP extension is required 
in order to decode certain types of URLs. See this page 
http://www.php.net/bc/ for more information about recompiling PHP with 
the --enable-bcmath flag.

gd graphics library *OK*: 2.0 or higher

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



RE: [PHP] Help with getting PHP to see Pear.

2006-01-23 Thread Albert
Payne wrote:
 How can I get php to see pear, it is installed.  I have install modules 
 with pear for maia and horde but neither seem to see pear.

I'm running SuSE 9.3 and had to add /usr/share/php to the include path in
/etc/php.ini to be able to use the installed PEAR extensions.

To enable bcmath I had to uncomment the extension=bcmath.so line in
/etc/php.ini 

Check that phpinfo() outputs bcmath.

Albert

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.14.22/238 - Release Date: 2006/01/23
 

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



Re: [PHP] Help needed on php/mysql

2004-11-02 Thread Garth Hapgood - Strickland
=contentIndustry:/td
  td width=55% 
  select class=content name=industry_desc id=selectoption value=-- select 
one --/option
  ?PHP for($x=0;$x$number_industry;$x++)
  {
  echo('option value='.$rijindustry[$x][IndustryID].'');
  echo(''.$rijindustry[$x][Description].'/option');
  }
  ?
  /select
  /tr
  tr
  td width=45% align=right class=contentIndustry Other:/td
  td width=55%input class=content type=text size=35 maxlength=100 
name=industry_other/td
  /tr
  tr
  td width=45% align=right class=contentBusiness Age (Years):/td
  td width=55%input class=content size=5 maxlength=4 type=text 
name=business_age/td
  /tr
  tr
  td width=45% align=right class=contentAnnual Turnover:/td
  td width=55%
  select class=content name=ann_turn_desc id=selectoption value=-- select 
one --/option
  ?PHP for($x=0;$x$number_ann_turn;$x++)
  {
  echo('option value='.$rijann_turn[$x][AnnualTurnoverID].'');
  echo(''.$rijann_turn[$x][Description].'/option');
  }
  ?
  /select
  /tr
  tr
  td width=45% align=right class=contentEmpowerment Profile:/td
  td width=55% 
  select class=content name=empower_prof_desc id=selectoption value=-- 
select one --/option
  ?PHP for($x=0;$x$number_empower;$x++)
  {
  echo('option value='.$rijempower[$x][EmpowermentProfileID].'');
  echo(''.$rijempower[$x][Description].'/option');
  }
  ?
  /select
  /tr
  tr
  td width=45% align=right class=contentBEE Score Card:/td
  td width=55% 
  select class=content name=scorecard_desc id=selectoption value=-- select 
one --/option
  ?PHP for($x=0;$x$number_scorecard;$x++)
  {
  echo('option value='.$rijscorecard[$x][BEEScoreCardID].'');
  echo(''.$rijscorecard[$x][Description].'/option');
  }
  ?
  /select
  /tr
  /table
  /td 
  /tr 
  tr
  td class=formAreaTitle.: Preferred Partner Information/td
  /tr
  tr
  td class=main width=60%
  table border=0 width=100% cellspacing=4 cellpadding=0 class=formArea
  tr
  td width=45% align=right class=contentPreferred Product Service:/td
  td width=55%textarea rows=5 cols=35 class=content maxlength=255 
type=text name=preferred_product_service/textarea/td
  /tr
  tr
  td width=45% align=right class=contentPreferred Match Partner:/td
  td width=55%textarea rows=5 cols=35 class=content maxlength=255 
type=text name=preferred_match_partner/textarea/td
  /tr
  tr
  td width=45% align=right class=contentPreferred Location:/td
  td width=55% 
  select class=content name=prefer_location_desc id=selectoption value=-- 
select one --/option
  ?PHP for($x=0;$x$number_provinces;$x++)
  {
  echo('option value='.$rijprovinces[$x][ProvinceID].'');
  echo(''.$rijprovinces[$x][Description].'/option');
  }
  ?
  /select
  /tr
  tr
  td width=45% align=right class=contentPreferred Age:/td
  td width=55% 
  select class=content name=prefer_age_desc id=selectoption value=-- 
select one --/option
  ?PHP for($x=0;$x$number_age;$x++)
  {
  echo('option value='.$rij_age[$x][AgeID].'');
  echo(''.$rij_age[$x][Description].'/option');
  }
  ?
  /select
  /tr
  tr
  td width=45% align=right class=contentPreferred Annual Turnover:/td
  td width=55% 
  select class=content name=prefer_turnover_desc id=selectoption value=-- 
select one --/option
  ?PHP for($x=0;$x$number_pref_turnover;$x++)
  {
  echo('option value='.$rij_pref_turnover[$x][PreferredAnnualTurnoverID].'');
  echo(''.$rij_pref_turnover[$x][Description].'/option');
  }
  ?
  /select
  /tr
  tr
  td width=45% align=right class=contentPreferred Empowerment Profile:/td
  td width=55% 
  select class=content name=prefer_empower_desc id=selectoption value=-- 
select one --/option
  ?PHP for($x=0;$x$number_pref_empower;$x++)
  {
  echo('option value='.$rij_pref_empower[$x][PreferredEmpowermentProfileID].'');
  echo(''.$rij_pref_empower[$x][Description].'/option');
  }
  ?
  /select
  /tr
  tr
  td width=45% align=right class=contentMarket Source:/td
  td width=55% 
  select class=content name=prefer_turnover_desc id=selectoption value=-- 
select one --/option
  ?PHP for($x=0;$x$number_market_source;$x++)
  {
  echo('option value='.$rij_market_source[$x][PreferredAnnualTurnoverID].'');
  echo(''.$rij_market_source[$x][Description].'/option');
  }
  ?
  /select
  /tr
  /table 
  tr
  td align=rightinput type=submit name=submit value=Register Now/td
  /tr
  /td
  td width=60%

  /td
  tr
  /tr
  /form
  /table/td
  tdtable width=35%

  /table/td
  /tr 
  /table
  /td
  td width=15nbsp;/td
  /tr
  /table
  !-- body_eof //--
  !-- footer //--
  ?php require('includes/footer.php'); ?
  !-- footer_eof //--
  /body
  /html
  ?php
  ?

 Seeing the page might help.
 On Nov 1, 2004, at 2:52 AM, Garth Hapgood - Strickland wrote:
 
  I have written a registration page in php and have a number of edit 
  boxes
  and drop-down lists. The lists are pulling data out of their respective
  tables, whereas the edit boxes are just for saving data.
 
  Now my main table where all my data is being saved is called Business. 
  Onto
  this I have a table called BusinessCommunication which has the fields

Re: [PHP] Help needed on php/mysql

2004-11-02 Thread Lists
%input class=content type=text size=35  
maxlength=50 name=website_address/td
  /tr
  /table
  /td
  /tr
  tr
  td class=formAreaTitle.: Business Information/td
  /tr
  tr
  td class=main width=60%
  table border=0 width=100% cellspacing=4 cellpadding=0  
class=formArea
  tr
  td width=45% align=right class=contentIndustry:/td
  td width=55%
  select class=content name=industry_desc id=selectoption  
value=-- select one --/option
  ?PHP for($x=0;$x$number_industry;$x++)
  {
  echo('option value='.$rijindustry[$x][IndustryID].'');
  echo(''.$rijindustry[$x][Description].'/option');
  }
  ?
  /select
  /tr
  tr
  td width=45% align=right class=contentIndustry Other:/td
  td width=55%input class=content type=text size=35  
maxlength=100 name=industry_other/td
  /tr
  tr
  td width=45% align=right class=contentBusiness Age  
(Years):/td
  td width=55%input class=content size=5 maxlength=4  
type=text name=business_age/td
  /tr
  tr
  td width=45% align=right class=contentAnnual Turnover:/td
  td width=55%
  select class=content name=ann_turn_desc id=selectoption  
value=-- select one --/option
  ?PHP for($x=0;$x$number_ann_turn;$x++)
  {
  echo('option value='.$rijann_turn[$x][AnnualTurnoverID].'');
  echo(''.$rijann_turn[$x][Description].'/option');
  }
  ?
  /select
  /tr
  tr
  td width=45% align=right class=contentEmpowerment  
Profile:/td
  td width=55%
  select class=content name=empower_prof_desc id=selectoption  
value=-- select one --/option
  ?PHP for($x=0;$x$number_empower;$x++)
  {
  echo('option  
value='.$rijempower[$x][EmpowermentProfileID].'');
  echo(''.$rijempower[$x][Description].'/option');
  }
  ?
  /select
  /tr
  tr
  td width=45% align=right class=contentBEE Score Card:/td
  td width=55%
  select class=content name=scorecard_desc id=selectoption  
value=-- select one --/option
  ?PHP for($x=0;$x$number_scorecard;$x++)
  {
  echo('option value='.$rijscorecard[$x][BEEScoreCardID].'');
  echo(''.$rijscorecard[$x][Description].'/option');
  }
  ?
  /select
  /tr
  /table
  /td
  /tr
  tr
  td class=formAreaTitle.: Preferred Partner Information/td
  /tr
  tr
  td class=main width=60%
  table border=0 width=100% cellspacing=4 cellpadding=0  
class=formArea
  tr
  td width=45% align=right class=contentPreferred Product  
Service:/td
  td width=55%textarea rows=5 cols=35 class=content  
maxlength=255 type=text  
name=preferred_product_service/textarea/td
  /tr
  tr
  td width=45% align=right class=contentPreferred Match  
Partner:/td
  td width=55%textarea rows=5 cols=35 class=content  
maxlength=255 type=text  
name=preferred_match_partner/textarea/td
  /tr
  tr
  td width=45% align=right class=contentPreferred  
Location:/td
  td width=55%
  select class=content name=prefer_location_desc  
id=selectoption value=-- select one --/option
  ?PHP for($x=0;$x$number_provinces;$x++)
  {
  echo('option value='.$rijprovinces[$x][ProvinceID].'');
  echo(''.$rijprovinces[$x][Description].'/option');
  }
  ?
  /select
  /tr
  tr
  td width=45% align=right class=contentPreferred Age:/td
  td width=55%
  select class=content name=prefer_age_desc id=selectoption  
value=-- select one --/option
  ?PHP for($x=0;$x$number_age;$x++)
  {
  echo('option value='.$rij_age[$x][AgeID].'');
  echo(''.$rij_age[$x][Description].'/option');
  }
  ?
  /select
  /tr
  tr
  td width=45% align=right class=contentPreferred Annual  
Turnover:/td
  td width=55%
  select class=content name=prefer_turnover_desc  
id=selectoption value=-- select one --/option
  ?PHP for($x=0;$x$number_pref_turnover;$x++)
  {
  echo('option  
value='.$rij_pref_turnover[$x][PreferredAnnualTurnoverID].'');
  echo(''.$rij_pref_turnover[$x][Description].'/option');
  }
  ?
  /select
  /tr
  tr
  td width=45% align=right class=contentPreferred Empowerment  
Profile:/td
  td width=55%
  select class=content name=prefer_empower_desc  
id=selectoption value=-- select one --/option
  ?PHP for($x=0;$x$number_pref_empower;$x++)
  {
  echo('option  
value='.$rij_pref_empower[$x][PreferredEmpowermentProfileID].'');
  echo(''.$rij_pref_empower[$x][Description].'/option');
  }
  ?
  /select
  /tr
  tr
  td width=45% align=right class=contentMarket Source:/td
  td width=55%
  select class=content name=prefer_turnover_desc  
id=selectoption value=-- select one --/option
  ?PHP for($x=0;$x$number_market_source;$x++)
  {
  echo('option  
value='.$rij_market_source[$x][PreferredAnnualTurnoverID].'');
  echo(''.$rij_market_source[$x][Description].'/option');
  }
  ?
  /select
  /tr
  /table
  tr
  td align=rightinput type=submit name=submit value=Register  
Now/td
  /tr
  /td
  td width=60%

  /td
  tr
  /tr
  /form
  /table/td
  tdtable width=35%
  /table/td
  /tr
  /table
  /td
  td width=15nbsp;/td
  /tr
  /table
  !-- body_eof //--
  !-- footer //--
  ?php require('includes/footer.php'); ?
  !-- footer_eof //--
  /body
  /html
  ?php
  ?
Seeing the page might help.
On Nov 1, 2004, at 2:52 AM, Garth Hapgood - Strickland wrote:
I have written a registration page in php

Re: [PHP] Help needed on php/mysql {Scanned}

2004-11-02 Thread Garth Hapgood - Strickland
++)
{
echo('option
  value='.$rij_pref_empower[$x][PreferredEmpowermentProfileID].'');
echo(''.$rij_pref_empower[$x][Description].'/option');
}
?
/select
/tr
tr
td width=45% align=right class=contentMarket Source:/td
td width=55%
select class=content name=prefer_turnover_desc
  id=selectoption value=-- select one --/option
?PHP for($x=0;$x$number_market_source;$x++)
{
echo('option
  value='.$rij_market_source[$x][PreferredAnnualTurnoverID].'');
echo(''.$rij_market_source[$x][Description].'/option');
}
?
/select
/tr
/table
tr
td align=rightinput type=submit name=submit value=Register
  Now/td
/tr
/td
td width=60%
 
/td
tr
/tr
/form
/table/td
tdtable width=35%
 
/table/td
/tr
/table
/td
td width=15nbsp;/td
/tr
/table
!-- body_eof //--
!-- footer //--
?php require('includes/footer.php'); ?
!-- footer_eof //--
/body
/html
?php
?
 
  Seeing the page might help.
  On Nov 1, 2004, at 2:52 AM, Garth Hapgood - Strickland wrote:
 
  I have written a registration page in php and have a number of edit
  boxes
  and drop-down lists. The lists are pulling data out of their
  respective
  tables, whereas the edit boxes are just for saving data.
 
  Now my main table where all my data is being saved is called
  Business.
  Onto
  this I have a table called BusinessCommunication which has the fields
  (BusinessCommunicationID, BusinessID, CommunicationTypeID,
  Destination).
 
  BusinessCommunicationID = Primary Key
  BusinessID = Foreign key from Business Table
  CommunicationTypeID = Foreign key from CommunicationType table (lists
  all
  communication types)
  Destination = field where data is stored (tel number, email address
  or
  fax
  number etc)
 
  Now the problem is that I want the person registering to be able to
  select
  the Communication Type/s he wants to add and then be able to enter
  the
  relevant information for each selected CommType. There must also be
  ability
  to add 2 of the same CommType.
 
  How can I achieve this as simply and affective as possible on my
  registration page.
 
  If you have any solutions are need more information. Please let me
  know
 
  Many thanx
  Garth
 
  -- 
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 
 
  -dg
  http://www.rexruff.com



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Psimax MailScanner
mailto:support|at|psimax|dot|co|dot|za

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



[PHP] Help needed on php/mysql

2004-11-01 Thread Garth Hapgood - Strickland
I have written a registration page in php and have a number of edit boxes
and drop-down lists. The lists are pulling data out of their respective
tables, whereas the edit boxes are just for saving data.

Now my main table where all my data is being saved is called Business. Onto
this I have a table called BusinessCommunication which has the fields
(BusinessCommunicationID, BusinessID, CommunicationTypeID, Destination).

BusinessCommunicationID = Primary Key
BusinessID = Foreign key from Business Table
CommunicationTypeID = Foreign key from CommunicationType table (lists all
communication types)
Destination = field where data is stored (tel number, email address or fax
number etc)

Now the problem is that I want the person registering to be able to select
the Communication Type/s he wants to add and then be able to enter the
relevant information for each selected CommType. There must also be ability
to add 2 of the same CommType.

How can I achieve this as simply and affective as possible on my
registration page.

If you have any solutions are need more information. Please let me know

Many thanx
Garth

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



Re: [PHP] Help needed on php/mysql

2004-11-01 Thread Lists
Seeing the page might help.
On Nov 1, 2004, at 2:52 AM, Garth Hapgood - Strickland wrote:
I have written a registration page in php and have a number of edit 
boxes
and drop-down lists. The lists are pulling data out of their respective
tables, whereas the edit boxes are just for saving data.

Now my main table where all my data is being saved is called Business. 
Onto
this I have a table called BusinessCommunication which has the fields
(BusinessCommunicationID, BusinessID, CommunicationTypeID, 
Destination).

BusinessCommunicationID = Primary Key
BusinessID = Foreign key from Business Table
CommunicationTypeID = Foreign key from CommunicationType table (lists 
all
communication types)
Destination = field where data is stored (tel number, email address or 
fax
number etc)

Now the problem is that I want the person registering to be able to 
select
the Communication Type/s he wants to add and then be able to enter the
relevant information for each selected CommType. There must also be 
ability
to add 2 of the same CommType.

How can I achieve this as simply and affective as possible on my
registration page.
If you have any solutions are need more information. Please let me know
Many thanx
Garth
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

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


[PHP] Help - GUI using PHP

2004-07-20 Thread T UmaShankari
Hi all,
   A GUI having a drwable area and a button in a frame is required. The
points colected by drawing in the drawable area needs to be stored in a
datastructure in php. can we do this using php? If so for
displaying graphics what should be done?
  This GUI has to be embedded in a browser and displayed in any clients
machine. Is it possible?
Thanks in advance,
Regards,
Uma
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Help - GUI using PHP

2004-07-20 Thread Chris Hayes

  A GUI having a drwable area and a button in a frame is required. The
points colected by drawing in the drawable area needs to be stored in a
datastructure in php. can we do this using php? If so for
displaying graphics what should be done?
  This GUI has to be embedded in a browser and displayed in any clients
machine. Is it possible?
PHP works serverside which means that is can do all sorts of things to a 
page BEFORE it is send to the browser, but not while the page is being 
viewed by the user.

For this drawable area you would need to find something which is able to 
interact, options are javascript with DHTML (taking care to be cross 
browser compatible), java (requires user to install java) and there are 
likely to be more candidates. If you take for instance javascript and DHTML 
for the drawable area, this script can then score the points collected in a 
hidden form which then can be submitted to PHP. PHP can store it in many 
databases or in data files.

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


[PHP] HELP TO compile PHP in linux

2003-07-23 Thread Nabil
HI all;

Please help me to compile php as i m not so expert in Linux,
i have one installed php 4.1.2, and i downloaded the 4.3.2 one..

I need to upgrade because i need the new one with iodbc support not
unixODBC.
and i need it with ofcourse ( mysql - gd - iodbc (odbc) - mssql - apache
 )
I have read so many articles all over the web, and i reffered to php.net ...
MY PROBLEM is that i m new to linux and when it come to specify the DIR , i
got lost...
and when i make the ./configure , then make then make install ,, i got
errors always .., i untared the file in /usr/local/src and after everything
done , i echo phpinfo() and i got the version still there !!!

I installed RedHat 7.3 ... the current php that came with redhat is
perfectly working just i need to make mssql and iodbc work... so if there
any other way please help me..

Please help me in details



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



[PHP] HELP PLEASE ! Need PHP Advice !!!

2003-02-27 Thread justin brenton
can anyone give me some good advise on how abouts I should go about
maintaining a newspaper website.

here is what is currently in place and how i want it to be managed

right now the newspapers are published in a quark file from that file
pictures have to be placed in photoshop and resized , croped and what not
and then inserted into a html page, the content i.e text is in this quark
file as well and is copied and pasted into a html file, what i want to do is
have the site automated to some extent so i do not have to be doing all this
copying and pasteing it's a total waste valueable time. what i would like to
have it some way to have a php script to take this info from the quark file
and the pictures and have them either transfered to a html page or to a
database from there i could call from the php script.



ANYONE HAVE ANY IDEAS ON A GOOD WAY TO GO ABOUT THIS ... PLEASE CONTACT ME

[EMAIL PROTECTED]

remove the NOSPAM from address



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



RE: [PHP] HELP PLEASE ! Need PHP Advice !!!

2003-02-27 Thread Victor Stan
First of all, are they paying you to automate or to repurpose the content
for the web? Taking a page designed for print and then automating it into
a page for the web is the wrong approach, your problem is not technical it
is a design problem. Technically it is easy, I think, does Quark not have
XML output? Or I think it is able to save document as HTML for the web too,
then if you want to automate all u have to do is make a script that
includes those pages inside a site shell. I actually wrote something like
this that one could save an html file from word and upload it and it would
be on the site, but again, I think it's a bad idea. You should NOT try to
automate this, you should look into hiring a fulltime repurposing designer,
at LEAST you should read designing Web Usability by Jacob Nielson, then
maybe u get a better idea of what you SHOULD do.

- Vic

-Original Message-
From: justin brenton [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 7:24 AM
To: [EMAIL PROTECTED]
Subject: [PHP] HELP PLEASE ! Need PHP Advice !!!

can anyone give me some good advise on how abouts I should go about
maintaining a newspaper website.

here is what is currently in place and how i want it to be managed

right now the newspapers are published in a quark file from that file
pictures have to be placed in photoshop and resized , croped and what not
and then inserted into a html page, the content i.e text is in this quark
file as well and is copied and pasted into a html file, what i want to do is
have the site automated to some extent so i do not have to be doing all this
copying and pasteing it's a total waste valueable time. what i would like to
have it some way to have a php script to take this info from the quark file
and the pictures and have them either transfered to a html page or to a
database from there i could call from the php script.



ANYONE HAVE ANY IDEAS ON A GOOD WAY TO GO ABOUT THIS ... PLEASE CONTACT ME

[EMAIL PROTECTED]

remove the NOSPAM from address



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

__ 
Post your free ad now! http://personals.yahoo.ca

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



[PHP] Help with Extending PHP

2003-02-27 Thread Michel M. dos Santos


Hi,

I have a doubt about extending functions in PHP. I want to use C++ language 
rather than C pure. I saw that dotnet module has cpp file. Is it possible ?

Thanks a lot,

Michel M. dos Santos

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



Re: [PHP] HELP PLEASE ! Need PHP Advice !!!

2003-02-27 Thread Justin French
Right, well there's a few issues here.

1.

You're asking if there's a way to parse a QXD file so retrieve the text from
it.  I doubt this can be done.  I had a quick google for it, to no luck.  I
also bothered to open up a Quark 3.32 file in my text editor, to check out
the source.  It looks pretty complex.

However, there MAY be some light at the end of the tunnel.

a) PHP *IS* able to read and write PDF format.  Prerhaps if your newspaper
designers export a PDF of the newspaper (relatively easy). you can pick up
the pieces you need through the PDF, rather than the QXD file.

b) What you're really talking about is using one set of data in multiple
ways (web  print, then maybe email, WAP, PDA, etc).  What I'd be aiming to
do is have all the text/content stored in a shared database or easy-to-parse
file format (like XML), so that the writers write to this format, then the
designers copy + paste to Quark, the editors can edit directly in the XML
file or via database GUIs, and people in charge of other content formats
(like web_ can either copy + paste from the central content, or parse it
with a program like PHP.

c) Perhaps your company should look at Adobe InDesign 2 -- I read an article
which briefly discussed it's ability to parse or read from XML files -- so
you could have a simple XML doc:

---
article

id28/id

titleLearning about XML/heading

subtitleI wish I had time to explore this properly!/subtitle

authorJustin French/author

email[EMAIL PROTECTED]/email

keywordsXML,Justin,Foo,Bah,PHP/keywords

content

p class=introIn this article, I'll attempt to show you some blah
blah./p

pParagraph 1/p

pParagraph 2/p

pParagraph 3/p

p class=footerThis is my footer/p

/content

/article
---

I *think* InDesign 2 can take this data, and with the designer's help,
format it to a designed article.

At the very least, you could export some nice clean plain text for the
designer to copy+paste, which is probably what they already do (copy+paste
from Word to Quark.




2. Image files in Quark need to be either TIFF or EPS format.  So, what you
need is a way of copying these files, converting them to JPEGs, GIFs or
PNGs, and resizing them to suit the web.

I don't really know if the image functions in PHP can do this... best left
to others.

You *could* batch convert everything to a RGB JPEG using photoshops batch
processing and actions, THEN get PHP or Photoshop to do the resizing etc.

However, cropping and whatnot of a file is often something that can ONLY
be done by eye... You may never be able to achieve this with automated
computer programs.



Think about the real issue.  Is it taking stuff from quark and messing with
it, or is it having a good clean source of data which can be used many
ways?


Justin French




on 28/02/03 12:24 AM, justin brenton ([EMAIL PROTECTED]) wrote:

 can anyone give me some good advise on how abouts I should go about
 maintaining a newspaper website.
 
 here is what is currently in place and how i want it to be managed
 
 right now the newspapers are published in a quark file from that file
 pictures have to be placed in photoshop and resized , croped and what not
 and then inserted into a html page, the content i.e text is in this quark
 file as well and is copied and pasted into a html file, what i want to do is
 have the site automated to some extent so i do not have to be doing all this
 copying and pasteing it's a total waste valueable time. what i would like to
 have it some way to have a php script to take this info from the quark file
 and the pictures and have them either transfered to a html page or to a
 database from there i could call from the php script.
 
 
 
 ANYONE HAVE ANY IDEAS ON A GOOD WAY TO GO ABOUT THIS ... PLEASE CONTACT ME
 
 [EMAIL PROTECTED]
 
 remove the NOSPAM from address
 
 


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



[PHP] Help with getting php going!

2003-02-27 Thread Karl James









Hey guys I finally got my phpinfo
file to show on apache server

But when I try to do a hello world or browser check I get
a 500 error message

Can anyone help me out, and educate me what Im
doing wrong.





This is my script



html

head

titlePHP
Test/title

/head

body

?php

if
(strstr($_SERVER[HTTP_USER_AGENT],
MSIE)) {

 echo You are
using Internet Explorerbr /;

}

?

/body

 /html



Thanks



ultimatefootballleague.com/index.php

[EMAIL PROTECTED]












Re: [PHP] Help with getting php going!

2003-02-27 Thread Leif K-Brooks




Please don't send MS Word content in your email. It crashed Mozilla before
I was able to reply.

Karl James wrote:
   
  
   
  
 
  
 
  
 
  
  


 
  

  Hey guys I finally got my phpinfo 
file to show on apache server
  
  But when I try to do a hello world or browser check
I get a 500 error message
  
  Can anyone help me out, and educate me what Im 
doing wrong.
  
  
  
   
 
  This
is my script
  
  
  html
  
  head
  
  titlePHP Test/title
  
  /head
  
  body
  
  ?php
  
  if 
(strstr($_SERVER["HTTP_USER_AGENT"], "MSIE"))
{
  
   echo "You are using Internet
Explorerbr /";
  
  }
  
  ?
  
  /body
  
   /html
  
  
  
  Thanks
  

  ultimatefootballleague.com/index.php
  
  [EMAIL PROTECTED]
  
  
  
  
  

-- 
The above message is encrypted with double rot13 encoding.  Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.





[PHP] help with getting php going(2)

2003-02-27 Thread Karl James
Title: Message





Hey guys I finally got my phpinfo file to show on apache server
But when I try to do a hello world or browser check I 
get a 500 error message
Can anyone help me out, and educate me what Im doing 
wrong.


This is my 
script
html
head
titlePHP Test/title
/head
body
?php
if (strstr($_SERVER["HTTP_USER_AGENT"], "MSIE")) 
{
 echo "You are using Internet Explorerbr /";
}
?
/body
 
/html

Thanks

ultimatefootballleague.com/index.php
[EMAIL PROTECTED]



ultimatefootballleague.com/index.php
[EMAIL PROTECTED]



Re: [PHP] help with getting php going(2)

2003-02-27 Thread Kim Kohen
G'day Karl

 Hey guys I finally got my phpinfo file to show on apache server
 But when I try to do a hello world or browser check I get a 500 error
 message

FWIW, I've seen this error when I've had mac line endings instead of unix.

cheers

kim


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



[PHP] Help Need in PHP File Upload

2002-12-10 Thread ppf
Hi:
I need to upload a file during form submittion, I had
done all the coding on my local Linux box It work fine
over here. 
When i moved the code to my Client machine File upload
is not working  well. 
Server side code first check where file upload is
successful by 
is_uploaded_file($HTTP_POST_FILES['file']['tmp_name'])
method, if it is True it will copy it to the
destination folder. 
 Once i hosted this code on my clients machine First
attempt will work successfully, it will copy the file
into the destnation folder. But when i tries to repeat
the form submission process, from second time onwards
unsuccessful.
  I am programmatically creating new folder each time
so there is no chance of over writing issues. 
  Whe i checked the code more care fully, Function
is_uploaded_file($HTTP_POST_FILES['file']['tmp_name'])
returns False 
 I am quite new to Linux env. Is it due to some sought
of permission issue? Or due to Version problem. 
  I am using Php4.0.3 on my local Linux Box and 4.2.3
on Clients machine. I also tested this code on
window's Apache/php4.2.3 It works fine over windows .
 If anybody can point out the error will be a great
Help for me.. Thanks in advance 
  
  Prad

  

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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




RE: [PHP] Help Need in PHP File Upload

2002-12-10 Thread Rich Gray
probably register_globals is off on the client's machine - use $_FILES[][]
instead of $HTTP_POST_FILES[][] BTW I would upgrade your local Linux box
from v.4.0.3 it is pretty old now and unsupported...

Rich
-Original Message-
From: ppf [mailto:[EMAIL PROTECTED]]
Sent: 10 December 2002 13:21
To: [EMAIL PROTECTED]
Subject: [PHP] Help Need in PHP File Upload


Hi:
I need to upload a file during form submittion, I had
done all the coding on my local Linux box It work fine
over here.
When i moved the code to my Client machine File upload
is not working  well.
Server side code first check where file upload is
successful by
is_uploaded_file($HTTP_POST_FILES['file']['tmp_name'])
method, if it is True it will copy it to the
destination folder.
 Once i hosted this code on my clients machine First
attempt will work successfully, it will copy the file
into the destnation folder. But when i tries to repeat
the form submission process, from second time onwards
unsuccessful.
  I am programmatically creating new folder each time
so there is no chance of over writing issues.
  Whe i checked the code more care fully, Function
is_uploaded_file($HTTP_POST_FILES['file']['tmp_name'])
returns False
 I am quite new to Linux env. Is it due to some sought
of permission issue? Or due to Version problem.
  I am using Php4.0.3 on my local Linux Box and 4.2.3
on Clients machine. I also tested this code on
window's Apache/php4.2.3 It works fine over windows .
 If anybody can point out the error will be a great
Help for me.. Thanks in advance

  Prad




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




Re: [PHP] Help with the PHP

2002-11-29 Thread Maxim Maletsky

Try this:

http://www.sourceforge.net/projects/phptriad and dowload there phptriad.
It is a simplified distribution of PHP.

Also, try reading the articles on the web. You might want to start from
PHP Beginner (www.phpbeginner.com). There are also some installtion
tutorials for you.


--
Maxim Maletsky
[EMAIL PROTECTED]



Ted Frank [EMAIL PROTECTED] wrote... :

 Hello,
 
 I am trying to make my free home page and my friend told me to download the 
 php because it is for the web and i want to make a web page. so i downloaded 
 the php with the flash plugin and i put it on my desktop and nothing showed 
 up - i just want to make the free home page but the php does not work - i 
 double click and noting happens
 
 i have the windows 95 with internet exploerer with a pentium 100 drive
 
 what do i do?
 
 Ted
 
 _
 Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
 http://join.msn.com/?page=features/featuredemail
 
 
 -- 
 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




[PHP] Help with the PHP

2002-11-28 Thread Ted Frank
Hello,

I am trying to make my free home page and my friend told me to download the 
php because it is for the web and i want to make a web page. so i downloaded 
the php with the flash plugin and i put it on my desktop and nothing showed 
up - i just want to make the free home page but the php does not work - i 
double click and noting happens

i have the windows 95 with internet exploerer with a pentium 100 drive

what do i do?

Ted

_
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail


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



Re: [PHP] Help with the PHP

2002-11-28 Thread Hatem Ben
Welcome to the new world ;)

before clicking or asking start reading what is PHP (http://www.php.net),
and in what it could be usefull.
then you can getting started here :
http://www.php.net/manual/en/tutorial.php


- Original Message -
From: Ted Frank [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, November 28, 2002 8:47 PM
Subject: [PHP] Help with the PHP


 Hello,

 I am trying to make my free home page and my friend told me to download
the
 php because it is for the web and i want to make a web page. so i
downloaded
 the php with the flash plugin and i put it on my desktop and nothing
showed
 up - i just want to make the free home page but the php does not work - i
 double click and noting happens

 i have the windows 95 with internet exploerer with a pentium 100 drive

 what do i do?

 Ted

 _
 Add photos to your e-mail with MSN 8. Get 2 months FREE*.
 http://join.msn.com/?page=features/featuredemail


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




[PHP] HELP! Problem configuring PHP

2002-07-31 Thread Markas

Hello, people.
So the problem.
I have apache running with php-module.
Recently I've upgraded the 4.0.6 version up to 4.2.2.
All my php configuration directives in httpd.conf (php_flag, php_admin_flag,
php_value, php_admin_value) are not working now. When I change libphp4.so
back to 4.0.6 the directives work, if I use 4.2.2 module - they don't. The
configuration of apache and php.ini are not being changed. The php.ini in
both cases is almost the same.
The configure options of both php-versions seems to be the same.
Where is the problem? Did I miss anything while configuring and installing
4.2.2 php module? I can not find any info in php docs.





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




Re: [PHP] HELP! Problem configuring PHP

2002-07-31 Thread EdwardSPL

Hello !

You may try this installation steps :
http://www.linuxguruz.org/z.php?id=32h=php+mysql+apache

Before the installation steps, please uninstall all of the sources code packages
that you have ever installed...

Markas wrote:

 Hello, people.
 So the problem.
 I have apache running with php-module.
 Recently I've upgraded the 4.0.6 version up to 4.2.2.
 All my php configuration directives in httpd.conf (php_flag, php_admin_flag,
 php_value, php_admin_value) are not working now. When I change libphp4.so
 back to 4.0.6 the directives work, if I use 4.2.2 module - they don't. The
 configuration of apache and php.ini are not being changed. The php.ini in
 both cases is almost the same.
 The configure options of both php-versions seems to be the same.
 Where is the problem? Did I miss anything while configuring and installing
 4.2.2 php module? I can not find any info in php docs.

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




[PHP] Help I killed PHP on mysever...

2002-04-09 Thread Chuck \PUP\ Payne

I have done something stupid and not PHP won't work. Everytime you click on
a link that is .php it wants  you to download the file. What have I done and
how can I fix it.

Chuck Payne


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




RE: [PHP] Help I killed PHP on mysever...

2002-04-09 Thread Martin Towell

um - pray

which OS and web server are you running?

-Original Message-
From: Chuck PUP Payne [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 09, 2002 4:33 PM
To: PHP General
Subject: [PHP] Help I killed PHP on mysever...


I have done something stupid and not PHP won't work. Everytime you click on
a link that is .php it wants  you to download the file. What have I done and
how can I fix it.

Chuck Payne


-- 
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] Help I killed PHP on mysever...

2002-04-09 Thread Chuck \PUP\ Payne

SuSE 7.3(linux) Apache.
on 4/9/02 2:43 AM, Martin Towell at [EMAIL PROTECTED] wrote:

 um - pray
 
 which OS and web server are you running?
 
 -Original Message-
 From: Chuck PUP Payne [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, April 09, 2002 4:33 PM
 To: PHP General
 Subject: [PHP] Help I killed PHP on mysever...
 
 
 I have done something stupid and not PHP won't work. Everytime you click on
 a link that is .php it wants  you to download the file. What have I done and
 how can I fix it.
 
 Chuck Payne
 


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




Re: [PHP] Help I killed PHP on mysever...

2002-04-09 Thread Miguel Cruz

On Tue, 9 Apr 2002, Chuck PUP Payne wrote:
 I have done something stupid and not PHP won't work. Everytime you click on
 a link that is .php it wants  you to download the file. What have I done and
 how can I fix it.

Are you running Apache? Maybe you commented out or deleted this line in 
your httpd.conf file:

   AddType application/x-httpd-php .php

miguel


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




Re: [PHP] Help I killed PHP on mysever...

2002-04-09 Thread phplists

Refer to my earlier post about your AddType entries.. If they are not there,
before you add them, check for a file on your system called mod_php4.conf..
If you find it, it will have the required entries in it already.. If this is
the case, make sure your modules section in httpd.conf is configured
properly to add mod_php.. If your talking about the magidesign.com server
then it looks like your module config is fine.. Just check for the AddType
lines then..

Later,
Bob

Chuck Pup Payne [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 SuSE 7.3(linux) Apache.
 on 4/9/02 2:43 AM, Martin Towell at [EMAIL PROTECTED] wrote:

  um - pray
 
  which OS and web server are you running?
 
  -Original Message-
  From: Chuck PUP Payne [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, April 09, 2002 4:33 PM
  To: PHP General
  Subject: [PHP] Help I killed PHP on mysever...
 
 
  I have done something stupid and not PHP won't work. Everytime you click
on
  a link that is .php it wants  you to download the file. What have I done
and
  how can I fix it.
 
  Chuck Payne
 




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




Re: [PHP] Help I killed PHP on mysever...

2002-04-09 Thread Chuck \PUP\ Payne

You know I can't find mod_php4.c where should that be?

on 4/9/02 2:51 AM, [EMAIL PROTECTED] at [EMAIL PROTECTED]
wrote:

 Refer to my earlier post about your AddType entries.. If they are not there,
 before you add them, check for a file on your system called mod_php4.conf..
 If you find it, it will have the required entries in it already.. If this is
 the case, make sure your modules section in httpd.conf is configured
 properly to add mod_php.. If your talking about the magidesign.com server
 then it looks like your module config is fine.. Just check for the AddType
 lines then..
 
 Later,
 Bob
 
 Chuck Pup Payne [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 SuSE 7.3(linux) Apache.
 on 4/9/02 2:43 AM, Martin Towell at [EMAIL PROTECTED] wrote:
 
 um - pray
 
 which OS and web server are you running?
 
 -Original Message-
 From: Chuck PUP Payne [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, April 09, 2002 4:33 PM
 To: PHP General
 Subject: [PHP] Help I killed PHP on mysever...
 
 
 I have done something stupid and not PHP won't work. Everytime you click
 on
 a link that is .php it wants  you to download the file. What have I done
 and
 how can I fix it.
 
 Chuck Payne
 
 
 
 


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




Re: [PHP] Help I killed PHP on mysever...

2002-04-09 Thread Mika Tuupola

On Tue, 9 Apr 2002, Chuck PUP Payne wrote:

 I have done something stupid and not PHP won't work. Everytime you
 click on a link that is .php it wants  you to download the file. What
 have I done and how can I fix it.

This happens when you recompile and reinstall php as a module
and didn't restart your webserver. 

-- 
Mika Tuupola  http://www.appelsiini.net/~tuupola/


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




Re: [PHP] Help I killed PHP on mysever...

2002-04-09 Thread Chuck \PUP\ Payne

No, I have reinstall. So much I about to throw my box. PHP just wont load
now everything I have work now it lost.

Chuck

on 4/9/02 3:28 AM, Mika Tuupola at [EMAIL PROTECTED] wrote:

 On Tue, 9 Apr 2002, Chuck PUP Payne wrote:
 
 I have done something stupid and not PHP won't work. Everytime you
 click on a link that is .php it wants  you to download the file. What
 have I done and how can I fix it.
 
 This happens when you recompile and reinstall php as a module
 and didn't restart your webserver. 


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




RE: [PHP] Help I killed PHP on mysever...

2002-04-09 Thread James Cox

Chuck,

what exactly is your situation? what has happened, step by step? what OS are
you on?

Thanks,

James
--
James Cox :: [EMAIL PROTECTED] :: Landonize It! http://landonize.it/
Was I helpful?  http://www.amazon.co.uk/exec/obidos/wishlist/23IVGHQ61RJGO/

-Original Message-
From: Chuck PUP Payne [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 09, 2002 8:31 AM
To: Mika Tuupola
Cc: PHP General
Subject: Re: [PHP] Help I killed PHP on mysever...


No, I have reinstall. So much I about to throw my box. PHP just wont load
now everything I have work now it lost.

Chuck

on 4/9/02 3:28 AM, Mika Tuupola at [EMAIL PROTECTED] wrote:

 On Tue, 9 Apr 2002, Chuck PUP Payne wrote:

 I have done something stupid and not PHP won't work. Everytime you
 click on a link that is .php it wants  you to download the file. What
 have I done and how can I fix it.

 This happens when you recompile and reinstall php as a module
 and didn't restart your webserver.


--
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] Help I killed PHP on mysever...

2002-04-09 Thread Chuck \PUP\ Payne

I was install awstats on my work sever. I wanted to add a page so that the
manages could see the stats.

Some how my httpd.conf got zapped, I think because somehow all my virtual
servers had stop working. So I took a back up and edit it. I got them all
back on line but PHP has stop load, every time I click on link that is .php
file. I whats to down load it.

I have check and I do have

AddType application/x-httpd-php .php .phtml .php3 this install

And 

AddType application/x-httpd-php-source .phps

I am SuSE Linux (7.3) and I am running Apache. I have reboot my box I have
looked everywhere I can, but no luck.


on 4/9/02 3:33 AM, James Cox at [EMAIL PROTECTED] wrote:

 Chuck,
 
 what exactly is your situation? what has happened, step by step? what OS are
 you on?
 
 Thanks,
 
 James
 --
 James Cox :: [EMAIL PROTECTED] :: Landonize It! http://landonize.it/
 Was I helpful?  http://www.amazon.co.uk/exec/obidos/wishlist/23IVGHQ61RJGO/
 
 -Original Message-
 From: Chuck PUP Payne [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, April 09, 2002 8:31 AM
 To: Mika Tuupola
 Cc: PHP General
 Subject: Re: [PHP] Help I killed PHP on mysever...
 
 
 No, I have reinstall. So much I about to throw my box. PHP just wont load
 now everything I have work now it lost.
 
 Chuck
 
 on 4/9/02 3:28 AM, Mika Tuupola at [EMAIL PROTECTED] wrote:
 
 On Tue, 9 Apr 2002, Chuck PUP Payne wrote:
 
 I have done something stupid and not PHP won't work. Everytime you
 click on a link that is .php it wants  you to download the file. What
 have I done and how can I fix it.
 
 This happens when you recompile and reinstall php as a module
 and didn't restart your webserver.
 
 
 --
 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




[PHP] Re:[PHP] HELP ME PLEASE: php not run on IIS 4.0

2002-03-25 Thread Liam

25/03/2002 8:27:51 PM

hehehe
You could start with loosing IIS, it's bad news.
The port of Apache for windows is good, if not, Xitami's also quite good.

http://www.apache.org/dist/httpd/binaries/win32/
http://www.xitami.com/

But, no, sorry.  I can't help you.



Berlina [EMAIL PROTECTED] wrote on 25/03/2002 10:19:46 AM:

Hi,

Im trying to install PHP 4.1.2 under Windows 2000 Server and IIS 4.0

* If I configure PHP as a MODULE, all run but SESSIONS DON'T WORK
* If I configure PHP as a CGI, SESSIONS WORK but ORACLE MODULE for PHP not
load

Any ideas?
Anybody can help me?

Advanced thanks,
Berli

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




[PHP] HELP ME PLEASE: php not run on IIS 4.0

2002-03-25 Thread Berlina

Hi,

Im trying to install PHP 4.1.2 under Windows 2000 Server and IIS 4.0

* If I configure PHP as a MODULE, all run but SESSIONS DON'T WORK
* If I configure PHP as a CGI, SESSIONS WORK but ORACLE MODULE for PHP not
load

Any ideas?
Anybody can help me?

Advanced thanks,
Berli

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




[PHP] Help with the PHP patch.

2002-03-02 Thread Sean Kennedy

Hello,

I have PHP 4.1.1 installed on my apache web server, but how do apply the
patch for it? Thanks,

-GENESiS DESiGNS
-Sean Kennedy
-http://www.gdesigns.vcn.com


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




[PHP] Help required MySql + PHP

2001-12-05 Thread Karthikeyan

Dear Members,
I installed RedHat 7.1, Apache, PHP4 and MySQL in a Intel Pentium processor
system.
Everything works fine (i.e. MySQL, PHP, etc). But when I want to connect
MySQL through PHP. It is giving an error 'call to unknown function
mysql_connect in line in __' .
Can any one provide a solution.
Thanks in advance
yours
Karthikeyan


-- 
PHP General 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]




[PHP] Help converting ASP-PHP

2001-10-19 Thread MrBaseball34

PHP Newbie, so please don't flame me bg!

I am converting an organizer example from an ASP book to PHP
and need some help.

Need some help with the following code :

/*
 intMonth and intYear are variables passed into a function
 datCurrent, intCurrentMonthDays and intWorkDays are local 
 variables
*/

   datCurrent = CDate(intMonth  /1/  intYear)
   intCurrentMonthDays = _
  Day(DateAdd(d, -1, DateAdd(m, 1, datCurrent)))
   intWeekday = Weekday(datCurrent)

I can't find any PHP functions to handle this type of day/date
manipulation...

-- 
PHP General 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]




[PHP] Help - error loading PHP into Apache

2001-09-26 Thread Michael Champagne

Help!

I'm trying to install a development Apache + PHP environment on the same
machine as our test environment (Apache + mod_SSL + PHP).  I followed the same
procedure that I used to set up our test system (which works fine) and
everything compiles and builds fine.  However when I try to start up Apache I
get:

Syntax error on line 236 of /usr/local/apache/dev/conf/httpd.conf:
Cannot load /usr/local/apache/dev/libexec/libphp4.so into server:
/usr/local/apache/dev/libexec/libphp4.so: undefined symbol: mm_create
./apachectl start: httpd could not be started

The mm library was configured like this:
./configure --disable-shared --prefix=/usr/local/mm
make
make test
make install

Apache was configured like this:
EAPI_MM=/usr/local/mm \
./configure --prefix=/usr/local/apache/dev  --enable-module=most \
  --enable-shared=max

PHP was installed like this:
./configure --with-apxs=/usr/local/apache/dev/bin/apxs --without-mysql \
  --with-oci8=/oracle --with-gd --with-mm=/usr/local/mm

I have tried recompiling this several times with the same error message.  The
only difference between this setup and the other Apache setup on this machine
is the other (working) one has mod_SSL installed and enabled.  Does anyone see
what my problem is here?

Thanks in advance for any replies,

-- 
Michael Champagne, Software Engineer
Capital Institutional Services, Inc.
wk: [EMAIL PROTECTED]
hm: [EMAIL PROTECTED]



**
This communication is for informational purposes only.  It is not
intended as an offer or solicitation for the purchase or sale of 
any financial instrument or as an official confirmation of any 
transaction, unless specifically agreed otherwise.  All market 
prices, data and other information are not warranted as to 
completeness or accuracy and are subject to change without
notice.  Any comments or statements made herein do not 
necessarily reflect the views or opinions of Capital Institutional
Services, Inc.  Capital Institutional Services, Inc. accepts no
liability for any errors or omissions arising as a result of
transmission.  Use of this communication by other than intended
recipients is prohibited.
**

-- 
PHP General 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]




[PHP] Help me install php in netscape web server ...

2001-07-10 Thread Nguyen Thanh Tung

  I use php4.0.6, zip file. 
  I install PHP in Netscape as shellcgi, it ran Ok. But now I want to install it as 
NSAPI, I do all thing but php not run. ( I do the same as introducing in readme.txt) 
  I installed PHP in Netscape Enterprise Web Server run on Win2000 advance server.
  Please tell me how to overcome...
 Thank alot


-- 
PHP General 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]




[PHP] Help with a php Registration Form

2001-04-17 Thread Michael Leone

I am trying to write a Registration form that send an email to a specific 
address.
The source to the page is at http://www.probesnj.org/etownreg.txt
Its 400 lines long and I probably just spelled something wrong or missed a 
semi-colon, but I can't find it and I would appreciate it anyone who has 5 
minutes to spare could take a look at it. Thanks a bunch!

Michael Leone


-- 
PHP General 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]




Re: [PHP] Help with a php Registration Form

2001-04-17 Thread Kurth Bemis

At 01:35 PM 4/17/2001, Michael Leone wrote:

whats the problem taht you having?

I am trying to write a Registration form that send an email to a specific 
address.
The source to the page is at http://www.probesnj.org/etownreg.txt
Its 400 lines long and I probably just spelled something wrong or missed a 
semi-colon, but I can't find it and I would appreciate it anyone who has 5 
minutes to spare could take a look at it. Thanks a bunch!

Michael Leone


--
PHP General 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]



-- 
PHP General 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]




Re: [PHP] Help with a php Registration Form

2001-04-17 Thread Kurth Bemis

At 01:44 PM 4/17/2001, Michael Leone wrote:

double check ALL of your for loops as well as any place that you may have 
used a curly bracket.

~kurth

Im getting this pesky parse error at line 392 which is the last line of 
the document.
At 01:40 PM 4/17/2001 -0400, you wrote:
At 01:35 PM 4/17/2001, Michael Leone wrote:

whats the problem taht you having?

I am trying to write a Registration form that send an email to a 
specific address.
The source to the page is at http://www.probesnj.org/etownreg.txt
Its 400 lines long and I probably just spelled something wrong or missed 
a semi-colon, but I can't find it and I would appreciate it anyone who 
has 5 minutes to spare could take a look at it. Thanks a bunch!

Michael Leone


--
PHP General 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]


--
PHP General 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]



-- 
PHP General 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]




[PHP] HELP...Installation of PHP on Debian Linux!

2001-04-09 Thread Frank K


I am having trouble installing PHP4 on my linux machine. I downloaded to source
and i did a ./configure then a make then a make install. That all went good.
Now i am trying to find the libphp4.so file. I did a couple search commands but
it could not find it. Can anyone help me with finding this file...like where it
was installed on your machine. I uncompressed it in my home directory
/home/username 

Thanks,
-Frank

-- 
PHP General 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]




Re: [PHP] HELP...Installation of PHP on Debian Linux!

2001-04-09 Thread Kurth Bemis

At 12:48 PM 4/9/2001, Frank K wrote:

RTFM!

read the fscking manual...it explains everything in the "installation" section

~kurth


I am having trouble installing PHP4 on my linux machine. I downloaded to 
source
and i did a ./configure then a make then a make install. That all went good.
Now i am trying to find the libphp4.so file. I did a couple search 
commands but
it could not find it. Can anyone help me with finding this file...like 
where it
was installed on your machine. I uncompressed it in my home directory
/home/username

Thanks,
-Frank

--
PHP General 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]


-- 
PHP General 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]




Re: [PHP] HELP...Installation of PHP on Debian Linux!

2001-04-09 Thread Wayne Topa


Subject: [PHP] HELP...Installation of PHP on Debian Linux!
Date: Mon, Apr 09, 2001 at 11:48:17AM -0500

In reply to:Frank K

Quoting Frank K([EMAIL PROTECTED]):
 
 I am having trouble installing PHP4 on my linux machine. I downloaded to source
 and i did a ./configure then a make then a make install. That all went good.

Why?

 Now i am trying to find the libphp4.so file. I did a couple search commands but
 it could not find it. Can anyone help me with finding this file...like where it
 was installed on your machine. I uncompressed it in my home directory
 /home/username 
 
 Thanks,
 -Frank

On debian (2.0 and above) an 'apt-get install php4' is all you have to
do.  Apt-get installs all of the dependices.

dpkg -S libphp4.so  gives
php4: /usr/lib/apache/1.3/libphp4.so

no need to bother with getting the source, etc, on Debian.  It's not
like Slackware!

-- 
Will the information superhighway have any rest stops?
___

-- 
PHP General 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]




[PHP] Help, Perl can, Php can't !

2001-02-26 Thread Chris


I am trying to post some info to my php script using the microsoft internet control:

strurl = http://www.myserver.com/test.asp
strdata = "lah=sddta=test
Inet1.Execute strurl, "POST", strdata

PHP returns HTTP_POST_VARS as being empty.
Yet, if I use PERL, I can read the posted info just fine.

PHP does work fine with normal php forms.

Why can PERL recognize my data, but PHP not, how are they handling the posted info 
differently?

Is there a way I can get PHP to display the raw data that the script receives so I can 
see what is happening?

Thanks for any help, 
Chris




Re: [PHP] Help, Perl can, Php can't !

2001-02-26 Thread David Raufeisen

Put phpinfo() in the script to see what is going on..


On Monday, 26 February 2001, at 09:12:11 (-0800),
Chris wrote:

 
 I am trying to post some info to my php script using the microsoft internet control:
 
 strurl = http://www.myserver.com/test.asp
 strdata = "lah=sddta=test
 Inet1.Execute strurl, "POST", strdata
 
 PHP returns HTTP_POST_VARS as being empty.
 Yet, if I use PERL, I can read the posted info just fine.
 
 PHP does work fine with normal php forms.
 
 Why can PERL recognize my data, but PHP not, how are they handling the posted info 
differently?
 
 Is there a way I can get PHP to display the raw data that the script receives so I 
can see what is happening?
 
 Thanks for any help, 
 Chris
 

-- 
David Raufeisen [EMAIL PROTECTED]
Cell: (604) 818-3596

-- 
PHP General 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]




Re: [PHP] Help, Perl can, Php can't !

2001-02-26 Thread Chris


Unfortuanetly, phpinfo is not telling me anything.
It returns all the normal info, but it still seems to act like there was no
data posted.


 Put phpinfo() in the script to see what is going on..


 On Monday, 26 February 2001, at 09:12:11 (-0800),
 Chris wrote:

 
  I am trying to post some info to my php script using the microsoft
internet control:
 
  strurl = http://www.myserver.com/test.asp
  strdata = "lah=sddta=test
  Inet1.Execute strurl, "POST", strdata
 
  PHP returns HTTP_POST_VARS as being empty.
  Yet, if I use PERL, I can read the posted info just fine.
 
  PHP does work fine with normal php forms.
 
  Why can PERL recognize my data, but PHP not, how are they handling the
posted info differently?
 
  Is there a way I can get PHP to display the raw data that the script
receives so I can see what is happening?
 
  Thanks for any help,
  Chris
 

 --
 David Raufeisen [EMAIL PROTECTED]
 Cell: (604) 818-3596

 --
 PHP General 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]


-- 
PHP General 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]




Re: [PHP] Help, Perl can, Php can't !

2001-02-26 Thread Chris

Strange,
phpinfo is showing this:
POST /members/plurp.asp HTTP/1.1
and a content length of 16, which is exactly right forlah=sddta=test
but I can't seem to get to the actual data.
Is there a way to see the acutal content data, like you can with perl:

read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});


 Put phpinfo() in the script to see what is going on..


 On Monday, 26 February 2001, at 09:12:11 (-0800),
 Chris wrote:

 
  I am trying to post some info to my php script using the microsoft
internet control:
 
  strurl = http://www.myserver.com/test.asp
  strdata = "lah=sddta=test
  Inet1.Execute strurl, "POST", strdata
 
  PHP returns HTTP_POST_VARS as being empty.
  Yet, if I use PERL, I can read the posted info just fine.
 
  PHP does work fine with normal php forms.
 
  Why can PERL recognize my data, but PHP not, how are they handling the
posted info differently?
 
  Is there a way I can get PHP to display the raw data that the script
receives so I can see what is happening?
 
  Thanks for any help,
  Chris
 

 --
 David Raufeisen [EMAIL PROTECTED]
 Cell: (604) 818-3596

 --
 PHP General 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]


-- 
PHP General 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]




Re: [PHP] Help!Opening another php file from a link of a completed form.

2001-02-19 Thread Richard Lynch

  echo "Or click a href='http://mysite/b.php'here/a to input the
details
 of your product.";

echo "Or click a href='http://mysite/b.php?product_id=$product_id'here/a
to input the details of your product.";

This assumes you are using $product_id for your product ID in the current
page and in b.php...


 I've made a blank (uncoded) page of "b.php" and one of the field is
product
 name.
 If i want the "b.php" page being opened up with the product name already
 filled with the value entered by user in "a.php", what should i do to
 achieve it?

 Please help!!
 Thanks

 Edith Lai






 --
 PHP General 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]



-- 
PHP General 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]




[PHP] Help!Opening another php file from a link of a completed form.

2001-02-18 Thread Edith Lai

I'd like to achieve something like this:

I've made a form let say "a.php" and when user submitted it, the following
code display the thank you page:

 // Form completed
 echo "Thank you! Information entered.";
 echo "Please click a href='http://mysite/a.php'here/a to input another
product.";
 echo "Or click a href='http://mysite/b.php'here/a to input the details
of your product.";

I've made a blank (uncoded) page of "b.php" and one of the field is product
name.
If i want the "b.php" page being opened up with the product name already
filled with the value entered by user in "a.php", what should i do to
achieve it?

Please help!!
Thanks

Edith Lai






-- 
PHP General 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]




Re: [PHP] HELP!!! PDFLIB FOR PHP!!!!!

2001-01-24 Thread Richard Lynch

I think you can get the SDK from adobe.com
Search for "fDF" I think.
You may wish to specify your OS in your next plea, so people can help more.

--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
- Original Message -
From: Bruno Freire [EMAIL PROTECTED]
Newsgroups: php.general
Sent: Wednesday, January 24, 2001 10:42 AM
Subject: [PHP] HELP!!! PDFLIB FOR PHP!


 I need learn how to install this library to create pdf files
dinamicaly.!!!



-- 
PHP General 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]