Re: [PHP] Anybody using Miva or hosted at Hosting4All?

2001-07-15 Thread hunter
what do you need to know about Miva? Its got a GUI front end to allow you to construct your store, it has support for many ecoms (like authorizenet, etc), decent scripting language through mivascript, etc. -- Daniel Baldoni wrote: > > G'day folks, > > We've got a web-application ready to install

Re: [PHP] phpMyAdmin No Error No Output

2001-07-15 Thread hunter
make sure you have mysql support built into your php, mysql up and running with the appropriate mysql and test database, and make sure the config.inc.php3 is set properly -- Prachait Saxena wrote: > > HI, > > I had downloaded a new version 2.2 of phpMyAdmin from the site. and placed > it on my s

Re: [PHP] Message from hunter Problems

2001-07-15 Thread hunter
yes it was signedand outlook doesnt handle that well ReDucTor wrote: > > hey, > That message sent here, by hunter the "Re: [PHP] Anybody using Miva or hosted at >...", i open it in outlook, and my outlook frezzes...any one know why? :) > - James "ReD

[PHP] Re: php-4.0.6 on RH-7.1

2001-08-04 Thread hunter
I am trying to compile and install php-4.0.6 on a redhat-7.1 linux-2.4.3 server using the following for configure: ./configure --prefix=/usr --with-apxs=/usr/sbin/ apxs --enable-versioning --with-mysql --enable-track-vars --with-xml --disable- debug --enable-pic --enable-shared --enable-inline-op

[PHP] Re: php-4.0.6 compile errors

2001-08-05 Thread hunter
I have been trying to complete this compile on a redhat-7.1 linux-2.4.3 server running apache-1.3.20 and when i compile in --with-imap i get the following trying to restart apache: ~/temp/php-4.0.6# /etc/rc.d/init.d/httpd restart Stopping httpd: [ OK ] Starting httpd: Syntax error on line 257 o

Re: [PHP] MySQL trubs

2001-08-22 Thread hunter
sounds like you need to make sure the password in phpMyAdmin and the MySQL for the user running the app are the same. You can reset the users password with mysqladmin -u username password new-password and then edit the phpMyAdmin config and make sure everything matchesalso, one small suggestio

[PHP] PHP + Java

2002-12-02 Thread Ray Hunter
extensions_dir=/usr/local/lib/php/extensions/no-debug-non-zts-20020429 extension=java.so Thanks, -- Ray Hunter email: [EMAIL PROTECTED] www:http://venticon.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sigh :)

2002-12-04 Thread Ray Hunter
Which version of mysql are you using? -- Ray On Wed, 2002-12-04 at 10:33, John Taylor-Johnston wrote: > Hi, > > Can someone take a look at this again, please? > > http://news.php.net/article.php?group=php.general&article=126934 > > Your posts so far have proven fruitless. Thanks for trying. :)

Re: [PHP] Detecing a Number

2002-12-04 Thread Ray Hunter
If you are getting a number from a user via a form you can use javascript to verify that the user inputed a number... search google -> validating forms that should give you some info. You could also verify that the data is a number by is_numeric or is_int... I think that when the data is POSTed

Re: [PHP] Looping Addition

2002-12-04 Thread Ray Hunter
What type is $_POST['vars']? I think that it is a string...you might have to convert it to an integer... if( is_numeric( $_POST['vars'] ) ) { $vars = (int)$_POST['vars']; } else { echo "Error: \$_POST['vars'] is not an integer."; } On Wed, 2002-12-04 at 14:26, Stephen wrote: > So

Re: [PHP] # of lines in a file

2002-12-09 Thread Ray Hunter
> lines in a file and read a particular line from it, however I found no > solution to my problem so I'm wondering if any of you out there could help me > :-) > > - CS -- Ray Hunter email: [EMAIL PROTECTED] www:http://venticon.com -- PHP General Mailing L

Re: [PHP] Linux and Graphics

2002-12-09 Thread Ray Hunter
e I am quite new to Linux, I > would appreciate it if someone could explain to me what I need to do > to have graphic functions. > > Many thanks. > > Todd > -- > Ariste Software, Petaluma, CA 94952 -- Ray Hunter email: [EMAIL PROTECTED] www:http://venticon

Re: [PHP] a simple test script for testing gd

2002-12-09 Thread Ray Hunter
esting gd-related >tasks eg like > dynamic construction of buttons??? > > Oliver Etzel -- Ray Hunter email: [EMAIL PROTECTED] www:http://venticon.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Fractions

2002-12-09 Thread Ray Hunter
"What is a dreamer that cannot persevere?" -- http://www.melchior.us > > __ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- Ray Hunter email: [EMAIL PROTECTED] www:

Re: [PHP] Fractions

2002-12-09 Thread Ray Hunter
If there are none in the math functions then you need to create your own or do a search at google to see if anyone has created some functions like that... On Mon, 2002-12-09 at 16:20, Stephen wrote: > But how do you find it in PHP? > > > - Original Message - > Fr

Re: [PHP] Format a currency values

2002-12-09 Thread Ray Hunter
Look at this function in the manual: number_format() HTH, Ray On Mon, 2002-12-09 at 17:38, Adriano Santos wrote: > What should I do in order to view a currency format field? > For example: I have a double-type field in my table that receives values in > currenct, > and I want to show the user

Re: [PHP] Know the path

2002-12-10 Thread Ray Hunter
where I'm. Is it possible? > > Christian, -- Ray Hunter email: [EMAIL PROTECTED] www:http://venticon.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] command line output

2002-12-10 Thread Ray Hunter
, 19 Nov 1981 08:52:00 GMT > Cache-Control: no-store, no-cache, must-revalidate, post-check=0, > pre-check=0 > Pragma: no-cache > Content-type: text/html > > 168 > > > (the 168 is my outputted number) > > Thanks, > > Bryan -- Ray Hunter email: [EMAI

Re: [PHP] XML Data push

2002-12-10 Thread Ray Hunter
wer is much more difficult. > So if any of you know where I can start looking to learn how I > can do this, I'd be ever so appreciative! > > thnx, > Chris -- Ray Hunter email: [EMAIL PROTECTED] www:http://venticon.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] XML Data push

2002-12-10 Thread Ray Hunter
> Another possibility would be when an administrator wants to add a new News > item. The form script would push something like the following to > process_news.php: > > > insert > Extra! > NewsBody > Today > > > and it would take that information

Re: [PHP] PostgreSQL/PHP: transactions: how-to abstract out?

2003-01-09 Thread Ray Hunter
Jean-Christian If you are only doing an insert then you do not need the transactions "BEGIN" and "COMMIT" because that is already done for you on a single insert. PGSQL is transaction based so if it does not go then it will not work. -Ray On Thu, 2003-01-09 at 22:23, Jean-Christian Imbeault wrot

Re: [PHP] PostgreSQL/PHP: transactions: how-to abstract out?

2003-01-09 Thread Ray Hunter
You could try leaving off the ";"... Try $sql = "BEGIN" Try $sql = "COMMIT" That should work... On Thu, 2003-01-09 at 22:23, Jean-Christian Imbeault wrote: > Jason Sheets wrote: > > > > Manual Excerpt: " If a second call is made to pg_connect() with the same > > connection_string, no new con

Re: [PHP] DSO or static Module?

2003-01-15 Thread Ray Hunter
-15 at 11:08, Lic. Carlos A. Triana Torres wrote: > Hi all, >Here is a question that might be too simple to be asked, but I need to know the >answer: Is there a way to find out if PHP is compiled as a DSO or as a static module? > > Thanx -- Ray Hunter email: [EMAIL PROTECTE

Re: [PHP] please help

2003-01-19 Thread Ray Hunter
to get to the real problem. However, you are probably having a problem with the the webserver (php) writing to the file. Make sure that the webserver has permission to write to the file. -- Ray Hunter email: [EMAIL PROTECTED] www:http://venticon.com -- PHP General Mailing Li

Re: [PHP] Re: Job Opportunity

2003-01-20 Thread Ray Hunter
I apologize everyone...evolution is going crazy... Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] AD authentication

2003-01-23 Thread Ray Hunter
Yes, I have used php-ldap to connect to exchange for authentication... -- Ray On Thu, 2003-01-23 at 17:52, Michael Hall wrote: > -- > > I was wondering if anyone had any experience, suggestions, advice or pointers > regarding the use of Win 2000 Active Directory servers to authenticate users

[PHP] PHP vs. Perl/Mason

2003-01-23 Thread Ray Hunter
Everyone, I was wondering if there are any perl/php programmers that have used mason. I am trying to get the advantages/disadvantages of each? I am pro PHP, but my does is pro perl. What does everyone think about the benefits of one over the other? Thanks, Ray signature.asc Description: Th

Re: [PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread Ray Hunter
U might want to do a type cast to integer from string... http://www.php.net/manual/en/language.types.type-juggling.php On Mon, 2003-01-27 at 13:47, Scott Fletcher wrote: > I would need to use intval() to solve this problem > > "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message > [EMAIL P

Re: [PHP] php-cli

2003-02-10 Thread Ray Hunter
you will want to issue a "cls" command to the shell with the exec command for using the back ticks... That should do it for you... example: exec( "cls" ); That should do it for you... Ray On Mon, 2003-02-10 at 21:20, Michael P. Carel wrote: > Hi to all, > > Is there anyone who could help me

Re: [PHP] help me

2003-02-11 Thread Ray Hunter
make sure that the php3_xml.dll is in your system path and it can be found. Ray On Tue, 2003-02-11 at 07:38, Cavallaro, Vito wrote: > how i do work php with xml? > > In php3.ini add extension = php3_xml.dll but not work. is runnig on winnt > workstation > > > > -- > PHP General Mailing List

RE: [PHP] help me

2003-02-11 Thread Ray Hunter
The system needs to be able to find the dll so you might need to add C:\PHP3 to your system path... On Tue, 2003-02-11 at 11:05, Cavallaro, Vito wrote: > all *.dll are C:\PHP3 but internet explorer make unload the file.xml > > -Mensaje original- > De: Ray Hunter [m

Re: [PHP] Passing PostgreSQL resource

2003-02-12 Thread Ray Hunter
This is how i handle this concept: 1. Determine the number of rows from the query. 2. Set up limits on how many rows to display per page. 3. Then do multiple queries with those limits. Postgresql allows for queries with limits. That should get you started... Ray On Wed, 2003-02-12 at 09:58, Lu

Re: [PHP] processing status page

2003-02-15 Thread Ray Hunter
Are you using a form to get the input from the user... One way that I do it is with Javascript...that will be the easiest bet for you... On Sat, 2003-02-15 at 15:15, Brendon wrote: > Hello, > > How can I create a page that notifies the user their request is being > processed after they click

Re: [PHP] processing status page

2003-02-15 Thread Ray Hunter
I can't remember the timer or sleeper function in javascript, but there is one... When you submit the form to the processing script (defined in your form tag) then you can have a javascript that displays a graphic or text for a few seconds that states "Processing data..." Then use the onload func

Re: [PHP] Forms Help (continued)

2003-02-15 Thread Ray Hunter
Do you have globals turned on or off? Ray On Sat, 2003-02-15 at 21:19, Beauford.2002 wrote: > Has anyone seen or used this script? It looks fairly straight forward, but I > can't get it to work. It is however, exactly what I need. Any help is > appreciated. > > http://codewalkers.com/tutorials.p

Re: [PHP] Protecting files

2003-02-17 Thread Ray Hunter
Try putting your files config files in a directory outside of the root web directory and access the files via the include_path directive in the php.ini file. If you dont have access you can add create a .htaccess file or set the configuration in a php script that is run before your other scripts.

Re: [PHP] PHP form help

2003-02-19 Thread Ray Hunter
Please provide more information...ie source code so we can find the problem. Ray On Wed, 2003-02-19 at 13:14, Steven M wrote: > Hi, > > I have created a form that passes details to the next page so the user can > see the details they have submitted before clicking confirm to submit to the > dat

Re: [PHP] get insert_id in odbc

2003-02-19 Thread Ray Hunter
Looks like there is not a function for it built in but you should be able to query the sequence and get the number from there by writing your own function... -- Ray On Wed, 2003-02-19 at 13:28, Jonathan Villa wrote: > Using MySQL, one can use mysql_insert_id to get the value of an > auto_incremen

Re: [PHP] Cron Job help Needed

2003-02-19 Thread Ray Hunter
Do a search at google for "cron jobs tutorial"... http://www.google.com/search?q=cron+job+tutorials That should give you lots to read... :) -- Ray On Wed, 2003-02-19 at 13:36, Pushpinder Singh Garcha wrote: > Hello All, > > I need to ask you about some resources for "cron" jobs. Please sugges

Re: [PHP] Undefined offset notices

2003-02-19 Thread Ray Hunter
Try using a for loop instead of a while loop... example: for( $i = 0, $tot = count($tmpparts); $i < $tot; $i++ ) { $content = "?>".$tmpparts[$i]; eval($content); foreach($command as $name => $cmds) { if($tmpcmds[$i] == $name) { $docmd = $cmds;

Re: [PHP] Computer Authorization

2003-02-20 Thread Ray Hunter
domain name, wins, kerberos, nis, mac-address those might be what you need... if you are using dhcp then you can get the ip information from the dhcp number based on the mac address... but remember that these can be spoofed... On Thu, 2003-02-20 at 17:59, Chris Cook wrote: > Hello all, > > I a

Re: [PHP] MAC address user recognition?

2003-02-20 Thread Ray Hunter
Remember that the mac address gets changed by devices on the network... -- Ray On Thu, 2003-02-20 at 20:29, Leo Spalteholz wrote: > I've been thinking about how to do authentication and user recognition > for my site without cookies. I had this idea but I don't really know > if its possible at

[PHP] Utah PHP User

2003-02-21 Thread Ray Hunter
I am thinking of starting a Utah PHP user group. If there are any Utah php user out there, please let me know if you would be interested in starting a user group for PHP. Thanks, Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Newbie look for some content specific tutorials

2003-02-27 Thread Hunter, Jess
Greets all, First time poster here and a 1 week old PHP/Mysql programmer I have bought several books and scoured the net for any and all PHP/MySQL tutorials. Here is the problem I am running into: 1. The docs tell how to access MySql through the MySql monitor 2. any docs that tutor how to make P

Re: [PHP] Can't run PHP cli script from Cron

2003-02-28 Thread Ray Hunter
You might want to post some code so we can see why it is not running... What do you get when you run the code from the commandline? -- Ray On Thu, 2003-02-27 at 21:30, Justin Michael Couto wrote: > I am trying to run a PHP CLI script from cron using PHP 4.3 and FreeBSD > 5.0 > > This is what

[PHP] Doing a Multiple Search

2003-03-04 Thread Hunter, Jess
I know this must be an easy solution, just not seeing what it is. I have tried to add several options to the below code but can't seem to get it right. Here is the Base Line I am working with: $Query="SELECT * from $TableName WHERE lastname='$Array[lastname] AND firstname='$Array[firstname]' ";

Re: [PHP] Calendar Controls

2003-03-05 Thread Ray Hunter
PHP does have some calendar functions: http://www.php.net/manual/en/ref.calendar.php However, these deal with converting between different calendar formats. There are the date and time functions that you will probably really would like to use. http://www.php.net/manual/en/ref.datetime.php Also

Re: [PHP] two buffers??

2003-03-05 Thread Ray Hunter
Review the file functions and you will find what you need: http://www.php.net/manual/en/ref.filesystem.php Like the functions: 1) file_get_contents() and 2) file() -- Ray On Wed, 2003-03-05 at 07:40, Mattia wrote: > i need to put in a var all the processed contents of a .php file in my > direct

[PHP] Newbie Problem with an IF Statement

2003-03-05 Thread Hunter, Jess
I have a short bit of code that contains an if/else that is causing me some trouble, I am sure that the answer is staring me straight in the face, and I am not seeing it. Can someone take a look and see where I am coding wrong? if ("[status]='active'"){ print ("the active line\n"); } else { pri

[PHP] Still having a problem with IF/ELSE Statement

2003-03-06 Thread Hunter, Jess
I want to tahnk those that responded to my previous post, seems I was doing this all the wrong way. I am still having an issue with the syntax: if("$status=='active'"){ echo("active line\n"); }else{ echo("inactive line\n"); }; When I display an employee record that has the employment status $Row

Re: [PHP] Still having a problem with IF/ELSE Statement

2003-03-06 Thread Ray Hunter
echo "active line\n"; } else { echo "inactive line\n"; } One of those should work based on the code. However, based on the variables $Row and $status that might not be the case. -- Ray On Thu, 2003-03-06 at 05:31, Hunter, Jess wrote: > I want to tahnk those t

Re: [PHP] PEAR problems

2003-03-06 Thread Ray Hunter
You might want to jump on the horde mailing list seeing that it is an issue with horde and not fully with PEAR. Horde uses PEAR for error and logging capabilities. And there are some really good people on the horde list. -- Ray On Thu, 2003-03-06 at 05:41, José Manuel Valente wrote: > Hi, >

Re: [PHP] stripslashes()

2003-03-08 Thread Ray Hunter
You could write a function like strippostslashes() that is called on everypage that access the $_POST or $_GET variables... -- Ray On Sat, 2003-03-08 at 23:29, John Taylor-Johnston wrote: > I need to stripslashes() practically every $value as I pass data from one submit to > another. > > L

Re: [PHP] Is the problem a server setting?

2003-03-10 Thread Ray Hunter
You should contact the web hosting system administrator and verify that they upgraded php. From what i can tell it seems that they did upgrade php. -- Ray On Mon, 2003-03-10 at 10:58, Chad Henderson wrote: > I have a number of websites that are on a hosting company, that I have been > using for

Re: [PHP] Force refresh of graphic - how?

2003-03-12 Thread Ray Hunter
You can use the meta tags to do a refresh of the browser page... example: after content you add the seconds of delay before refresh... More info on the meta tag: http://www.xs4all.nl/~dimaroan/htl/index.html -- Ray On Wed, 2003-03-12 at 09:49, Mark Wilson wrote: > I have a PHP page which in

Re: [PHP] Another questions about usning session.

2003-03-12 Thread Ray Hunter
But also note that session data can be stolen by other users too... -- Ray On Wed, 2003-03-12 at 10:10, Marek Kilimajer wrote: > Advantage of session is that you can trust the variables you keep in > your session. cookies can be spoofed > > André Cupini wrote: > > >* People, sorry my ugly Engl

Re: [PHP] really simple problem with GET

2003-03-12 Thread Ray Hunter
You form tag should be passing the get request to the php script. example: ... In test.php all should work now... -- Ray On Wed, 2003-03-12 at 11:04, Poon, Kelvin (Infomart) wrote: > Hi, > > I am sorry if the level of this question is too simple but I can't figure > out what's wrong. I w

Re: [PHP] authorization

2003-03-13 Thread Ray Hunter
The problem here is that most people work and do not have the time to "help" out. The best thing would to contract this portion out to the lowest bid. -- Ray On Wed, 2003-03-12 at 23:41, [EMAIL PROTECTED] wrote: > Hello, > > I'm wonding if someone can please assist me with the following addi

Re: [PHP] install php

2003-03-13 Thread Ray Hunter
make sure you config line has the location of you mysql install.. example: /.configure --with-mysql=/usr/local/mysql --with-apache=../apache_1.3.14 --enable-track-var -- Ray On Thu, 2003-03-13 at 00:14, sonjaya wrote: > dear milist > i want' instal php with mysql , itry > like this : > #./conf

Re: [PHP] Re user Identifying

2003-03-13 Thread Ray Hunter
Yes you can set up both in parallel...however, that is going to be tons of work for your system to manage. You can set up both that allows either sessions or cookies. -- Ray On Thu, 2003-03-13 at 01:55, Peter Goggin wrote: > My site uses shopping baskets to record what the user wants to but. Th

Re: [PHP] PHP and MySQL Full Text Search Problem

2003-03-13 Thread Ray Hunter
Since you are using fulltext search it is going to look for the exact spelling of what you pass in. If you wanted to get matches with Chris then you will want to modify your query by using LIKE. In version 4.0.1 of mysql you can do fulltext search in boolean mode. http://www.mysql.com/doc/en/Ful

Re: [PHP] Can't relocate to a specified URL after submit.

2003-03-13 Thread Ray Hunter
Where is the js code in the mix. Try putting an exit; after the header function and see if that works. -- ray On Thu, 2003-03-13 at 23:02, [EMAIL PROTECTED] wrote: > The code looks like: > if( $actionflag == "delete" ) > { > //Delete Table ip_enrollment > $query="delete from ip_enrol

Re: [PHP] setup connection to sybase

2003-03-13 Thread Ray Hunter
With the installation of sybase on the windows 2000 server (client installation) you will get an interfaces file that contains all the information for connecting to a sybase database. Make sure that you have the sybase client installed on the windows 2000 box that is running PHP. -- ray On Wed,

Re: [PHP] Validating XML strings

2003-07-01 Thread Ray Hunter
As of now i dont think that DOMXML functions support the validation of dtds or schemas...I have been looking for the past couple of days and did not find anything... I have not verified the xml extension for it but i doubt that that option is there either... -- BigDog On Tue, 2003-07-01 at 14:

Re: [PHP] Minimizing Database Hits

2003-07-01 Thread Ray Hunter
Only if your code is calling the database...if $cart_contents is set on the page and you call the var $car_contents over and over then no...the initialization of the var is the only time if it is called in get_cart_contents()... -- BigDog On Tue, 2003-07-01 at 16:41, Ralph wrote: > I wrote class

Re: [PHP] outputting xml declaration

2003-07-02 Thread Ray Hunter
you can always print like so... print ''; Then the parser does not try to parse inside the line. However, I dont know what will happen when you have short_open_tags in your php.ini file turned on...i usually turn it all of.. -- BigDog On Wed, 2003-07-02 at 07:33, Steven Apostolou wrote: > Hel

RE: [PHP] Java Applet to PHP Communication

2003-07-02 Thread Ray Hunter
you want to use either dom or saxon to parse the xml within java. So your applet can call some class that loads, parses and then does something with the xml. Usually you want to use a sax parser for the speed, however you can use a dom parser to manipulate the dom tree... -- BigDog On Wed, 2003

Re: [PHP] states

2003-07-02 Thread Ray Hunter
On Tue, 2003-07-01 at 16:55, Matt Palermo wrote: > Does anyone know of any built in functions or options for the US states? Nope no built in function for this... > I want to make a drop down menu and some other things which have the 50 > states in it. Is there any shortcut for this with PHP, or d

Re: [PHP] Connect Active Directory using LDAP... please help :)

2003-07-02 Thread Ray Hunter
The big issue that you will face will be with getting the dn correct for it to work.. I have connected to ldap exchange to do authentication and pull user data and it was a real hassle to get the dn correct.. -- BigDog On Tue, 2003-07-01 at 15:41, Vince C wrote: > Hi everyone, > > I tried to c

Re: [PHP] Re: PHP user group

2003-07-02 Thread Ray Hunter
there use to be phpusergroups.org but not sure if that is still going on... i know of 2 for utah and colorado... 1. Colorado = http://coloradophp.org 2. Utah = http://phpslc.com Perhaps others will add to the list. -- BigDog On Wed, 2003-07-02 at 12:06, erythros wrote: > th

Re: [PHP] Sending a PDF page

2003-07-03 Thread Ray Hunter
Try using the a shutdown function: http://us2.php.net/manual/en/function.register-shutdown-function.php and put all your logic that needs to run after the exit function. -- BigDog On Thu, 2003-07-03 at 13:18, Todd Cary wrote: > [Sent this the first time to the wrong list] > > In this code: >

Re: [PHP] PHP+MySQL on Apache running on WinXP

2003-07-07 Thread Ray Hunter
If i am not mistaken your phpinfo is picking up the bundled mysql package that comes with php. You should still be able to connect to mysql. However, if you downloaded the zip file instead of the installer then you should have a php_mysql.dll file that you can put in your path that php should pick

Re: [PHP] New to PHP

2003-07-07 Thread Ray Hunter
here is what you can do: 1. buy a php book and go throw the basics. 2. read the php manual because it has tons of information. 3. write any type of program that you can to get familiar w/ language. 4. get a fundamental understanding of programming, object oriented programming Just my $0.02 for ya

Re: [PHP] I am receiving the same posting TWICE

2003-07-07 Thread Ray Hunter
Submit code that we can review. there is not enough info here for you to recieve a complete response to your question. -- BigDog On Mon, 2003-07-07 at 15:11, Noah Solodky wrote: > Help! > I am receiving the same posting TWICE > how do I configure things to just get one copy of postings?? > -

Re: [PHP] New to PHP

2003-07-07 Thread Ray Hunter
If you are on developing on linux then that would be good. however, i strongly encourage gaining knowledge of programming concepts if that is what you are doing with php. Having a solid foundation of programming concepts will help you in php and any other language. -- BigDog On Mon, 2003-07-07

Re: [PHP] XML

2003-07-08 Thread Ray Hunter
XML is a way to store data in a structure format that is correct and is platform independent; meaning u can share data with anything that understands xml format. For web applications xml allows you to send data to the client and have the browser do the parsing for you. (I would suggest ie5.5 and n

RE: [PHP] XML

2003-07-08 Thread Ray Hunter
I see that not many sites require the use of xml/xsl(t). Many sites can just use html and database to accomplish 99.9% of the work. I always suggest that when you have tons of data that you need to send to the user that it is a good idea. Especially now that xslt is growing up :) I like to use xm

Re: [PHP] accesing php script in a different port

2003-07-09 Thread Ray Hunter
Try using sockets in php to set up the port and listen there... -- BigDog On Wed, 2003-07-09 at 00:22, Michael P. Carel wrote: > hi to all, > > I want to develop a system that can be access in a different port of the web > (such as in Port 11000). But i dont know how to do this without affecti

Re: [PHP] Using PHP with windows logon

2003-07-09 Thread Ray Hunter
On Wed, 2003-07-09 at 03:32, Brenton Dobell wrote: > can you use your windows logon as set it as a variable in php? U should probably look at how activex does it. I know that asp scripts do it all the time and possibly some com objects can set that for you. I have connected to exchange and use

RE: [PHP] XML

2003-07-09 Thread Ray Hunter
actually parse and display the contents > correctly, I should have enough to keep me busy for a while, and > hopefully help me to increase my knowledge and understanding so I won't > ask stupid questions on this list ;) > > > Thanks again for the input. > > > &

Re: [PHP] Where do I post loadable extensions questions?(semi-multi-part)

2003-07-09 Thread Ray Hunter
There is the internals mailing list that is for the developers of php, they can answer most questions about the internal workings of php. I would suggest reviewing the code in cvs to see how they are doing the c programming for modules. I figure that if you review those extensions then u should ge

Re: [PHP] nested for loops

2003-07-09 Thread Ray Hunter
Also u can do nested foreach loops too... Example: while( $row = mysql_fetch_array( $result ) ) { $rows[] = $row; } foreach( $rows as $row ) { foreach( $row as $i => $value ) { // do stuff here echo "$i = $value\n"; } } I do this tons... -- bigdog On Wed, 2003-07

[PHP] passing commands via ssh

2003-07-09 Thread Mignon Hunter
Hello all, I am trying to execute a command on another server from my web application. I need to execute the command via ssh for security reasons. I have a private key/passphrase installed for ssh so that I can run ssh without a password. The command: ssh -i vertex [EMAIL PROTECTED] TX 77041

Re: [PHP] passing commands via ssh

2003-07-09 Thread Mignon Hunter
-07-09 at 15:49, Jeff Harris wrote: > On Jul 9, 2003, "Mignon Hunter" claimed that: > > |Hello all, > | > |I am trying to execute a command on another server from my web > |application. > | > |I need to execute the command via ssh for security reasons. I have a >

Re: [PHP] php - javascript together prob?

2003-07-09 Thread Ray Hunter
U need to quote it with double quotes and escape them with like so: \" that should work for you. If not then you will need to start separating the string out and joining it with the "." . -- BigDog On Wed, 2003-07-09 at 15:51, Micah Montoy wrote: > Anyone have an idea of how to get this to wo

Re: [PHP] Code and Good Design Methods

2003-07-12 Thread Ray Hunter
Also u could build your own system that is php xml and xslt based. That will really help you separate the logic from the presentation. Check out (dom)xml and (dom)xslt. Sometimes there is still logic in the presentation with template systemswith xslt however, it might be to much for the design

Re: [PHP] Code and Good Design Methods

2003-07-13 Thread Ray Hunter
-07-13 at 01:20, Robert Cummings wrote: > Let's be honest, XSL is is one big logic step itself -- moreover it's a > whole other language to learn. > > Cheers, > Rob. > > On Sun, 2003-07-13 at 02:07, Ray Hunter wrote: > > Also u could build your own system

Re: [PHP] How does PHP interact when using Java?

2003-07-13 Thread Ray Hunter
Not to sure how they work together in a php environment, however another alternative it so use php in a java (servlet,j2ee) environment. It is harder to set up, however, there are not as many errors. Sometimes there is a performance increase. -- BigDog On Sun, 2003-07-13 at 01:50, Jan Bro wrote:

Re: [PHP] Can PHP Build XML Pages?

2003-07-14 Thread Ray Hunter
There are 2 ways that i make xml files with php. 1. Use domxml to make the docs. (RTM this is somewhat complex.) 2. Just create it similar to html but use xml tags. The second way is really easy. 1. Make sure to send header content type as text/xml. header( "Content-Type: text/xml" ); 2

[PHP] php.ini directives question

2003-07-14 Thread Ray Hunter
Does anyone know if the local values for the php.ini directives have presidence over the master value? -- BigDog -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How To Ask Questions - Some List Guidelines

2003-07-14 Thread Ray Hunter
I would like to also say that if one follows some sort of guideline that person is likely to recieve more help (responses). I know that if there are subjects that are vague and emails that contain little information, i tend to delete them. Whereas, if someone takes the time to address the issue, g

Re: [PHP] Problem with 4.3.2 built as DSO

2003-07-14 Thread Ray Hunter
Here is how i trouble shoot it: 1. make sure that there is a libphp4.so file in libexec. 2. make sure that you have these lines in httpd.conf: LoadModule php4_module libexec/libphp4.so AddType application/x-httpd-php .php 3. restart apache That should work for you. Also make sure that when y

Re: [PHP] Problem with 4.3.2 built as DSO

2003-07-14 Thread Ray Hunter
n > think of. > > -Patrick > > > Ray Hunter wrote: > > Here is how i trouble shoot it: > > > > 1. make sure that there is a libphp4.so file in libexec. > > 2. make sure that you have these lines in httpd.conf: > > > > LoadModule php4_module libex

Re: [PHP] PHP & Perl information sharing

2003-07-14 Thread Ray Hunter
u could set up a perl script to read cookies and vice versa with php. That should not be a problem you could also create a form with php variables and post it to a perl script. u you also create a link to a perl script that passes varibles via the url. Very easy to do just a matter of how you wa

Re: [PHP] php4_module is already loaded

2003-07-14 Thread Ray Hunter
Most likely your php is a core module that does not require the load module in your httpd.conf file... you can verify if it is core (static not DSO) with httpd -l -- BigDog On Mon, 2003-07-14 at 21:01, CDitty wrote: > I just updated my 4.2.x to 4.3.2 and when I restart the apache, I get the

Re: [PHP] console script html tags?

2003-07-14 Thread Ray Hunter
Turn the html errors off in your php.ini file or write a function that handles all your errors for you and u dont echo out html tags. http://us3.php.net/manual/en/function.set-error-handler.php -- BigDog On Mon, 2003-07-14 at 21:32, Curt Zirzow wrote: > Larry Brown <[EMAIL PROTECTED]> wrote: >

Re: [PHP] Older Version problems

2003-07-14 Thread Ray Hunter
Have you checked that the files are indeed getting to the directory that is specified by the upload_dir setting in php.ini? Also check your tmp dirs to see if they are getting there too. If they are not getting to the tmp dir then there are some issues. -- BigDog On Mon, 2003-07-14 at 21:19, [

Re: [PHP] Code and Good Design Methods

2003-07-16 Thread Ray Hunter
Actually, MVC works really well with XML technologies, however, there needs alot of work in php's core to fully utilize the benefits of an mvc paradigm. -- BigDog On Wed, 2003-07-16 at 04:12, Joel Rees wrote: > > Hi Joel, > > > > Thanks for nice comments on the XML, XSL. > > > > I want to know

Re: [PHP] XML

2003-07-16 Thread Ray Hunter
> 1. How efficient is to use XML+XSLT solution? Does it > add processing overhead to the system? The efficientcy is relative to many factors, however I can stress this. The style sheets can be cached client side and then only xml data can be sent to the user. This reduces bandwidth and allows the

Re: [PHP] Display HTML/PHP code on a web page

2003-07-17 Thread Ray Hunter
> I've googled for it, but nothing came up. How do I display code on a page > without it being executed? If you want to show php source then you can use show_source function or highlight_file function. -- BigDog -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:/

  1   2   3   4   >