[PHP] ISO-8859-2 to Windows-1250

2001-08-15 Thread Tomáš Kubiš
Hi, is there any function which can converts strings from ISO-8859-2 to Windows-1250? Thanks for your answers. Tomas -- 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 administrator

RE: [PHP] to set file tye at apache module using htaccess

2001-08-15 Thread Maxim Maletsky
Yes, you can. Maxim Maletsky -Original Message- From: Jack [mailto:[EMAIL PROTECTED]] Sent: Friday, August 17, 2001 3:33 AM Cc: [EMAIL PROTECTED] Subject: Re: [PHP] to set file tye at apache module using htaccess In response to Rasmus again, please bare with me a sec, where can I find

Re: [PHP] to set file tye at apache module using htaccess

2001-08-15 Thread Jack
In response to Rasmus again, please bare with me a sec, where can I find the file https.conf? I am only able to log in to server viw ftp at this stage, so I am not sure if I will have access to that file yet. Alternatively, can I do the same to .htaccess? Jack [EMAIL PROTECTED] "Love your enemies,

RE: [PHP] Ldap package.

2001-08-15 Thread Johan Vikerskog (ECS)
Another problem. when i try to run the configure for ldap i get the following error message: checking configure arguments... configure: error: bad value yes for --with-ldbm_module What is the appropriate configure settings for the ldbm? If i try ti disable it i get the message: backend needed fo

Re: [PHP] to set file tye at apache module using htaccess

2001-08-15 Thread Rasmus Lerdorf
> In response to Rasmus, I need to make this for all html files under a > domain, not just one file. Is there anyway to do this? Sure, in your httpd.conf file look for your block for the dmain and add: AddType application/x-httpd-php .html -Rasmus -- PHP General Mailing List (http://www.ph

RE: [PHP] Need open source community help!

2001-08-15 Thread Maxim Maletsky
Show them some facts, Jay. Go to check some articles on the net from reliable websites such as ZDnet or (if damn lucky) MSN. That could work. Also, get a real evaluation of their needs and say: This is exactly what I've done and intend to extend the functionality of. The MS software apart from be

Re: [PHP] to set file tye at apache module using htaccess

2001-08-15 Thread Jack
In response to Rasmus, I need to make this for all html files under a domain, not just one file. Is there anyway to do this? Jack [EMAIL PROTECTED] "Love your enemies, it will drive them nuts" - Original Message - From: Rasmus Lerdorf <[EMAIL PROTECTED]> To: Jack <[EMAIL PROTECTED]> Cc: <[

[PHP] to richard lynch

2001-08-15 Thread lolodev news php
on response to a question about variable $PATH_INFO , you said me: Is Apache configured to pass that variable on? Did you compile as CGI -- IE, are you using "Action" in your httpd.conf or LoadModule/AddModule? but how to configure to pass that variable ? what is action ? i'm using L

Re: [PHP] to set file tye at apache module using htaccess

2001-08-15 Thread Rasmus Lerdorf
If you just want to set this for a single file, just use a ForceType application/x-httpd-php in your httpd.conf file. .htaccess files are generally evil and should be avoided if you have control over your httpd.conf file. Note that the mime-type. There is no '4' on the end of it. -Rasmus

[PHP] newbie installation help needed - LinuxPPC

2001-08-15 Thread George Pitcher
Hi all, I've been playing around a little with php/mysql/apache on my NT box but I have just set up one of my Macs as a LinuxPPC machine. I have downloaded PHP-4.0.6 but now I want to install it to work with the apache server software already installed. I'm a complete newbie as far as linux is c

[PHP] AW:How can I unsubscribe?

2001-08-15 Thread Phil
Hey, I deleted the instruction mail... content was besides other topics how I unsubscribe a mailing list... Knows anybody the code? -- 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

Re: [PHP] to set file tye at apache module using htaccess

2001-08-15 Thread Jack
How do I check that out? and how do I turn it on? Jack [EMAIL PROTECTED] "Love your enemies, it will drive them nuts" - Original Message - From: Jason Murray <[EMAIL PROTECTED]> To: 'Jack' <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, August 16, 2001 1:19 AM Subject: RE: [PHP]

[PHP] AW:How can I unsubscribe?

2001-08-15 Thread Phil
Hey, I deleted the instruction mail... content was besides other topics how I unsubscribe a mailing list... Knows anybody the code? -- 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

RE: [PHP] to set file tye at apache module using htaccess

2001-08-15 Thread Jason Murray
> I used the syntax below to set Apache module in file > .htaccess and did not work still, as I wrote some php script > to print text in an html file and did not do anything yet. > > ** > AddType application/x-httpd-php4 .html > ** > > What is the corre

[PHP] to set file tye at apache module using htaccess

2001-08-15 Thread Jack
Hi people this may be off this list a bit, But I want to make the apache webserver believe that a "html" file is my server is actually a "php4" file. I used the syntax below to set Apache module in file .htaccess and did not work still, as I wrote some php script to print text in an html file an

Re: [PHP] Ldap package.

2001-08-15 Thread Rasmus Lerdorf
Install OpenLDAP (www.openldap.org) On Thu, 16 Aug 2001, Johan Vikerskog (ECS) wrote: > I am going to install a LDAP package for my apache-mysql-php web interface. > The question is. > What ldap package to use and how to do it. > > Is there anything else i should de except for: > --with-ldap="ld

Re: [PHP] record each page

2001-08-15 Thread Kunal Jhunjhunwala
Why not use the mysql limit function? Kunal - Original Message - From: "Andrew Austin" <[EMAIL PROTECTED]> To: "Php Lists (E-mail)" <[EMAIL PROTECTED]> Sent: Thursday, August 16, 2001 11:24 AM Subject: [PHP] record each page If i select a group of records from a mysql db is there a way t

[PHP] Ldap package.

2001-08-15 Thread Johan Vikerskog (ECS)
I am going to install a LDAP package for my apache-mysql-php web interface. The question is. What ldap package to use and how to do it. Is there anything else i should de except for: --with-ldap="ldap directory" Thanks for any help i can get. //Johan -- PHP General Mailing List (http://www.p

[PHP] record each page

2001-08-15 Thread Andrew Austin
If i select a group of records from a mysql db is there a way to place each record on a separate page. Could I put them in an array which is connected to a session object? Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: [PHP] Imlib Errors Still

2001-08-15 Thread Rasmus Lerdorf
> Firstly When Imlib2 is compiled into PHP, how do I know (like should > there be an entry in phpinfo() ) Of course. For an example see http://conf.php.net/info.php > Secondly Whats the easiest way people have installed imlib2 into PHP. > Im trying the way the (very small) INSTALL file

Re: [PHP] Need open source community help!

2001-08-15 Thread Jay Paulson
that's EXACTLY what i'm going to throw at them.. also for the money they are going to spend on the win2k and sql db etc.. they could hire someone part time to take some of this load off my back and then i could add all the features that this other company has.. i'll just have to talk to them.. :)

[PHP] Imlib Errors Still

2001-08-15 Thread Chris Aitken
Okay, Im really having a hard time with imlib2 and php. There is so little documentation on this so I dont know what im doing Firstly When Imlib2 is compiled into PHP, how do I know (like should there be an entry in phpinfo() ) Secondly Whats the easiest way people have installed

[PHP] Re: PHP and serving streaming media

2001-08-15 Thread Greg Beaver
Good news: I found a solution. Microsoft was choking on the session headers. I designed a toolkit to interface with MySQL transparently that relies on sessions to keep things accurate from page to page as information is changed in a database. I added a variable called (oddly enough) $no_sessio

[PHP] Addtype command in htaccess

2001-08-15 Thread Jack
Hi people this may be off this list a bit, But I want to make the apache webserver believe that a "html" file is my server is actually a "php4" file, Is this syntax correct to add in the .htaccess file? AddType application/x-httpd-php4 .html Open for all suggestions. Jack [EMAIL PROTECTED] "Lo

[PHP] Re: Simulate Cron/PHP in Win2k?

2001-08-15 Thread Raphael Pirker
Hi, You can create a .bat file which says the commands you want to run and then schedule the .bat... HTH, Raphael -- 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

[PHP] Simulate Cron/PHP in Win2k?

2001-08-15 Thread Jeff Oien
I would like to automatically run a PHP script at regular intervals during the day. I looked through the archives and found this: "c:/path/to/php.exe -q c:/path/to/your/script.php" I was going to use Scheduled Tasks but that will only run programs. Is there a way I can do this? I use Apache and

[PHP] Re: PHP and Java InputStream object

2001-08-15 Thread Richard Lynch
> Is it possible use php to read a file and then using it to construct a > java.InputStream object? Probably. Try it and see. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer

[PHP] Re: Security in PHP+MYSQL

2001-08-15 Thread Richard Lynch
> I have a security-question that I hope someone can answer, my question is: > Will the DROP+TABLE+TBL_TEST-part in > http://www.foo.bar/page.php?id=1;DROP+TABLE+TBL_TEST; be executed? I don't think it will in CURRENT versions of MySQL. Really *OLD* versions, maybe, if I recall correctly... But

[PHP] Re: PHP and serving streaming media

2001-08-15 Thread Richard Lynch
> I'm working on a website for my quartet, The Chiara String Quartet. You wouldn't happen to be Chicago-based, would you?... :-) > This works fine in netscape, but IE 5 does not work. Investigating further, > I found a basic difference between the way Apache streams straight .wax and > ram file

Re: [PHP] `pwd` - what does this mean?

2001-08-15 Thread Richard Lynch
For all of these linux commands (a few thousand) you can use: man xxx So, to answer your question for yourself, use: man man man grep The | bit is used to "pipe" the output of the command on the left into the command on the right for further processing. -- WARNING [EMAIL PROTECTED] address i

[PHP] Re: Templates???

2001-08-15 Thread Richard Lynch
PHPLib, Smarty, FastTemplates, and about 10,000 more... -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] 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

[PHP] Re: HTTP Authentication

2001-08-15 Thread Richard Lynch
> I am using PHP to send a header to the browser requestiing authentication. > On a successful login i am tracking inactivity by the client and want to > expire the login once a timeout period is reached. Problem is if the session > expires and the user just refreshes then the orignal login detail

[PHP] Re: Is this a bug?

2001-08-15 Thread Richard Lynch
> I have this code, which is a cooked down code of something bigger. So don't > ask what it's for. > The problem is that I can't get this script working the way I like it at > all. Maybe it's a bug. Maybe you have another suggestion? > Somewhere in the middle section i have wrote test1 and test2 a

[PHP] Re: How to find out which function caused an error

2001-08-15 Thread Richard Lynch
> I have a function in one of my includes: db.inc.php::getQuery which does > most of my mySQL calling for me. > > However, when the mySQL call fails, I get a nice error which is useful > except one thing. It doesn't tell me which function called it. > > Does anyone know how to find to do the equiv

[PHP] Re: Running PHP as CGI under apache

2001-08-15 Thread Richard Lynch
> If you put this script into a file (.cgi) and give it executable > permissions, you can run it from the command line > > PHP CODE START > #!/usr/bin/php > > print "Hello"; > ?> > PHP CODE END > > and the Content-Type header is added by PHP. But wh

[PHP] Re: compression help

2001-08-15 Thread Richard Lynch
I dunno if zlib can do it, but you should be able to http://php.net/exec with tar (man tar) to do what you want. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time:

[PHP] Re: Looking for the cookies a site sends.

2001-08-15 Thread Richard Lynch
> Does anyone know of a tool that lets me see the cookies a site sends my > browser? Change the settings in your browser to "ask me before accepting cookies", and you'll see them in real-time. If you need to look at old cookies, figure out where the browser stores them (not rocket science) and u

Re: [PHP] need real expert (geting outer files) *english/german*

2001-08-15 Thread Richard Lynch
Subject: [PHP] need real expert (geting outer files) *english/german* > the problem is, that this is very good restricted by serverside. If you've worked around that, you're probably now seeing something silly in your fread() code... > But now I already get the file, and no more the error-mess

[PHP] Uploading Image to Database

2001-08-15 Thread Tim Thorburn
Hi, I'm trying to get a script working that will upload an image to a MySQL database ... the script seems to be working, in that its not giving errors - but it does nothing ... it doesn't add the image to the database at all. Can someone take a look at this script and let me know where I've go

Re: [PHP] Need open source community help!

2001-08-15 Thread pierre-yves
I was once in your situation, fortunately, my boss understood that it is better to have an application that has less features but never shuts down. The linux/php/mysql app was up for 283 days when they review it. The full featured NT/ASP/SQL 6.5 was shut down an average of 1 full day for every 3 w

Re: [PHP] Compiling with Imlib2

2001-08-15 Thread David Robley
On Thu, 16 Aug 2001 11:57, Chris Aitken wrote: > At 11:49 AM 16/08/2001, David Robley wrote: > >Presumably you'll need to install inmlib then point to where-ever you > >installed it? > > Okay... my bad... I probably should have mentioned ive already > installed imlib2 from ports and after rebuildi

Re: [PHP] Compiling with Imlib2

2001-08-15 Thread Chris Aitken
At 11:49 AM 16/08/2001, David Robley wrote: >Presumably you'll need to install inmlib then point to where-ever you >installed it? Okay... my bad... I probably should have mentioned ive already installed imlib2 from ports and after rebuilding the locate database, shows the entries for imlib2 as

[PHP] Re: "Search" code finds ANYTHING

2001-08-15 Thread Raphael Pirker
Hi Hugh, > First, array_search returns an array of keys where the values are > exact matches... while you want to match a substring (I think); Yes, but exact matches are better :)) > Then, it searches through the array again using regular expressions, > and each time it finds something, it over-

Re: [PHP] Date function

2001-08-15 Thread Don Read
On 16-Aug-2001 David Robley wrote: > On Thu, 16 Aug 2001 00:38, Mike Mike wrote: >> Hello, >> I'm pulling a date out of MySQL as 2001-10-18. >> How do I make it print October 18 in php? >> Thanks much >> --Mike > > You could use the Mysql date functions to format it for you. If your date > fi

Re: [PHP] Compiling with Imlib2

2001-08-15 Thread David Robley
On Thu, 16 Aug 2001 11:17, Chris Aitken wrote: > Hey all, > > Just a quick one which is driving me a tad mad at the moment Im > trying to compile PHP 4.0.6 to have imlib2 in it, and in the php_imlib > doco, it tells me to add the following flag to it the ./configure > > --with-imlib[=/path/to/

Re: [PHP] How to find out which function caused an error

2001-08-15 Thread Justin Finkelstein
Yes, that I know. That wasn't the point though. What I wanted was to find out which function called getQuery. j. - Original Message - From: "Jason Murray" <[EMAIL PROTECTED]> To: "'Justin Finkelstein'" <[EMAIL PROTECTED]>; "Tyler Longren" <[EMAIL PROTECTED]>; "php-general" <[EMAIL PROTE

[PHP] Re: I will not eat them Sam-I-Am

2001-08-15 Thread Hugh Bothwell
"Justin" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > INSERT INTO database VALUES( 'bill's bowtie'); Bad syntax: try INSERT INTO database ( fieldname ) VALUES ( 'this string' ) > and then I want to feed it back into phpMyAdmin it gives me an error. > Ba

[PHP] Re: "Search" code finds ANYTHING

2001-08-15 Thread Hugh Bothwell
"Raphael Pirker" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > function search_the_array($array) { > global $search_tmp; > $result = array_search($search_tmp, $array, TRUE); >reset($array); >while (

RE: [PHP] How to find out which function caused an error

2001-08-15 Thread Jason Murray
> Unable to execute query in getQuery: insert into textblocks > (id, language, > textitem) values (max(id)+1, 'en', '') > Error: Unknown column 'textitem' in 'field list' I daresay that your table "textblocks" doesn't have a column called "textitem". Jason -- PHP General Mailing List (http://

Re: [PHP] How to find out which function caused an error

2001-08-15 Thread Justin Finkelstein
The error I get is filtered by the getQuery function. It spits out: Unable to execute query in getQuery: insert into textblocks (id, language, textitem) values (max(id)+1, 'en', '') Error: Unknown column 'textitem' in 'field list' The code for the function (for reference) is: function getQuery

RE: [PHP] Parse Error

2001-08-15 Thread Jason Murray
> $link = mysql_pconnect ("kron", "jutta", "geheim") { > or die ("Connexion impossible"); > } ^ ^ Those two {}'s aren't needed for an "or dosomething" operation. Jason -- PHP General Mailing List (http://www.php.net/) To

[PHP] Parse Error

2001-08-15 Thread Michael L
Hi ! I have recently install php4 on Red Hat Linux with Apache, i try to connect to MySql Database but i have a parse error (on line 2) , why ? ( i have tried mysql_connect but it still doesn't work too ) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL P

[PHP] Compiling with Imlib2

2001-08-15 Thread Chris Aitken
Hey all, Just a quick one which is driving me a tad mad at the moment Im trying to compile PHP 4.0.6 to have imlib2 in it, and in the php_imlib doco, it tells me to add the following flag to it the ./configure --with-imlib[=/path/to/Imlib2] Now the problem is, I dont know what to put in

Re: [PHP] php_value in htaccess, internal server error

2001-08-15 Thread David Robley
On Thu, 16 Aug 2001 03:08, Egan wrote: > I need to set some PHP values like: > > php_value session.save_path /a_more_secure_dir > > > in my .htaccess file. But the main Apache httpd.conf file has: > > AllowOverride AuthConfig FileInfo Indexes > > > and php_value in .htaccess causes Apache int

[PHP] I will not eat them Sam-I-Am

2001-08-15 Thread Justin
If I dump something out from phpMyAdmin like this: INSERT INTO database VALUES( 'bill's bowtie'); and then I want to feed it back into phpMyAdmin it gives me an error. Basically, it's confused by the middle apostrophe. So how can I dump this statement back into phpMyAdmin other than by manually

Re: [PHP] Date function

2001-08-15 Thread David Robley
On Thu, 16 Aug 2001 00:38, Mike Mike wrote: > Hello, > I'm pulling a date out of MySQL as 2001-10-18. > How do I make it print October 18 in php? > Thanks much > --Mike You could use the Mysql date functions to format it for you. If your date field is called date and is a date type: SELECT CO

[PHP] "Search" code finds ANYTHING

2001-08-15 Thread Raphael Pirker
Hi, function search_the_array($array) { global $search_tmp; $result = array_search($search_tmp, $array, TRUE); reset($array); while (!($result === FALSE) && (list($k, $v) = each($array))) { // Or maybe you wanted ereg($searc

Re: [PHP] bold current menu item

2001-08-15 Thread David Robley
On Thu, 16 Aug 2001 03:50, Jason Dulberg wrote: > I am dynamically creating a menu based on a "title" field from a > database. > > ie > item1 > item2 etc. > > Is it possible that when I'm on the "item1" page to bold the title in > the menu? > > Any suggestions are appreciated. > Presumably there

Re: [PHP] Re: Object members dynamic access?

2001-08-15 Thread Sean C. McCarthy
Hi, The code below is actually code to access an object's member. That's fine as long as you give the name of the member at the time you write the code. What I am interested is to know if the members name might be a variable, I mean not hardcoded but a variable useful for loops, etc. Thanks.

[PHP] Re: Object members dynamic access?

2001-08-15 Thread Cerel
Try this : class foo { var $var1="hello"; var $var2="world"; } ... ... $fooinstance = new foo; $vartest=$fooinstance->var1; echo ($vartest); // should be 'hello' This should work, but i had no time to test this code. See you later Sean C. McCarthy <[EMAIL PROTECTED]> a écrit dans le messag

[PHP] Object members dynamic access?

2001-08-15 Thread Sean C. McCarthy
Hi All, I was wondering if it is possible to access dinamically to the members of a class. I mean to access like: -- class foo { var $bar; var $barbar; } ... ... $foo_instance = new foo; $somevar = $foo->$anothervar; - I now this

[PHP] Templates???

2001-08-15 Thread Georgie
Can anyone direct me to some sample PHP code that extracts HTML from a template file and replaces the, say, "%field%" tags in the HTML with variables from the PHP file. Just like what Gossamer Threads Links program does with Perl. So, any 1 have any links?? -- PHP General Mailing List (http:/

[PHP] Re: MYSQL_SOCKET

2001-08-15 Thread Jonathan Hilgeman
Edit your /etc/my.cnf file and search for the word socket. - Jonathan "Jay Paulson" <[EMAIL PROTECTED]> wrote in message 020f01c125d6$ce5b17f0$6e00a8c0@webdesign">news:020f01c125d6$ce5b17f0$6e00a8c0@webdesign... the variable MYSQL_SOCKET is set to /tmp/mysql.sock and i need it to be /var/lib/mys

Re: [PHP] auto-input data into form boxes

2001-08-15 Thread Hugh Danaher
Thank you. Thank you. Thank you. - Original Message - From: Kunal Jhunjhunwala <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 15, 2001 1:26 PM Subject: Re: [PHP] auto-input data into form boxes > Hi, > Try this, > > include("datafile.php"); > print "";

Re: [PHP] Instalation

2001-08-15 Thread Juan Pablo Rivera
first you have to unzip your sources: gzip -vd apache*.tar.gz | tar -vxf apache*.tar gzip -vd php*.tar.gz | tar -vxf php*.tar gzip -vd mysql*.tar.gz | tar -vxf mysql*.tar then cd apache.. ./configure --prefix=/your/path/www cd .. cd mysql... ./configure --prefix=/usr/local/mysql make | make inst

Re: [PHP] a bit off the list but should be easy

2001-08-15 Thread Ryan Fischer
You wrote: > Note that the download font thing is Internet Exploder Specific. Internet > Exploder also has a few issues with different charsets. > Also note that *all* html documents should have a specified charset - even > the plain english ones. Most of the html on the internet is coded wrongly,

Re: [PHP] Problem with updating

2001-08-15 Thread Chris Hayes
hi martin, Could you send the code again and now include - the part where you get the $id_voorspelling from - the part where you make the $t1 - which variable goes wrong? $t1 or $t01? Can you check the table in mysql to see whether the error is in the update or in the print? Chris Van:

[PHP] Problem with a socket in non-blockant state

2001-08-15 Thread Cerel
Ok here is the story : I got a php script that comunicates with a game server (Half-life). This script uses socket_set_timeout. But the build of php i downloaded doesn't support socket_set_timeout(). So i started to modify the script to do without. Here is the prob : the script use the socket as b

RE: [PHP] "location bar"

2001-08-15 Thread Wolfgang Schneider
On Tue, 14 Aug 2001 11:39:55 -0400, Kurth Bemis wrote: >just stick this in a function as I did and you'll be sailing.its easy >to update, and Extremely flexible. > >look at my code.. (rest snipped) Hi Kurth, and others I adjusted your code for the purpose of my site (replacing he values i

Re: [PHP] Need open source community help!

2001-08-15 Thread Jay Paulson
Well I know they aren't going to want to spend $11k on all that new stuff.. when what I have cost them nothing at all.. :) however, the company I'm talking to is willing to deal and since I work for 6 radio stations they would probably be willing to trade some advertisement on the air for their so

[PHP] MYSQL_SOCKET

2001-08-15 Thread Jay Paulson
the variable MYSQL_SOCKET is set to /tmp/mysql.sock and i need it to be /var/lib/mysql/mysql.sock is there anyway i can set this variable in php? thanks...

[PHP] Re: Help, I'm so close!!!

2001-08-15 Thread Marc Hanlon
Brandon, I was told of a better way of sending POSTs without using cURL and it allows usernames and passwords to be used... // Format of $authorization is username:password (for password protected directories) // Code can be easily modified to add input parameters for User-Agent, Referer, Cookie

Re: [PHP] Need open source community help!

2001-08-15 Thread Michael Kimsal
Why would people move away from a package they paid for already? Especially if it's backed up by another company - I'm guessing there's probably some maintenance contracts they will be signing. I'd suggest you (Jay) look at some other OS projects which may be more full-featured already, and s

[PHP] Snoopy class: Getting the auth cookie back?

2001-08-15 Thread Brandon Orther
Hello, For my script to login to a SSL site I need to have the snoopy class receive a cookie and store it as a variable. Is that possible with Snoopy0.94? Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6

Re: [PHP] Connecting to Sybase on Linux

2001-08-15 Thread Tyler Longren
Here ya go: http://www.php.net/manual/en/ref.sybase.php Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Wed, 15 Aug 2001 16:30:16 -0500 Kansas Territory <[EMAIL PROTECTED]> wrote: > Could someone point me to any information regarding connecting PHP on > lin

[PHP] Connecting to Sybase on Linux

2001-08-15 Thread Kansas Territory
Could someone point me to any information regarding connecting PHP on linux to connecting to a separate server running Sybase on linux. To be more specific, it's the Sybase that ships with Intershop 4.2 Currently, our php installation can connect to postgres, and mssql(using some "free tds" dri

[PHP] Re: could i get a clue?

2001-08-15 Thread marilyn manson
Sorry I wasn't very clear on what I needed to be done by javascript and php. basically i have a flash movie that calls a javascript function and I was wondering if I could do something in javascript like: var x = "bleh.php"; and get some variables back but I soon learned that I could do this fr

Re: [PHP] Need open source community help!

2001-08-15 Thread PHP List
IMO I would have to say it depends on the Timeline of your Boss. Releasing the app to the open source community would be great, the more there is, the more reason for people to stop using MS, but you can't demand a schedule of when new features will be added. You may have to go with the MS for now

[PHP] Need open source community help!

2001-08-15 Thread Jay Paulson
Hello everyone- (skip to the *'s to see the questions if you don't want to read all of this thanks) This might be a little off topic here but I really need some help and a great opionion on this matter. Here's the situation, I have created this software in php and mysql. What it is is it h

Re: [PHP] auto-input data into form boxes

2001-08-15 Thread Data Driven Design
The problem is with your input page. You're putting the variable values where the names go inputpg.php "; print ""; print ""; print ""; print ""; ?> Try this inputpg.php "; print ""; print ""; print ""; print ""; ?> Data Driven Design 1506 Tuscal

Re: [PHP] auto-input data into form boxes

2001-08-15 Thread Kunal Jhunjhunwala
Hi, Try this, "; print ""; print ""; print ""; print ""; ?> Kunal - Original Message - From: "Hugh Danaher" <[EMAIL PROTECTED]> To: "Php-General" <[EMAIL PROTECTED]> Sent: Thursday, August 16, 2001 1:53 AM Subject: [PHP] auto-input data into form boxes I need p

[PHP] auto-input data into form boxes

2001-08-15 Thread Hugh Danaher
I need professional help! I need to make a form that will display old data in the form boxes, wait for user input (if they want to change something), and then go on to another page. This is what I have now, and it doesn't work: datafile.php inputpg.php "; print ""; print ""

Re: [PHP] Eval error

2001-08-15 Thread Mark Maggelet
lots of things: 1) variables in single-quoted strings aren't evaluated so you don't need to escape the $ in $email 2) php uses . not + for concatenation. 3) try it like this: eval('$email = $email_'.$i.';'); or eval("\$email = \$email_$i;"); 4) you can save yourself the trouble by using arrays

[PHP] Re: comments about the Free Gallery Management System

2001-08-15 Thread miguel valero
Chris, The prototype is a single user, 16 bits application, developed in Borland C++ 4.x in a Windows 3.x environment. You should be able to run it on the following operating systems: DOS 5.0 or later, Windows 3.1 and Windows 95/98. To get familiar with the way the system works, you could downloa

Re: [PHP] PUT method support

2001-08-15 Thread icom
David Robley wrote: > On Tue, 14 Aug 2001 18:43, Rukhiya wrote: > >>Hi! >> >>How do I use a PUT method support to upload files from the client to >>the WEB server? Can anyone pls. help me out to find a solution to these >>problems. It's very urgent >> >> >>regards >>Rukhiya >> > > http:/

RE: [PHP] Re: javascript reference (slightly ot)

2001-08-15 Thread Matthew Loff
JavaScript Reference Guide-- http://rts.ncst.ernet.in/resources/javascript/reference/ I remember having trouble finding a complete object/method reference too, this document really helped me. -Original Message- From: Al [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 15, 2001 12:58

[PHP] Re: build button with php

2001-08-15 Thread Hugh Bothwell
"Hugh Bothwell" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > if (isset($action) and isset($action_list[$action])) { > $t = $actions[$action](); Typo alert!! This line should be '$t = $action_list[$action];' -- PHP General Mailing List (http

[PHP] Re: build button with php

2001-08-15 Thread Hugh Bothwell
"Nafiseh Saberi" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I want to build buttons with php > and when click eavh of them , > one special work ,do for me. Do action 1"; } function action2() { echo "Do action 2"; } function acti

[PHP] Problem with updating

2001-08-15 Thread Martin Kampherbeek
Hello, I have created a predictionscompetition and some code counts te total score of a match of a person. On the screen it workes, but in de database it goes wrong. Each person gets the total of the last person. There must be something wrong with the update statement. I hope someone can help m

RE: [PHP] build button with php

2001-08-15 Thread scott [gts]
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 just output the proper HTML codes. > -Original Message- > From: nafiseh saberi [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 15, 2001 3:12 PM > To: [EMAIL PROTECTED] > Subject: [PHP] build button with php > > > > hi. > I want to

[PHP] build button with php

2001-08-15 Thread nafiseh saberi
hi. I want to build buttons with php and when click eavh of them , one special work ,do for me. how can I do it??? best regards. nafiseh -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact t

[PHP] getting extra output with cURL

2001-08-15 Thread Nigel_Soon
Hi, I'm using curl to do a post and when I run the curl_exec($ch) it does the post and the result is displayed, however after the it is printing a 0. It seems to be in the return of the post because if I echo something after the curl_exec statement it come after the 0. Has anybody had any expe

[PHP] Engine help

2001-08-15 Thread PHP List
Hi, I am trying to upgrade from php3 to php4, I recompiled apache_1.3.20 and php4.0.6 as per instructions(http://www.php.net/manual/en/install.apache.php). Everything seemed ok, but LoadModule in the httpd.conf was no longer recognized so I # all the LoadModule and AddModule lines. httpd -l sho

[PHP] bold current menu item

2001-08-15 Thread Jason Dulberg
I am dynamically creating a menu based on a "title" field from a database. ie item1 item2 etc. Is it possible that when I'm on the "item1" page to bold the title in the menu? Any suggestions are appreciated. __ Jason Dulberg Extreme MTB http://extreme.nas.net -- PHP General

[PHP] PHP on client-side

2001-08-15 Thread Tom Malone
Wouldn't it be nice if there was a way develop client-side (browser-based) applications for PHP? I see so many posts about using PHP to interact with JavaScript - wouldn't it be cool if you could just tell your PHP code where to run - server or client (similar to what ASP does with VBScript)? I kn

[PHP] Eval error

2001-08-15 Thread Felipe Coury
Hi, I am a beginner in PHP and I am trying to do the following: I have a form in a page that has 3 fields: email_1, email_2 and email_3. I am trying to send e-mail to those people, if the fields are filled. Relevant part of code: The code complains about an error in line eval( $eval );: Parse

Re: [PHP] Creating a javascript array from database data (Off-List)

2001-08-15 Thread Sheridan Saint-Michel
Think in terms of output... The JavaScript is literally going to try and run the output of the PHP (It doesn't even know PHP exists). PHP is outputting the source code for the HTML and JavaScript. So what you are trying to do is get PHP to take dog,cat,cow from MySQL and output: text = new Ar

[PHP] Feedback welcome!

2001-08-15 Thread David Jansen
Everyone, *I checked to make sure it would be OK to post the following here so please don't mistake it for spam. I was told it would be more than OK!* I help develop a text editor called EmEditor and we are about to focus development on supporting the needs/wants of a select number of communitie

Re: [PHP] Re: Question about PHP and images

2001-08-15 Thread Kunal Jhunjhunwala
How did you solve it? Kunal - Original Message - From: "Schrotty" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 15, 2001 11:18 PM Subject: [PHP] Re: Question about PHP and images > My problem is solved!!! > > "Schrotty" <[EMAIL PROTECTED]> schrieb im Newsbeitrag >

Re: [PHP] How to find out which function caused an error

2001-08-15 Thread Tyler Longren
Can you post the error so we can have a look at it? If it didn't provide a function, it's probably a parse error (missing semi-colon, missing quote). Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Wed, 15 Aug 2001 18:43:49 +0100 "Justin Finkelstein" <[EMAIL

  1   2   >