Re: [PHP] Authentication Question

2002-01-14 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * On 14-01-02 at 09:48 * Ben Clumeck said I am new to MySQL and PHP. I am wondering how Authentication through PHP and MySQL. How does a username and password now where to take that user? An example is online banking. You enter your

[PHP] Re: How to get a function backtrace?

2002-01-14 Thread Martin Wickman
Stefan Rusterholz wrote: Im not sure if function-backtrace is the correct word for what I need, so I'll explain: If I have for example What you are looking for is a stacktrace, ie the stack of called functions. Dunno if php has any support for it, but it is normally used when debugging

Re: [PHP] Setting up an XML platform/website

2002-01-14 Thread Jon Farmer
Is anyone interested in setting up an XML platform for PHP, where the use of XML is explained, with sample PHP/XML applications and in-depth real live tutorials? Since lot's of people underestimate the power of XML. Maybe, it's nice to be ready when Microsoft's dotNet crashes in and launches

Re: [PHP] Re: How to get a stacktrace? (was how to get a function backtrace)

2002-01-14 Thread Stefan Rusterholz
hmmm, i spent now a lot of time searching for such a function (discovering many many to me unknown but interesting functions :) - but it seems that there is no such function. And yes: I wanted to use it for debugging stuff. I have a lot of recursive functions and callback functions and it's

RE: [PHP] Re: How to get a stacktrace? (was how to get a function backtrace)

2002-01-14 Thread Neil Kimber
There is no native PHP function for getting a stack trace. This has been discussed many times on the PHP-DEV mailing list. It has always been discarded due to an unacceptable overhead that would be introduced into the parsing process. I'm not sure if any decision has been made with respect to the

[PHP] Passing variables with include()

2002-01-14 Thread Imar de Vries
Hi all, at this moment I am working on a script that calculates standings of our online racing competition. In order to do that, I have to connect to a database on a remote server. I have read in the php manual that [quote] When a file is include()ed, the code it contains inherits the variable

Re: [PHP] Passing variables with include()

2002-01-14 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * On 14-01-02 at 13:01 * Imar de Vries said Hi all, Hello! at this moment I am working on a script that calculates standings of our online racing competition. In order to do that, I have to connect to a database on a remote server.

[PHP] Re: Passing variables with include()

2002-01-14 Thread Tino Didriksen
include(http://www.someremote.server/calculate_drivers.php;); Very simple really: You cannot include remote files... --|-- Tino Didriksen http://ProjectJJ.dk/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] Passing variables with include()

2002-01-14 Thread Stefan Rusterholz
- Original Message - From: Imar de Vries [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 14, 2002 12:53 PM Subject: [PHP] Passing variables with include() Hi all, at this moment I am working on a script that calculates standings of our online racing competition. In

Re: [PHP] Re: Passing variables with include()

2002-01-14 Thread Stefan Rusterholz
Sure you can. Right out from the manual: If URL fopen wrappers are enabled in PHP (which they are in the default configuration), you can specify the file to be include()ed using an URL instead of a local pathname. See Remote files and fopen() for more information. best regards Stefan Rusterholz

[PHP] open a New Window

2002-01-14 Thread Simos Varelakis
Hi to everybody I wonder if is posiblle to open a new predefined size window (new html page) with php code. Thanks in advance for your time. Best Regards Simos

[PHP] Creating rich interfaces for web applications??

2002-01-14 Thread Geoff Caplan
Hi folks I have been looking for a practical way to create rich dynamic forms in the client using PHP, and would appreciate any pointers to workable approaches. With the launch of .Net I suspect that customer expectations are going to change, and good old plain HTML will begin to look dated. I

[PHP] Re: Passing variables with include()

2002-01-14 Thread Imar de Vries
A lot of different answers, which I will respond to: - The variable is definately set before the include call is made, there is no doubt about that at all :) - Including remote files *is* possible. The php manual does not mention this does not work, and when I add the variable to the call

Re: [PHP] open a New Window

2002-01-14 Thread Henning Sprang
Simos Varelakis wrote: Hi to everybody I wonder if is posiblle to open a new predefined size window (new html page) with php code. This won't work with PHP, only with JavaScript Code which may be dynamically outputted by php, which means, you could open windows with a piece of

Re: [PHP] Creating rich interfaces for web applications??

2002-01-14 Thread Henning Sprang
Geoff Caplan wrote: Hi folks I have been looking for a practical way to create rich dynamic forms in the client using PHP, and would appreciate any pointers to workable approaches. With the launch of .Net I suspect that customer expectations are going to change, and good old plain HTML

[PHP] Re: Passing variables with include()

2002-01-14 Thread Imar de Vries
Imar De Vries wrote: - Including remote files *is* possible. The php manual does not mention this does not work, and when I add the variable to the call (include /calculate_drivers?serie_id=3.php) the code is processed perfectly. The thing is, I can not pass the variable with the call,

Re: [PHP] open a New Window

2002-01-14 Thread Rambo Amadeus
no, its not possible. Try javascript - Original Message - From: Simos Varelakis [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: 14. sijeanj 2002 14:08 Subject: [PHP] open a New Window Hi to everybody I wonder if is posiblle to open a new predefined size window (new html page) with

[PHP] Re: Passing variables with include()

2002-01-14 Thread Martin Wickman
Imar De Vries wrote: Imar De Vries wrote: - Including remote files *is* possible. The php manual does not mention this does not work, and when I add the variable to the call (include /calculate_drivers?serie_id=3.php) the code is processed perfectly. The thing is, I can not pass the

Re: [PHP] Re: Passing variables with include()

2002-01-14 Thread Scott Houseman
Hi Al. While we are on topic, what are the key differences between include() require() ? Cheers Scott - Original Message - From: Martin Wickman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 14, 2002 3:40 PM Subject: [PHP] Re: Passing variables with include() Imar

Re: [PHP] Re: Passing variables with include()

2002-01-14 Thread Stefan Rusterholz
Since some time there has only one difference left (don't know at which version it changed): include causes a warning and require an error on fail. (very useful for debugging - require your error-handler and include everything else) best regards Stefan Rusterholz - Original Message -

Re: [PHP] Re: Passing variables with include()

2002-01-14 Thread Martin Wickman
Scott Houseman wrote: Hi Al. While we are on topic, what are the key differences between include() require() ? Unlike include(), require() will always read in the target file, even if the line it's on never executes. If you want to conditionally include a file, use include(). The

[PHP] Re: Creating rich interfaces for web applications??

2002-01-14 Thread John Lim
Hi Geoff, Have a look at phpLens at http://phplens.com/ It's a commercial php software that my company wrote that allows you to perform sort/filter/edit and validation too on your data. Many of our customers are using on Intranets/Extranets. Works well with NN 4/6 and IE browsers. Regards,

[PHP] problem with apache php module on solaris

2002-01-14 Thread Gino Paoletti
Hi, I met some problems starting apache with php module on solaris 8. Apache is so configured: --prefix=/usr/local/apache-np --enable-shared=max The httpd -l response is: Compiled-in modules: http_core.c mod_so.c Php indeed: ./configure --prefix=/usr/local/apache-np

Re: [PHP] Re: Passing variables with include()

2002-01-14 Thread Stefan Rusterholz
Scott Houseman wrote: Hi Al. While we are on topic, what are the key differences between include() require() ? Unlike include(), require() will always read in the target file, even if the line it's on never executes. If you want to conditionally include a file, use include(). The

Re: [PHP] problem with apache php module on solaris

2002-01-14 Thread Dennis Moore
I think you need to add the apache module extensions to your apache configuration. try adding --enable-apxs or --with-apxs (I can remember the exact syntax) to the apache configure. - Original Message - From: Gino Paoletti [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January

Re: [PHP] CSS Editors

2002-01-14 Thread Geoff Caplan
Hi TopStyle - http://www.bradsoft.com I endorse that - it is an excellent product. And for casual use, they have a free version with nags. Geoff Caplan Advantae.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: [PHP] Passing variables with include()

2002-01-14 Thread Rick Emery
Does http://www.someremote.server/calculate_drivers.php; contain a function? If so, you may have to declare $serie_id as global within it. -Original Message- From: Imar de Vries [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 5:53 AM To: [EMAIL PROTECTED] Subject: [PHP]

[PHP] in-browser WYSIWYG html editor

2002-01-14 Thread Serge
Hi, I'm setting up a website and one of the needs is a good in-browser WYSIWYG editor. I want to be able that people with no HTML knowledge can manage to edit format content. I've looked at several utilities, such as the one used in postnuke. I need something with more image manipulation

[PHP] Re: strtok bug

2002-01-14 Thread Robert Mena
Hi Manuel and all developers. I understand that the implementation of strtok was broken (non POSIX compliant) but since it has been like this for ages would be better to give a chance to developers worldwide (that has been using and relied on this broken implementation) to control the behaviour

Re: [PHP] Creating rich interfaces for web applications??

2002-01-14 Thread Geoff Caplan
Oops - forgot to send this to the list... Henning aehm, above you are talking client-side, now here Java/Tomcat /PHP, it's all server side... what is your _real_ problem? Creating Lists and all that sort of things which are easily to program and maintain for developers - either client or

[PHP] help using ereg_replace()

2002-01-14 Thread Erik Price
Hello everyone, I am trying to learn how to use ereg_replace(), but I don't seem to be doing it correctly. $phone is a 10-digit string. I want to perform the following: $phone = ereg_replace(.{10}, [part where I am confused], $phone); I would like the output to be $phone = (555) 555-;

Re: [PHP] Creating rich interfaces for web applications??

2002-01-14 Thread Geoff Caplan
Henning I did not work a lot with applications in PHP-GTK until now to say something about speed and reliability ( the list may answer those questions, i am only working on the translation of the manual for now), but I think it's worth a look at, and i know there are already some people out

Re: [PHP] CSS Editors

2002-01-14 Thread Erik Price
That looks cool -- is there anything like it that uses Tk or GTK? On Monday, January 14, 2002, at 09:52 AM, Geoff Caplan wrote: Hi TopStyle - http://www.bradsoft.com I endorse that - it is an excellent product. And for casual use, they have a free version with nags. Geoff Caplan

Re: [PHP] help using ereg_replace()

2002-01-14 Thread Jimmy
Hi Erik, $phone is a 10-digit string. I would like the output to be $phone = (555) 555-; you don't need regex to do that. just insert add ( to the beginning of $phone, add ) to the 4th position, and - to the 4th position from behind, using substr_replace() function. anyway if you

[PHP] Re: help using ereg_replace()

2002-01-14 Thread liljim
Hello Erik, Hello everyone, I am trying to learn how to use ereg_replace(), but I don't seem to be doing it correctly. $phone is a 10-digit string. I want to perform the following: $phone = ereg_replace(.{10}, [part where I am confused], $phone); I would like the output to be

Re: [PHP] Re: help using ereg_replace()

2002-01-14 Thread Erik Price
liljim, Thanks for the advice (and especially the explanation!) -- I note that you chose the Perl regexp engine rather than the e regexp engine (POSIX?). Quite a few people recommended O'Reilly's Mastering Regular Expressions over the weekend. Does anyone know if it covers the Perl

Re: [PHP] Re: help using ereg_replace()

2002-01-14 Thread liljim
Hi Erik, Thanks for the advice (and especially the explanation!) -- I note that you chose the Perl regexp engine rather than the e regexp engine (POSIX?). Quite a few people recommended O'Reilly's Mastering Regular Expressions over the weekend. Does anyone know if it covers the Perl

RE: [PHP] Re: help using ereg_replace()

2002-01-14 Thread Bart Brinkmann
I own and have read Mastering Regular Expressions (excellent book). I've programmed perl for 3 years and have recently started migrating one of my projects into php. I can't stand ereg, I prefer preg. While functions such as substitute and match differ in syntax from perl to php, this book will

Re: [PHP] Creating rich interfaces for web applications??

2002-01-14 Thread Henning Sprang
Geoff Caplan wrote: Henning I did not work a lot with applications in PHP-GTK until now to say something about speed and reliability ( the list may answer those questions, i am only working on the translation of the manual for now), but I think it's worth a look at, and i know there are

[PHP] Image Fields and PHP...

2002-01-14 Thread Gonzalez, Zara E
Not sure if this is off topic for this list or not, but thought I would try... I have a Linux server running Redhat 7.0, PHP 4.1.1, and freetds 0.53. My Linux server connects to a Win2k server running MSSQL 2000. Everything works wonderfully, except, I have an image field in one of my tables

[PHP] Header problem

2002-01-14 Thread Petr Rezek
Here is my question. I wrote a script, which gets parameters from db about document (location on disc, hashed filename and original filename). Then script open this file a send it to user. I use this headers Header(Content-Type: application/download\n); Header(Content-Disposition:

[PHP] in-browser wysiwyg html editor

2002-01-14 Thread Serge
Hi, I'm looking for an in-browser html editor. I've got the scripts used in postnuke and ariadne... But i need more image possibilities. such as image listing of images on a certain directory on the server. I know that activedit from cfdev does it but imho a bit to expensive.

Re: [PHP] Header problem

2002-01-14 Thread Krzysztof Kocjan
It seems to be bug in IE/Netscape/Other www browser on Mac, that's all. Header wasn't correct interpreted. I had similar problem with NETSCAPE 6 on Windows. I hope they will correct it shortly. Krzysztof Petr Rezek wrote: Here is my question. I wrote a script, which gets parameters from db

RE: [PHP] Passing variables with include()

2002-01-14 Thread Mark Roedel
-Original Message- From: Imar de Vries [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 5:53 AM To: [EMAIL PROTECTED] Subject: [PHP] Passing variables with include() at this moment I am working on a script that calculates standings of our online racing competition.

[PHP] apache authentication

2002-01-14 Thread aaron . lake
Hi, I am using the Nusphere application server with apache user directories. I have several protected user directories that are of different realms. When a user logs into the 'secure area' i would like to send them to pages contained in a secure directory but pass the encoded user:pass in the

Re: [PHP] Creating rich interfaces for web applications??

2002-01-14 Thread Geoff Caplan
Hi What exactly is too slow with flash? dynamical genberation with action script? You could generate your content and data with PHP and display it with flash. I have just been talking to the engineers at Carrels, who have produced a Flash based system for rich forms, but I said I found

Re: [PHP] in-browser wysiwyg html editor

2002-01-14 Thread Mark
This is really a javascript thing so you'll probably get a better response from a javascript group, but I can say that a script like that will only ever work on IE. On Sun, 13 Jan 2002 04:00:18 +0100, Serge wrote: Hi, I'm looking for an in-browser html editor. I've got the scripts used in

RE: [PHP] apache authentication

2002-01-14 Thread Simon Ritchie
Your question is not very clear, not to me anyway. Are you trying to write some PHP code that remembers a user name and password over several requests? If so, I can answer that. According to me, it's hard. The problem is that PHP (in fact Apache itself) doesn't remember any information

[PHP] Persistent Database Resources?

2002-01-14 Thread Nathan Cassano
Lets say I have a page that makes queries with multiple sorts, returning plenty of rows and displaying part of the result set. Each time the client accesses the page the query must be re-executed, spinning the CPU and thus tieing up resources. In PHP, or any other language could the result set

Re: [PHP] Persistent Database Resources?

2002-01-14 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * On 14-01-02 at 19:58 * Nathan Cassano said Lets say I have a page that makes queries with multiple sorts, returning plenty of rows and displaying part of the result set. Each time the client accesses the page the query must be

Re: [PHP] Php.ini file missing

2002-01-14 Thread Michael Sciascia
ahhh, if this is indeed the problem, then you (michael from the original message) need to enable sendmail in /etc/hostconfig by changing the line MAILSERVER=-NO- to MAILSERVER=-YES- (isn't everything different in macosx) again, you need to do this from an administrator

[PHP] I18n problems: Working with double-byte languages

2002-01-14 Thread Junior, Ricardo
Hi people ! I have a query regarding double-byte languages on PHP. I need to sort a index localized from English to Korean. My idea is: * get the Korean strings from file; * convert them to UTF8; * insert them in a Oracle database set to work with UTF8; * set NLS_LANG

[PHP] apache authentication

2002-01-14 Thread aaron . lake
Apparently i have been unclear, allow me to rephrase: I want to send user:pass to an apache authentication header for a apache protected user directory. Unfortunately, I have php installed as CGI so native php authentication will not function. I would like to either send the user:pass via GET

Re: [PHP] Php.ini file missing

2002-01-14 Thread Jason Wong
On Tuesday 15 January 2002 03:06, Michael Sciascia wrote: I would like to thank you all for all the info you gave me and the php.ini file! Your suggestions have been really useful and I made some progresses, but I've still got problems :-( I changed the MAILSERVER line to YES as you said,

[PHP] Looking for article writers.

2002-01-14 Thread Vlasyuk Valera
Hi I need someone who can write articles about PHP for my site for free. In exchange i'll put in each article information about author and link to his site. Valery Vlasyuk http://www.cgi-network.net

[PHP] problems with includes and extending classes

2002-01-14 Thread Chris Jackson
I can't figure this one out... I boiled it down to a test case where I have a bunch of classes and a demo program: demo.php: === ? require_once L.php; $l = new L(); ? === L.php === ? require_once P.php; require_once C2.php;

[PHP] override nobody@example.com

2002-01-14 Thread toni baker
When using the mail () function to send an email to a linux server the header information shows two from addresses. (1)e-mail address that was defined in $from variable in the header. (2) [EMAIL PROTECTED] Can someone explain this? I only want the $from variable to show up in the header. Can

php-general Digest 14 Jan 2002 21:01:07 -0000 Issue 1111

2002-01-14 Thread php-general-digest-help
php-general Digest 14 Jan 2002 21:01:07 - Issue Topics (messages 80436 through 80492): Re: How to get a function backtrace? 80436 by: Martin Wickman Re: Setting up an XML platform/website 80437 by: Jon Farmer Re: How to get a stacktrace? (was how to get a function

Re: [PHP] override nobody@example.com

2002-01-14 Thread Vlasyuk Valera
i perefer to use such mail code: $pipe=popen(/usr/sbin/sendmail -f [EMAIL PROTECTED] -i [EMAIL PROTECTED],w); $email_body=Customer name: $customer_name email: $email features: $features; if ($pipe) { fputs($pipe,To: [EMAIL PROTECTED]\n); fputs($pipe,From: $email\n);

Re: [PHP] Setting up an XML platform/website

2002-01-14 Thread Geoff Caplan
Emile Is anyone interested in setting up an XML platform for PHP, where the use of XML is explained, Why not offer to edit a section on this on one of the popular PHP community sites, such as PHPBuilder.com? I agree that this is an important subject, but I am not sure that we need yet more

[PHP] how to control hook calling order

2002-01-14 Thread Charmaine Tian
Hi there, I'm creating a PHP extension of my own, and I'd like my extension's module_startup_function (i.e., PHP_MINIT_FUNC) to be the last one called among all the extensions' MINIT funcs. I'd also like my extension's request_startup_function (PHP_RINIT_FUNC) to be the first one called among

[PHP] Re: strtok bug

2002-01-14 Thread Manuel Lemos
Hello, Robert Mena wrote: Hi Manuel and all developers. I understand that the implementation of strtok was broken (non POSIX compliant) but since it has been like this for ages would be better to give a chance to developers worldwide (that has been using and relied on this broken

[PHP] Compile problems php 4.1.1

2002-01-14 Thread Jay Paulson
I'm trying to compile php 4.1.1 and when it gets to the --with-apxs option it errors out with the following: Sorry, I was not able to successfully run APXS. Possible reasons: 1. Perl is not installed; 2. Apache was not compiled with DSO support (--enable-module=so); 3. 'apxs' is not in

Re: [PHP] Compile problems php 4.1.1

2002-01-14 Thread Rasmus Lerdorf
You don't mention which OS you are on, but usually apxs is found in the apache-devel package. You probably didn't install that. -Rasmus On Mon, 14 Jan 2002, Jay Paulson wrote: I'm trying to compile php 4.1.1 and when it gets to the --with-apxs option it errors out with the following:

[PHP] Re: Finding PHP Developers for Remote Project

2002-01-14 Thread Richard Spangenberg
thanks,.. guru.com is great. And, thank all of you for your great help. Terrific, etc. Rick Laserjetter [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... You could try guru.com LJ Richard Spangenberg [EMAIL PROTECTED] wrote in message [EMAIL

[PHP] checkboxes vs text filed array and hidden variables

2002-01-14 Thread m. ali
Hi my problem : i have to pass the price, and part number which i get from the database to the shopping cart so when i select some of the items by checking the checkboxes and submit the form i get only the last item in the list i use hidden variables to pass these values to shopping cart. my

RE: [PHP] Re: Finding PHP Developers for Remote Project

2002-01-14 Thread Boaz Yahav
Hi A good place to put this would be either in the projects area of weberdev (http://www.weberdev.com/index.php3?GoTo=jobmatching/about.php3) or the jobs area (http://www.weberjob.com). Sincerely berber Visit http://www.weberdev.com Today!!! To see where PHP might take you tomorrow.

[PHP] Wrong result (345php.tmp) instead a filepath from input file type=file...

2002-01-14 Thread helmut ott
I have a page with a html-form headed with ...ENCTYPE=multipart/form-data ... and multiple inputs,e.g.: input type=file name=formname1... If I select a file,e.g. abc.jpg with the path c:\abc.jpg I get a value like 345php.tmp instead of c:\abc.jpg. Any idea what is wrong?

[PHP] Padding with mcrypt_generic

2002-01-14 Thread Ben Sinclair
I'm trying to use mcrypt_generic and it works fine except it pads the data with ^@'s when, according to the manual page, the length of the data is not n * blocksize. I've been trying to remove the padding from my decrypted data using something like $string = str_replace(^@,,$string);, but it

[PHP] unable to copy and chmod

2002-01-14 Thread Edgard Berendsen
unable to copy and chmod I'm trying to copy a file and chmod it to make it writable, but after I copy it using PHP I can't even chmod in ftp ! I can't change the file owner too. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] An idea...

2002-01-14 Thread Gerard Samuel
Just want to bounce this idea off you guys/gals. Im looking to improve the security of my scripts. Now lets say, I initialise the script with a constant in the main config file that all the pages access. Then when Im accepting data from a form or maybe even a link I could do if

Re: [PHP] An idea...

2002-01-14 Thread Gerard Samuel
Quote from the php manual. Once a constant is defined, it can never be changed or undefined. I figure, since the constant is initialised in the script, it cannot be changed or undefined, then I can put my trust in it that it comes from the server and no where else Martin Towell wrote:

[PHP] Mysql

2002-01-14 Thread -=LukA=-
Hello php-general, Hi everybody Please help me. If i want to create a table in some database what should I do. The database is on server. -- Best regards, -=LukA=- mailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Re:[PHP] Mysql

2002-01-14 Thread Sam Masiello
Even though this is OT as it is not a PHP question it is an easy one :) Please see the following URL: http://www.mysql.com/documentation/mysql/bychapter/ It is the MySQL manual broken out by chapter. You will find the next URL particularly useful as it is the syntax for the create

Re: [PHP] Mysql

2002-01-14 Thread Mehmet Kamil ERISEN
Hi, Sorry if I am being a rude, but you need to read the document on how to create a table: www.mysql.com and www.php.net (assuming that you will use php) thx. --- -=LukA=- [EMAIL PROTECTED] wrote: Hello php-general, Hi everybody Please help me. If i want to create a table in some

Re: [PHP] An idea...

2002-01-14 Thread Gerard Samuel
Martin Towell wrote: 1. so you're trying to stop people from link straight to your page? 2. or are you trying to stop them from using your code without permission (on the same server)? a. will others be able to see the source code? i. if so, then what's to stop them from defining the

Re: [PHP] Padding with mcrypt_generic

2002-01-14 Thread Joe Conway (wwc)
Ben Sinclair wrote: I'm trying to use mcrypt_generic and it works fine except it pads the data with ^@'s when, according to the manual page, the length of the data is not n * blocksize. I've been trying to remove the padding from my decrypted data using something like $string =

Re: [PHP] Mysql

2002-01-14 Thread Miles Thompson
You need some tutorials on using MySQL and PHP. There are some good ones at thickbook http://www.thickbook.com, you can also search, using Google, for tutorial MySQL PHP. You will find good ones at WebMonkey, DevShed and Zend. Good luck and welcome - Miles Thompson At 03:46 AM 1/15/2002

Re: [PHP] apache authentication

2002-01-14 Thread Miles Thompson
I'm trying to do a similar thing, although I'm running PHP as an Apache module. There's a directory I want to protect, containing PDf files, access to which will be constrained by .htaccess. Our users have already logged in through a custom login script. I could modify this script so that

Re: [PHP] unable to copy and chmod

2002-01-14 Thread Jimmy
Hi Edgard, I'm trying to copy a file and chmod it to make it writable, but after I copy it using PHP I can't even chmod in ftp ! since you upload it using PHP, most likely the owner of the file is nobody.nobody, that's why you can't chmod thru ftp. (unless you login to ftp as nobody ;)) I

[PHP] Re: SMS

2002-01-14 Thread Manuel Lemos
Hello, Yogesh Mahadnac wrote: Hi everyone! I'd be grateful if someone could please tell me a link where I can find a good tutorial on how to develop a SMS tool with PHP, or if somebody has already developed something like it, or if there are any experts around, please give me some

Re: [PHP] checkboxes vs text filed array and hidden variables

2002-01-14 Thread Jason Wong
On Monday 14 January 2002 06:03, m. ali wrote: Hi my problem : i have to pass the price, and part number which i get from the database to the shopping cart so when i select some of the items by checking the checkboxes and submit the form i get only the last item in the list i use hidden

[PHP] PHP array or SQL problem

2002-01-14 Thread Dean Householder
I've got a database with lname (lastname), fname (firstname), and nickname. What I want to do is search by either first name or last name. Either way, I display the nickname instead of the firstname if it exists. I have no problems on the last name, but when I sort by firstname, the people