[PHP-DEV] CVS Account Request: feixin

2002-07-12 Thread feixin

php

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




[PHP-DEV] RE: [PHP-WIN] PHP meetup [CROSS-POST] Meet other PHP Developers in Your Area

2002-07-12 Thread C. Hendrie

Tho, when you think about it, most PHP developers COULD use a dating
service. :)

Seriously tho, this is a good idea. Thanks for the info Jay.
~ Chris
D.O.D

-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]] 
Sent: Friday, July 12, 2002 12:24 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [PHP-WIN] PHP meetup [CROSS-POST] Meet other PHP Developers in
Your Area

No, it's not a dating service :)
Want to meet other PHP developers in your area? Check out:

http://php.meetup.com/

Pretty nifty idea... especially given the lack of user groups in the
U.S.
[/snip]

I thought for others who had not seen this I would post this. There is
probably already a user group in your area if you live near a major
city.
According to the PHPusergroups.org web site
[http://www.phpusergroups.org/groups.phtml?menu=groups] there 189 PHP
user
groups in 52 countries.

Jay

"Chaos, panic & disorder.my work here is done!"



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

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




Re: [PHP-DEV] Re: functions of ext not available

2002-07-12 Thread fabwash

hi,

functions should be in lowercase everywhere. When you have a function call,
the Zend engine will automatically lowercase it, then check if it exists in
its table of functions. If your function is uppercased, that won't work.
There is no problem with underscores. It is better to name functions like
"xxx_xxx" anyway.

Fab.

- Original Message -
From: "Ron Lange" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, July 12, 2002 6:16 PM
Subject: [PHP-DEV] Re: functions of ext not available


> I am really tired. I just changed the function names into the xxx_xxx
form,
> and it is going fine. Why doesn't anybody told me that xxxXXX naming isn't
> "very useful"???
> Good night
> Ron
>
>
> --
> PHP Development Mailing List 
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

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




[PHP-DEV] SAPI help needed

2002-07-12 Thread fabwash

Hi all,

i'm developing an SAPI for our webserver and i'm having trouble linking everything 
correctly. What I have setup is an sapi directory called iTPWS: 
/usr//php-4.2.1/sapi/iTPWS

I have the following config.m4:

PHP_SAPI=iTPWS
PHP_LIBS=/usr/lib/libcgi.a
INSTALL_IT="\$(INSTALL) -m 0755 $SAPI_PROGRAM \$(INSTALL_ROOT)\$(bindir)/php

libcgi.a contains the main procedure. My sapi extension doesn't have a call to "int 
main()" but libcgi.a does contain the main procedure.

When I compile, I get a php object which contains absolutely nothing (no main, no 
nothing). libphp4.a in ./libs is big but it's not linked to php. My sapi object is not 
linked either.

What am I missing?

I want to create an executable, main() being in /usr/lib/libcgi.a

Help!

Fab.



Re: [PHP-DEV] Re: functions of ext not available

2002-07-12 Thread derick

On Sat, 13 Jul 2002, Ron Lange wrote:

> I am really tired. I just changed the function names into the xxx_xxx form, 
> and it is going fine. Why doesn't anybody told me that xxxXXX naming isn't 
> "very useful"???

It's just that uppercase letters dont work as expected... and the 
standard naming scheme for PHP extensions is the xxx_xxx_xxx style 
anyway.

Derick

---
 Did I help you?   http://www.derickrethans.nl/link.php?url=giftlist
 Frequent ranting: http://www.derickrethans.nl/
---
 PHP: Scripting the Web - [EMAIL PROTECTED]
All your branches are belong to me!
SRM: Script Running Machine - www.vl-srm.net
---


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




[PHP-DEV] Re: functions of ext not available

2002-07-12 Thread Ron Lange

I am really tired. I just changed the function names into the xxx_xxx form, 
and it is going fine. Why doesn't anybody told me that xxxXXX naming isn't 
"very useful"???
Good night
Ron


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




[PHP-DEV] functions of ext not available

2002-07-12 Thread Ron Lange

Hi guys,
I've successfully compiled my extension into php and apache...the test php 
file phpize generated (without dl()) shows:

Functions available in the test extension:
indi_newSession
indi_closeSession
indi_sessionExists
indi_startSearch
indi_viewThumb
indi_viewImage

But if I actually want to use the functions, I get for example:

Fatal error:  Call to undefined function:  indi_sessionexists() in 
/usr/local/apache/htdocs/indi/image.php on line 3

??? A look into the symbol table of libphp4.a shows the existence of my 
whole extension. No compile warnings or errors. No typos. 
Can anybody teach me the miracles of php build-in extensions?
Regards
Ron

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




[PHP-DEV] PHP meetup [CROSS-POST] Meet other PHP Developers in Your Area

2002-07-12 Thread Jay Blanchard

No, it's not a dating service :)
Want to meet other PHP developers in your area? Check out:

http://php.meetup.com/

Pretty nifty idea... especially given the lack of user groups in the U.S.
[/snip]

I thought for others who had not seen this I would post this. There is
probably already a user group in your area if you live near a major city.
According to the PHPusergroups.org web site
[http://www.phpusergroups.org/groups.phtml?menu=groups] there 189 PHP user
groups in 52 countries.

Jay

"Chaos, panic & disorder…my work here is done!"



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




Re: [PHP-DEV] Going on vacation

2002-07-12 Thread Brad LaFountain

Thats not allowed andi! :)

 - Brad

--- Andi Gutmans <[EMAIL PROTECTED]> wrote:
> Hey,
> 
> I'm going on a four day computer-less vacation starting tomorrow morning so 
> I won't be reading my Email.
> If you guys send patches for the Engine 2 or other queries please give me 
> some time to reply when I get back. I'll look them over ASAP.
> 
> Thanks,
> Andi
> 
> 
> -- 
> PHP Development Mailing List 
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


__
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

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




[PHP-DEV] Final Year Computer Science Project involving PHP

2002-07-12 Thread Serdar Sokmen

Hi,

Please read the rest of this email if you're interested in helping final
year

Computer Science student (yes, that's me...) by giving him some ideas on his
final

year project very possible involving PHP and SQL...

I will start next autumn my third year of Computer Science studies. I have
to carry

out a large programming project in this final year. These projects are
supervised

and assessed via a dissertation and an oral presentation. The project alone
counts

for 20% of my whole degree, so it is quite important.

A variety of project proposals have been made available for our
consideration

already but they all look very dull and boring. We are also encouraged to
come up

with our own project ideas.

The onus is on us to define the problem boundaries, to investigate possible

solutions, and to present the results verbally, in writing and (possibly) to

demonstrate in action. They like having projects that find solutions (or
improve a

current sloution) real life problems.

This summer, I am doing an internship in a Swiss IT company, working on a
Content

Management System implemented with PHP and MySQL. This will obviously give
me some

valuable experience with these languages (I sort of already learn them quite

well...) and most of our tuition in Uni is based on Java.

If you can think of an interestin final year project involving hese
languages, it

would be very kind to share it with me... In order to obtain a very high
mark, the

project needs to be challenging. For example, having an e-commerce web-site
using a

Database is seen as a "weak", non-innovative project...


Many Thanks for your time

Serdar Sokmen
[EMAIL PROTECTED]






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




Re: [PHP-DEV] Help pls!! mail() function header problems

2002-07-12 Thread Hartmut Holzgraefe

Thomas "omega" Henning wrote:
> And as you see From: [EMAIL PROTECTED] is in the header section of the
> mail() function.
> What can I do to fix this problem?

#1 read the docs
#2 ask the php-general@ list, not the php-dev@ list
php-dev is about development of future version
of php, not about doing developement with php,
our native language is more like C around here ;)

from the mail() manual page: ( http://php.net/mail )

[...]
  The additional_parameters parameter can be used to pass additional
parameters to the program configured to use when sending mail using
the sendmail_path  configuration setting. For example, this can be
used to set the envelope sender address when using sendmail. You may
need to add the user that your web server runs as to your sendmail
configuration to prevent a 'X-Warning' header from being added to
the message when you set the envelope sender using this method.

Example 3. Sending mail with extra headers and setting an additional command line 
parameter.

mail("[EMAIL PROTECTED]", "the subject", $message,
  "From: webmaster@$SERVER_NAME", "-fwebmaster@$SERVER_NAME");

Note: This fifth parameter was added in PHP 4.0.5.
[...]

-- 
Hartmut Holzgraefe  [EMAIL PROTECTED]  http://www.six.de/ +49-711-99091-77


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