[PHP] PayFlow Pro on OS X

2003-01-01 Thread Sam
arning: -L./lib changed to -L/Users/sams/freebsd/perl/./lib Warning: -L. changed to -L/Users/sam/freebsd/perl/. Note (probably harmless): No library found for -lpfpro Note (probably harmless): No library found for -lMSVCRT Writing Makefile for PFProAPI make and then finally it all goes very

Re: [PHP] Excel to MySQL

2003-01-03 Thread Sam
> Does anyone know of a FREE utility that will export data from an MS > Excel file and import it to MySQL. I have found a bunch of nice > utilities, but none of them are FREE. I'm in a bind and have to get > over 2000 rows imported to my database by morning and don't have to > order one of the othe

[PHP] PHP running perl running java OR PHP running java?

2003-01-03 Thread Sam
ybe.) STUPID things I've tried in PHP. Returns nothing. Nada. zip. Any help would be greatly appreciated. Sam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Perl > PHP

2003-01-04 Thread Sam
he perl script from a PHP script. didn't work. Thanks, Sam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] new to php/mysql

2003-01-31 Thread Sam
hi, i'm new to this php/mysql thing - i've defected microsoft. when trying to pull data from a table in mysql, i get the following error: Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in C:\cn\test.php on line 24 is this an error from my php page or do i

[PHP] register_globals On

2003-02-17 Thread Sam
I'm thinking of running a shopping cart package (osCommerce) that requires register_globals to be enabled. With all the warnings about security with register_globals enabled I'm worried. How dangerous is it? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.ph

[PHP] PHP with XML on Windows XP

2003-07-24 Thread Sam
I have recently upgraded a server which I use for development: Windows XP Home Apache 1.3.26 MySQL 3.23 PHP 4.3.2 with Pear Everything seemed to go well, except that now I James Clarks expat does not work. Very confused on this one I have uninstalled expat and re-i

[PHP] Where's the cookie file?

2003-05-27 Thread Sam
sessions, on my server, go into /tmp. Doesn't there have to be a similar file saved on the server for setcookie? All I know is mine aren't in /tmp Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Help---using pdfs with PHP

2001-01-11 Thread Sam
This is the code I use if ($HTTP_ACCEPT_LANGUAGE=="en-gb") { header("location: URL/test.pdf"); exit; } but it doesn't work, whereas when I paste the URL into the browser, it works fine. Is there any reason f

[PHP] Netscape does not show all the variables

2001-01-11 Thread Sam
relevant information is produced. Is there anyway to do this, using php? Thanks Sam Rose The information in this email and in any attachments is confidential

RE: [PHP] Netscape does not show all the variables

2001-01-11 Thread Sam
Yeah, but there are three locations that I have which are UK, US and Australia. Each of them have different en-??. Well on IE anyway. So I'm not sure which way to go about this. -Original Message- From: Cynic [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 11, 2001 3:12 PM To

[PHP] Database Connections - permanent or something else?

2001-01-16 Thread Sam
Hi, I have several web pages that are built with php and mySQL. I use a new connection for each script. Should I be using a permanent connection? Or is there a better way around this? Regards, Sam Rose -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] Checking if files are there?

2001-01-24 Thread Sam
s is no map for this trip."; exit; } else { print ""; } This works but also brings up a warning message as well, which is not wanted. Is there a way to get rid of the warning message? Thanks in advance Sam Rose -- PHP General Mailing List (http://www.php.net/) To un

[PHP] Displaying Date correctly

2001-01-24 Thread Sam
Hi all, I was wondering how I can display a date in this format 'DD/MM/YY' As when I do a select statement and display the date I get it in this format 'DD-MM-YYY 00:00:00' Which is kind of annoying. I am using mySQL and also PHP. Thanks in advance. Sam Rose -- PHP

[PHP] Getting to many returns when creating a text file

2001-05-08 Thread Sam
" and commas. Is there a way, when creating the text file, to get rid of all these? Thanks in advance, Also I am only on the digest list so if you could email to me as well as the list, I'd be very grateful. Cheers Sam Rose -- PHP General Mailing List (http://www.php.net/) To unsubscri

[PHP] Textarea returns causing havoc

2001-05-09 Thread Sam
Hi all, I have a web form in which users can type their comments into a text area field. This is ok apart from when the users hit a return. As this creates a new line... Is there anyway in which I can get rid of this:- Hi My name is Sam Rose into this: Hi my name is Sam Rose I have tried

[PHP] Mulitple Attachments using php

2002-01-16 Thread Sam
ments in an single email. I have managed it with one code but it always introduced an ATT01583.ATT file, which I do not understand. Any guidence would be very useful, Thanks Sam

[PHP] Rand function

2002-01-22 Thread Sam
Hi all, Can anyone tell me why, when I run this $number = rand (1,12); The only number that ever appears is 5? Not really a random number... Thanks Sam

[PHP] Making a string from an Array

2001-10-25 Thread Sam
ot; OR $words[$i]=="is" OR $words[$i]=="it") { $ignored[] = $words[$i]; } else { $included[] = $words[$i]; } } How can I make $included and $ignored a string instead of an array. Thanks Sam Rose p.s. Also I'm only on the digest, so if you could reply directly to me as well, that would be a bonus.

[PHP] Another Installation Problem...sorry

2001-12-13 Thread Sam
file on the web, it looks like this... So for some reason it's not processing. Any ideas? Sam

[PHP] Help with select boxes

2001-12-22 Thread Sam
cks on the drop down, the options expand outwards. Is this possible? Thanks Sam Also I'm only on the digest so could you reply to me as well, cheers.

[PHP] Uploading a file into a database....ideas please.

2001-06-20 Thread Sam
please help. Thanks in advance. Sam Rose (Also could you reply to my email address as I don't seem to get anymore emails from the list come through)

[PHP] Setting multiple values in a cookie

2001-09-19 Thread Sam
Hi all, I was wondering how you can set multiple values into a single cookie. Thanks in advance, Also could you reply straight to me as well, as I'm on the digest list. Cheers Sam Rose

[PHP] Dealer Locater web app

2004-08-31 Thread Sam
Anyone know of a Dealer Locater PHP app that I can buy (or get for free) other than the one at YourPHPpro ? They guys software is great but I've been trying to buy it for a week and can't get a response from him. -- PHP General Mailing List (http://

[PHP] Tracking the progress of download

2009-12-16 Thread Sam
Hello to all! Who knows how to track the progress of the download using PHP and JavaScript? I have a script that downloads file from net to the server, and I want to the process including the speed to the clientside. How can I do that? Best regards, Sam -- PHP General

Re: [PHP] A PHP-driven script to determine if the environment is configured correctly (checklist)

2009-12-16 Thread Sam
hanged(max_execution_time), compare to the value you gave in .htaccess, if values are the same, .htaccess is working! -- Sam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Submit button as image

2004-05-12 Thread Sam
What do you do with this? Submit.x=22&Submit.y=13 if($_GET['Submit.x'] > 0) ??? Is there some smarter way of dealing with an image as a submit button? input name="Submit" type="image" value="doesNOTseemTOmatter" Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] reset a resource?

2006-06-08 Thread sam
After I've looped through a resource do I have to run the query again to load up 'mysql_fetch_assoc' or is there some kind of reset function I can't find? $q = "SELECT * FROM table; $s = mysql_query($q, $pe) or die(mysql_error()); while ($row_s = mysql_fetch_assoc($s)) { echo $i++;

[PHP] parsing out quoted text

2006-06-09 Thread sam
$str='bass "electric organ" bagpipes'; $parser($str); $query="SELECT * FROM table WHERE tb_instr = "bass" > AND tb_instr = "electric organ" //< AND tb_instr = "bagpipes"; Anybody know where I can just copy code that will do the above? thanks -- PHP General Mailing List (http://www.p

[PHP] preg_replace \\1 yIKES!

2006-06-13 Thread sam
Wow this is hard I can't wait till I get the hang of it. Capitalize the first letter of a word. echo preg_replace('/(^)(.)(.*$)/', strtoupper('\\2') . '\\3', 'yikes!'); // outputs yikes! Nope didn't work. So I want to see if I'm in the right place: echo preg_replace('/(^)(.)(.*$)/', '\\1' .

Re: [PHP] preg_replace \\1 yIKES!

2006-06-13 Thread sam
for Eyes burning; caffein shakes; project overdue Thanks Why not just use ucfirst http://us2.php.net/manual/en/ function.ucfirst.php? -Original Message- From: sam [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 13, 2006 2:34 PM To: PHP Subject: [PHP] preg_replace \\1 yIKES! Wow this

Re: [PHP] preg_replace \\1 yIKES!

2006-06-14 Thread sam
On Jun 13, 2006, at 1:58 PM, tedd wrote: At 11:33 AM -0700 6/13/06, sam wrote: Wow this is hard I can't wait till I get the hang of it. Capitalize the first letter of a word. Try: This blows my mind. What should one think, "everything is an array"? Well, oka

Re: [PHP] preg_replace \\1 yIKES!

2006-06-14 Thread sam
And hey yo, Jochem, I did RTFM, for hours, I always do before I post to the list. I just I'd tell you to RTFM (although I did tell you to read the manual regarding the specifics of using preg_replace()'s 'e' modifier after showing you a working example of how to use it, based on your ori

Re: [PHP] Parse Error... how to fix?

2004-12-16 Thread Sam
GH wrote: Hi All... Got a problem... here is the error: Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /var/www/html/ahrc_computerclub/ahrc_computerclub.php on line 42... I am not sure on how to fix it... line 42 is: " $language['program_name'] \n" . The

[PHP] Breaking up a line and using the text?

2001-02-05 Thread Sam
Hi all, I was wondering if it is possible to break up a line of text from a database, and split it into separate links, eg Original line Hi my name is Sam Rose Which can then be broken down into Hi My Names is Sam Rose Thanks in advance Sam

[PHP] Getting PHP to handle other HTTP methods

2003-02-19 Thread Sam Minnee
into /dav/mydav.php?uri=(anything) I would be on my way. However, seems to only sends the GET and POST methods to the script. I'm using mod_php, not the standalone w/ a handler. Is is possible to send the extra WebDAV methods to the PHP script? Thanks, Sam -- PHP General Mailing List (htt

[PHP] HTTP_RAW_POST_DATA

2003-02-19 Thread Sam Minnee
t? Thanks, Sam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How to address __FILE__ constant in extensions?

2003-07-16 Thread Sam Baum
Hi there, i am not getting it. How can I read out the magical __FILE__ constant inside an _extension_ (a loadable module) ? Its not in symbol_table, so where is it? bg Sam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: classes v. functions

2003-07-19 Thread Sam Baum
ng_stuff'][$res] = $stuff; } function thing_get($stuff, $res=NULL) { if (is_null($res)) $res = $GLOBALS['thing_resource']; return $GLOBALS['thing_stuff'][$res]; } Because there is no constraint to be more OO like in Java it doesnt makes sense. And this

Re: [PHP] Re: classes v. functions

2003-07-19 Thread Sam Baum
Hi there, am Saturday 19 July 2003 16:30 schrieb Curt Zirzow: > Sam Baum <[EMAIL PROTECTED]> wrote: >> Hi, >> >> am Friday 18 July 2003 23:08 schrieb Andu: >> >> > This may show my ignorance or my refusal to take for granted something >> &

[PHP] Re: Passing Serialized Array via Hidden field

2003-07-21 Thread Sam Baum
de(serialize($my_array)). However, after retrieving data from > hidden field and unserialize I've got junk. Just guessing: tried it w/o urlencode? Sam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] classes v. functions

2003-07-23 Thread Sam Baum
be an PHPNuke or Typo3-programmer, beeing lucky to get at least 1 request per second ;). Don't take it hard, but If you had ever been in computer-science [school|college|...] you would know that speed is all that matters. bg Sam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Argh! nulls un stuff..

2002-10-14 Thread Sam Masiello
t;] > 0 && $_SESSION["temp"] != "" && is_numeric($_SESSION["temp"]) HTH Sam Masiello Software Quality Assurance Engineer Synacor (716) 853-1362 x289 [EMAIL PROTECTED] -Original Message- From: Francis [mailto:[EMAIL PROTECTED]] Sent: M

[PHP] file upload broken in my case?

2002-11-07 Thread sam clanton
on /tmp are 777 -> _FILES always returns a temp name and a file size but the file never actually appears. Running is_uploaded_file on the tmp_name returns _success_ even though the file is not there. I am beginning to think that my compile is broken, please let me know if anyone has any

Re: [PHP] file upload broken in my case?

2002-11-07 Thread sam clanton
That's it --- that will teach me not to read the last line in the documentation! argh... Thanks Sam On 7 Nov 2002, Marco Tabini wrote: > When are you checking that the file actually exists? PHP deletes the > temporary file once the script has finished executed. This means you >

RE: [PHP] is php.net down ?

2002-07-22 Thread Sam Masiello
You could try one of the mirrors. For example, http://php.ca is up and running. HTH Sam Masiello Software Quality Assurance Engineer Synacor (716) 853-1362 x289 [EMAIL PROTECTED] -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED]] Sent: Monday, July 22, 2002 11:56 AM

RE: [PHP] Dealing with large classes over several files

2003-12-02 Thread Sam Masiello
This URL might be of some assistance to you: http://www.php.net/manual/en/ref.classobj.php It is a page on how to write classes and its associated member functions in PHP. There are a couple of other pages in the documentation which may be of assistance to you as well. HTH! --Sam

RE: [PHP] can mail() function send emails to any email account?

2003-12-03 Thread Sam Masiello
Did you get a bounce? Perhaps to the root account on your local machine? Some domains do reverse DNS lookup and if sendmail is not configured properly the receiving domain might kick the email back if it doesn't recognize where the email claims to be coming from. --Sam -Original Me

RE: [PHP] display settings

2003-12-09 Thread Sam Masiello
Since PHP is a server side language, you cannot get information like the users display settings. If you want this information, you will need to use a client side language like Javascript or VBScript. --Sam Hartley, Matt wrote: > I am sort of new at this, I am wondering if it is possible

RE: [PHP] What is a XSS attacks?

2003-12-12 Thread Sam Masiello
That is correct. http://www.derkeiler.com/Mailing-Lists/securityfocus/bugtraq/2003-11/006 5.html --Sam Richard Davey wrote: > Hello orlandopozo, > > Saturday, December 13, 2003, 12:04:02 AM, you wrote: > > oicv> What is a XSS attacks? > > Cross Site Scripting Att

RE: [PHP] Help with php output to file

2003-12-18 Thread Sam Masiello
Anytime I need to do something similar to this I prefer to use "lynx -source [[URL]] > [[output_file]]" HTH! --Sam Paul Godard wrote: > Hi > > I have develop an online catalog in php/mysql. Now the client needs > the web site on a cd. Of course without php or

RE: [PHP] MySQL newsgroup

2003-12-18 Thread Sam Masiello
The URL below lists all of the MySQL mailing lists. Just choose the one that is most specific to your issue: http://lists.mysql.com/ HTH! --Sam JLake wrote: > Can anyone point my to a MySQL specific SQL newsgroup. having some > problem corectly extracting data. > > Thanks, &g

[PHP] PEAR::SOAP using PHP...please help!

2003-12-19 Thread Sam Masiello
I have posted this question to both the PHP SOAP and the PEAR General lists and have not received a reply on either list (not a very responsive group, I guess :) ) so I thought I would try to reach a larger audience in hopes that perhaps one of you out there might be able to help. Any assistance

RE: [PHP] Parse error in mysql_query()

2003-12-22 Thread Sam Masiello
Perhaps it doesn't like the fact that you don't have quotes around your array keys? --Sam Tyler Longren wrote: > Error: > Parse error: parse error, expecting `']'' in > /usr/local/apache/htdocs/UP/index.php on line 871 > > Line 871: > mysql_query

RE: [PHP] Newbie question

2004-01-13 Thread Sam Masiello
ovide some guidance on how to do that. HTH! --Sam James Marcinek wrote: > Hello Everyone, > > I'm new to this so forgive my ignorance. I'm trying to use php with > MySQL as a database. I'm using apache 2.0 in addition to Mysql 4.1. > > I created a simple page (

RE: [PHP] SSH file transfers

2001-01-11 Thread Sam Leibowitz
le of other SCP tools out there for Windows (some of which are even free!), but you can search for the links yourself at the usual suspects' sites (download.com, zdnet.com, etc). If you're actually trying to make PHP handle file uploads and downloads securely, you're basically looking at

RE: [PHP] got it

2001-01-16 Thread Sam Masiello
Another satisfied customer :) Sam Masiello Systems Analyst Chek.Com (716) 853-1362 x289 [EMAIL PROTECTED] -Original Message- From: Serge Montmarquette [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 16, 2001 2:02 PM To: [EMAIL PROTECTED] Subject:[PHP] got it ok

RE: [PHP] php'ed mysql query

2001-01-16 Thread Sam Masiello
If you are going to do a comparison from one of the fields in your table, doesn't the field name need to be on the left hand side of the comparison? So instead of "where '$zip1' >= zip", shouldn't it be "zip < '$zip1'" (et al for the other

[PHP-CVS] cvs: php4 /ext/muscat LICENSE LICENSE.about Makefile.in aegis.log config config.m4 muscat.c muscat.php muscat_handles.h muscat_net.c muscat_net.h php_muscat.h

2001-01-18 Thread Sam Liddicott
| +--+ | Author: Sam Liddicott <[EMAIL PROTECTED]> | +--+ */ Index: php4/ext/muscat/Makefile.in +++ php4/ext/muscat/Makefile.in LTLIBRARY_NAME= libmuscat.la LTLIBRARY_SOURCES = mu

[PHP-CVS] cvs: php4 /ext/muscat aegis.log config

2001-01-18 Thread Sam Liddicott
samjam Thu Jan 18 05:30:01 2001 EDT Removed files: /php4/ext/muscataegis.log config Log: Aghh. Despite my efforts two files still slipped through -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

[PHP-CVS] cvs: php4 /ext/muscat muscat.c

2001-01-18 Thread Sam Liddicott
samjam Thu Jan 18 08:16:28 2001 EDT Modified files: /php4/ext/muscatmuscat.c Log: Some decent credits and such in the phpinfo page Index: php4/ext/muscat/muscat.c diff -u php4/ext/muscat/muscat.c:1.1 php4/ext/muscat/muscat.c:1.2 --- php4/ext/muscat/musc

[PHP-CVS] cvs: php4 / EXTENSIONS

2001-01-19 Thread Sam Liddicott
: muscat +PRIMARY MAINTAINER: Sam Liddicott <[EMAIL PROTECTED]> +MAINTENANCE: Maintained +STATUS: Working +SINCE: 4.0.5 +COMMENT: Not tested against windows, only core API completed, rest under +devel

RE: [PHP] mcal installation

2001-01-19 Thread Sam Masiello
Since you didn't mention it specifically, I thought I should ask: Did you also download the mcal library or did you only include -with-mcal when you compiled PHP? Sam Masiello Systems Analyst Chek.Com (716) 853-1362 x289 [EMAIL PROTECTED] -Original Message- From: johnny p. [m

RE: [PHP] mcal installation

2001-01-19 Thread Sam Masiello
ps in the manual", but then learn to find out that they either did something wrong or skipped a step along the way. Sam Masiello Systems Analyst Chek.Com (716) 853-1362 x289 [EMAIL PROTECTED] -Original Message- From: johnny p. [mailto:[EMAIL PROTECTED]] Sent: Friday, January 19,

RE: [PHP] Search Engines and PHP

2001-01-22 Thread Sam Leibowitz
Just a quick addendum - search enginies tend to be picky about indexing pages that have short expire times. So, if you're using header() to prevent pages from being cached (or at least, cached for very long), you should expect search engines to turn their noses up at them.

RE: [PHP] Selecting max(id) of a table

2001-01-22 Thread Sam Masiello
Try this: $result=mysql_query('select max(id) as max_id from mytable'); $max=mysql_result($result, 0, 'max_id'); print ('Max id in the table=$max'); HTH Sam Masiello Systems Analyst Chek.Com (716) 853-1362 x289 [EMAIL PROTECTED] -Original Message- F

RE: [PHP] ID value

2001-01-23 Thread Sam Masiello
If you are using mysql as your database, you can use mysql_insert_id. See http://www.php.net/manual/en/function.mysql-insert-id.php for more info :) HTH Sam Masiello Systems Analyst Chek.Com (716) 853-1362 x289 [EMAIL PROTECTED] -Original Message- From: Robert Morrissey [mailto

RE: [PHP] mysql_insert_id()

2001-01-24 Thread Sam Masiello
sql_connect like: $result = mysql("mydb", "My SQL statement", $my_connect) ; $last_id = mysql_insert_id($my_connect) HTH Sam Masiello Systems Analyst Chek.Com (716) 853-1362 x289 [EMAIL PROTECTED] -Original Message- From: Boget, Chris [mailto:[EMAIL PROTECTED]] S

RE: [PHP] mysql_insert_id()

2001-01-24 Thread Sam Masiello
You probably stated this in your previous post, but what is the result from your call to mysql() ? Is this call failing so that when you get to mysql_insert_id(), the id doesn’t exist? HTH Sam Masiello Systems Analyst Chek.Com (716) 853-1362 x289 [EMAIL PROTECTED] -Original Message

RE: [PHP] mysql_insert_id()

2001-01-24 Thread Sam Masiello
two different people running queries), you should not have a conflict. HTH Sam Masiello Systems Analyst Chek.Com (716) 853-1362 x289 [EMAIL PROTECTED] -Original Message- From: Boget, Chris [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 24, 2001 4:49 PM To: 'Sam Masiello'; P

RE: [PHP] How do I to declare a function or procedure in PHP???

2001-01-25 Thread Sam Masiello
Hello Bruno! See the following URL in the PHP manual: http://www.php.net/distributions/bigmanual.html#functions HTH Sam Masiello Systems Analyst Chek.Com (716) 853-1362 x289 [EMAIL PROTECTED] -Original Message- From: Bruno Freire [mailto:[EMAIL PROTECTED]] Sent: Thursday

[PHP] PDF Problems

2001-02-21 Thread Sam Goin
Hi, I am running PHP4.04pl1, pdflib3.03, jpeg6b, tiff3.5.5, apache1.3.17. Some of the pdf functions work, but others don't, such as pdf_new(). Does anybody know what the problem is? I have been all over the documentation, email archives, and support discussions at phpbuilder.com thanks, Sam

Re: [PHP] $PATH_INFO

2001-02-27 Thread Sam Masiello
;somevalue" is supposed to be the name of a page? I am sure someone will chime in if this is wrong, but I would doubt that it isof course, I guess the best way to find out is to try it :) -- Sam Masiello Systems Analyst Chek.Com (716) 853-1362 x289 [EMAIL PROTECTED] On 2001.02.27 11:1

RE: [PHP] multiple connects

2001-04-19 Thread Sam Masiello
Well, you won't have two persistent connections to the same database (for the same username/password). So, as long as you use the link identifier as the third argument to the mysql_query function (or mysql...whichever you are using), that is guarantee enough. HTH Sam Masiello Systems An

RE: [PHP] MySQL and LIKE?

2001-04-25 Thread Sam Masiello
Why not do something like: SELECT myTable.col FROM myTable, otherTable WHERE myTable.id = otherTable.ID AND (otherTable.data LIKE "a.%" OR otherTable.data LIKE "s.%" OR otherTable.data = "io.bean") HTH Sam Masiello Systems Analyst Chek.Com (716) 853-1362 x289 [EM

[PHP] Urgent: PHP4 security (ISP setup)

2001-05-01 Thread Sam Jordan
e PHP scripts with the userid of the FTP user, when PHP is configured as apache module. Can anyone tell me how to setup PHP in a secure way without getting these restrictions concerning file writing? Thank you very much for your feedback, and please CC your answer to [EMAIL PROTECTED]! S

[PHP] Re: Managing Multiple Conditions in a MySQL Query

2001-05-02 Thread Sam Leibowitz
ERE Public='yes',Verified='yes'... Additionally, you're passing your results directly to a while loop, which is a something of a no-no. Even if your SQL statement is perfectly formatted, you'll generate a warning if the number of rows returned is zero. Sam

RE: [PHP] How do I have a Authentication box pop up?

2001-05-17 Thread Sam Masiello
See the following URL in the manual: http://www.php.net/manual/en/features.http-auth.php HTH Sam Masiello Systems Analyst Chek.Com (716) 853-1362 x289 [EMAIL PROTECTED] -Original Message- From: Brandon Orther [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 17, 2001 1:48 PM To

RE: [PHP] Parse error help!

2001-05-18 Thread Sam Masiello
Perhaps you want something like this: $Msg = $H.$NL.$R.$NL.$D; HTH Sam Masiello Systems Analyst Chek.Com (716) 853-1362 x289 [EMAIL PROTECTED] -Original Message- From: Taline Makssabo [mailto:[EMAIL PROTECTED]] Sent: Friday, May 18, 2001 11:18 AM To: [EMAIL PROTECTED

RE: [PHP] Blank Field Values

2001-05-18 Thread Sam Masiello
Did you echo out $CharacterName before your SQL statement to ensure that it is being set? Or your $SQL variable before calling odbc_do? This might provide you with some insight as to why the query doesn't return anything. HTH Sam Masiello Systems Analyst Chek.Com (716) 853-1362 x289 [

[PHP] Check multiple cookies

2001-05-21 Thread Sam Gooding
Is it possible to check multiple cookie values and then redirect to another page depending on what cookie values have been set? Sort of like: if(cookie == 3) goto(url1) elseif(cookie2 = 5) goto(url2) else goto(url3) Thanks in advance! -- PHP General Mailing List (http://www.php.net

RE: [PHP] Accesing Oracle

2001-05-21 Thread Sam Masiello
Sounds like you need to recompile PHP with Oracle support. Recompile PHP with the -with-oracle flag when running the configure script to include the Oracle functions. HTH Sam Masiello Systems Analyst Chek.Com (716) 853-1362 x289 [EMAIL PROTECTED] -Original Message- From: Kike

Re: [PHP] Check multiple cookies

2001-05-21 Thread Sam Gooding
ic idea. The following is exactly what I typed in (just copy and pasted) but I'm still getting the error: Cannot add header information - headers already sent by (output started at web.php:2) in web.php on line 19 "Sam Gooding" <[EMAIL PROTECTED]> wrote in message [EMAIL PR

Re: [PHP] Check multiple cookies

2001-05-22 Thread Sam Gooding
At 05:04 PM 5/21/01 +0100, James Holloway wrote: >Hi Sam, > > > > The following is exactly what I typed in (just copy and pasted) but I'm > > still getting the error: > > > > Cannot add header information - headers already sent by (output started at &g

[PHP] ora_numrows() function

2002-01-02 Thread Sam Masiello
. Could someone please give me a quick clarification? Thanks :) --Sam Sam Masiello Software Quality Assurance Engineer Synacor (716) 853-1362 X289 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] does this work?

2002-01-10 Thread Sam Masiello
I think it will really help if you post more of your code. It is obvious that the parse error is not contained within the lines of code that you pasted :) I think more of your code will reveal the answer rather quickly :) HTH Sam Masiello Software Quality Assurance Engineer Synacor (716) 853

[PHP] Re:[PHP] Mysql

2002-01-14 Thread Sam Masiello
"create table" command: http://www.mysql.com/documentation/mysql/bychapter/manual_Reference.html#CREATE_TABLE HTH --Sam On Tue, 15 Jan 2002 03:46:47 +0300 -=LukA=- <[EMAIL PROTECTED]> wrote: >Hello php-general, > > Hi everybody > Please help me. > If i

Re: [PHP] MySQL and PHP

2002-01-17 Thread Sam Masiello
What is the error that you are getting? --Sam - Original Message - From: "Brandon Orther" <[EMAIL PROTECTED]> To: "PHP User Group" <[EMAIL PROTECTED]> Sent: Thursday, January 17, 2002 5:25 PM Subject: [PHP] MySQL and PHP > Hello, > > I am

Re: [PHP] OOP Problem

2002-01-22 Thread Sam Masiello
ation. HTH Sam Masiello Software Quality Assurance Engineer Synacor (716) 853-1362 X289 [EMAIL PROTECTED] - Original Message - From: "Charles" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 22, 2002 10:25 AM Subject: [PHP] OOP Problem > Hi,

Re: [PHP] Help with Logical 'OR'

2002-01-28 Thread Sam Masiello
is always necessary to evaluate both conditions as both conditions need to be true in order for the entire statement to be true. If any condition in a set of AND conditions is false, the value of the entire expression is also false. HTH Sam Masiello Software Quality Assurance Engine

Re: [PHP] force refresh?

2002-02-07 Thread Sam Masiello
You can force the browser to refresh using a meta tag: This will cause the page to refresh every 180 seconds. HTH Sam Masiello Software Quality Assurance Engineer Synacor (716) 853-1362 X289 [EMAIL PROTECTED] - Original Message - From: "Chris Wright" <[EMAIL P

RE: [PHP] Re: how to popup a new browser window from php

2002-04-19 Thread Sam Masiello
Your message was clear, and as stated by several people already, you can't do it in PHP. PHP is a server side scripting language, Javascript and VBScript are client side languages. Popping up a dialog box is a client side function, thusly cannot be done in PHP. :) HTH --Sam -Ori

Re: [PHP] Unusual Form situation?

2002-02-27 Thread Sam Masiello
($myimage_x) || isset($myimage_y)) { // do something } If the image was clicked, this will submit your form, and both $myimage_x and $myimage_y will be set. HTH Sam Masiello Software Quality Assurance Engineer Synacor (716) 853-1362 X289 [EMAIL PROTECTED] - Original Message - From

Re: [PHP] PHP and passwords

2002-02-28 Thread Sam Masiello
sword were to change, you only have to change one script instead of changing many. HTH Sam Masiello Software Quality Assurance Engineer Synacor (716) 853-1362 X289 [EMAIL PROTECTED] - Original Message - From: "webmaster" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sen

[PHP] Urgent: Apache sometimes displays PHP source code

2002-03-21 Thread Sam Jordan
the answer to [EMAIL PROTECTED] Thank you very much for reading! Have a nice day Sam Jordan, Switzerland -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Uploading files without an HTML form

2002-03-25 Thread Sam Rose
Hi there, I was wondering if it is possible to upload an known file without having to use an HTML form with the post command? If so, could you point me in the right direction? Thanks alot Sam Rose p.s. I'm only on the digest list, so it would be really handy if you could send any re

[PHP] Uploading files without an HTML form

2002-03-28 Thread Sam Rose
Hi there, I was wondering if it is possible to upload an known file without having to use an HTML form with the post command? If so, could you point me in the right direction? Thanks alot Sam Rose p.s. I'm only on the digest list, so it would be really handy if you could send any re

Re: [PHP] Spam messages (Was: FREE S E X O

2001-10-18 Thread Sam Masiello
...but then what do you do about the people who have legitimate questions who don't want to subscribe to the list? This is a fairly high traffic list and not everyone wants that much mail coming at them just to have the occasional one-off question answered. Sam Masiello Software Qu

Re: [PHP] PHP on fu!$#@ing PWS

2001-10-22 Thread Sam Masiello
receiving. HTH Sam Masiello Software Quality Assurance Engineer Synacor (716) 853-1362 X289 [EMAIL PROTECTED] - Original Message - From: "German Benzano" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 22, 2001 11:19 AM Subject: [PHP] PHP on fu!$#@in

Re: [PHP] PHP & FRAMES Question

2001-11-15 Thread Sam Masiello
In your printf statement, you are targetting "sub_detl" whereas in your frameset you name the frame "sub_dtl". Naturally, these values should match. HTH Sam Masiello Software Quality Assurance Engineer Synacor (716) 853-1362 X289 [EMAIL PROTECTED] - Original Messag

  1   2   3   >