Re: [PHP] Re: strange include path error

2007-06-28 Thread brian
Jim Lucas wrote: brian wrote: FWIW, i've also carefully gone over the site and everything seems to be in order. The error was triggered when some script included a DB connection script (that has "require_once 'MDB2.php';") but, unfortunately, the error msg doesn&#x

Re: [PHP] implementation of guest book

2007-06-30 Thread brian
r you got this code from. Failing that, you'll probably have to write your own administrative scripts to access the guestbook tables in the database. That should be pretty straightforward by studying the script you have. brian -- PHP General Mailing List (http://www.php.net/) To unsubscri

Re: [PHP] Re: Simple PHP setting arrays with keys question

2007-07-09 Thread brian
e looked like this in a foreach iteration: $value = Array('productName' => 'foo', 'actualValue' => 'bar') you'd have: $products['foo'] == 'bar'; Is that what you're looking for? brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] html emails and plain text dectection

2007-07-17 Thread brian
case, you should be sending both parts--plain text & HTML--and allowing the recipients to view it as they wish. And sending mail as HTML only is a good way to have your messages marked as SPAM. brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Is it possible to stop an image from being cached?

2007-07-26 Thread brian
s there any tactic short of changing the name constantly of the image to avoid browser caching of an image? - Dan Solution 1: Send a header() that avoids caching (can't remember it exactly) You can try: header('Cache-Control: no-store, no-cache, must-revalidate, Post-Check=0, Pre-C

Re: [PHP] Sessions?

2007-07-26 Thread brian
Luc wrote: Good morning list, I have my form up and running but something is missing: if you omit required fields, the form returns an error like: please fill in ... please fill in... the error message is displayed above the form on the same page. The problem is that upon showing the

Re: [PHP] HELP: Text editor that deals with BOM very well

2007-07-27 Thread brian
Chris wrote: Ryan Lao wrote: Hello everyone, Just need to ask a simple question, where can a find a text editor that deals with byte order mark very well? I've been using dreamweaver for a few years now but im not impressed by how it deals with BOM. i need a text editor that can view a bom a

Re: [PHP] how to use imagestring() function with Chinese String

2007-07-27 Thread brian
Davis Chan wrote: Hi! I am trying to use the imagestring() function to put a string of Chinese characters from a $_GET variable onto an image. However, the characters do not display right (English is fine). Is there a way I can fix this or it is the limitation of the function itself? Thanks.

Re: [PHP] Hide the real URL

2007-07-27 Thread brian
t to keep private. /var/www/vhosts/client_[1 .. n]/htdocs brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] how to use imagestring() function with Chinese String

2007-07-28 Thread brian
Davis Chan wrote: brian wrote: Does the font you're using support Chinese characters? Are the Good point, I think I am just using the "default" and size 1. Are there other fonts? Where can I find the font file for imageloadfont()? You'll need to find a TrueTyp

Re: [PHP] Error Handling question

2007-08-06 Thread brian
copy paste this code in all my Php pages or is there a better way ? You could use auto_prepend_file: http://www.php.net/manual/en/ini.core.php#ini.auto-prepend-file brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Check if var has a date (timestamp or regular)

2007-08-06 Thread brian
y'], $arr_date['year'])) { ... } brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] javascript in or in ?

2007-08-07 Thread brian
x27;s the onload handler for that. In your case, it looks like that function could be placed pretty much anywhere, as it can only be called once the page has loaded, anyway. Is your problem that you can't change the head of the page (to include that function) for some reason? In any case, g

Re: [PHP] Echoing input w/o sanatizing - what is the danger

2007-08-07 Thread brian
Daniel Brown wrote: On 8/7/07, Richard Lynch <[EMAIL PROTECTED]> wrote: On Tue, August 7, 2007 5:08 pm, Daniel Brown wrote: It's actually not so much for echo'ing as it is for processing the data in another manner that makes it dangerous not to do some sanitizing and checking such as data

Re: [PHP] two confuse problems

2007-08-08 Thread brian
d is returning an error code. See the comment by "saulius at solmetra dot lt" on that page for instructions for dealing with errors. brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] preg_match_all to match tags

2007-08-09 Thread brian
ange the dimensions of the image or not, change the visibility of each to 'visible'. So, um ... no PHP involved. brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] multiple data to insert to database

2007-08-11 Thread brian
to replace them with '\N' (which is the default that the function is expecting). brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] reading a word document

2007-08-11 Thread brian
/projects/wv/ catdoc Convert MSWord files to plaintext http://freshmeat.net/projects/catdoc/ word2x Convert to plaintext, HTML, and LaTeX. http://word2x.sourceforge.net/ brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] reading a word document

2007-08-11 Thread brian
not, you could write a handler to send them to you as they come in so you could convert them on your own machine. Not at all ideal, but ... Any possibility to not accept Word files in the first place? brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] question about note on php.net

2007-08-11 Thread brian
Michael Cooper wrote: Hello, I have a question--is the note from equazcion here correct? It is left unchallenged on the page but I can't see how it is correct since I am under the impression that the environment is refreshed each page load and the function or method definitions (including thos

Re: [PHP] convert (windows-1250) to (utf-8)

2007-08-11 Thread brian
#x27;ISO-8859-2', 'UTF-8', $in); This page may be of use, as well: http://en.wikipedia.org/wiki/Windows-1250 "Windows-1250 is *similar* to ISO-8859-2 ..." brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PostgreSQL and select nextval

2007-08-12 Thread brian
ear "SELECT" LINE 2: VALUES (SELECT nextval('tmp_importedxls_rec_id_seq'),' ^ I have the feeling that we can not use the select nextval(...) SQL request in an INSERT INTO one under PHP. Is it true? If rec_id is a SERIAL it will increment itself: INSERT INTO tmp_importedxl

Re: [PHP] upload file problem

2008-07-31 Thread brian
Jignesh Thummar wrote: I'm trying to upload the file. It's showing me successfully uploaded. But it's not able to move from temp directory to my defined directory my code: if (is_uploaded_file($_FILES['myfile']['tmp_name'])) { move_uploaded_file($_FILES['myfile']['tmp_name'], $myfilename);

Re: [PHP] limiting the amount of emails sent at a time in a batch send

2008-07-31 Thread brian
Richard Kurth wrote: I want to limit these script two send 100 email and then pause for a few seconds and then send another 100 emails and repeat this tell it has sent all the emails that are dated for today. This script is runs by cron so it is running in the background. How would I do this

Re: [PHP] strange string evaluation

2008-07-31 Thread brian
Marten Lehmann wrote: Hello, with PHP 5.0.x this two lines of code returned "{TEST}": $var = "TEST"; print "\{$var}"; But with PHP 5.2.x, the same code returns "\{TEST}" If I remove the backslash: $var = "TEST"; print "{$var}"; then just "TEST" is return (without any brackets). What is the

Re: [PHP] limiting the amount of emails sent at a time in a batch send

2008-07-31 Thread brian
Andrew Ballard wrote: On Thu, Jul 31, 2008 at 1:27 PM, brian <[EMAIL PROTECTED]> wrote: Richard Kurth wrote: I want to limit these script two send 100 email and then pause for a few seconds and then send another 100 emails and repeat this tell it has sent all the emails that are dat

Re: [PHP] remembering where the user is on the page??

2008-08-02 Thread brian
Jim Lucas wrote: Rod Clay wrote: I'm creating a website in php and I've noticed that many websites seem to "remember where the user is on the page," You are probably referring to tag placement. If in your web page you place an anchor tag like this: Then in the URL you add this to the end

Re: [PHP] Referencing files in cron jobs versus format when running from URL

2008-08-02 Thread brian
ioannes wrote: I have a file that works from the URL like: www.mysite.com/cronjob.php and this file includes references to uploaded files like this: /home/mysite/public_html/dir/subdir/filename.xml and this is used in functions like filemtime(). The uploaded files are found on the server us

Re: [PHP] Re: Returning response includes HTML form data

2008-08-02 Thread brian
Edward Diener wrote: Maciek Sokolewicz wrote: Edward Diener wrote: I have a PHP file which does an: echo "someresponse" to return some data. When I run it from a Windows client program, the response I am seeing is not only the "someresponse" above but also has the entire HTML form in the PH

Re: [PHP] uploading big files with PHP

2008-08-03 Thread brian
mike wrote: On 7/25/08, Angelo Zanetti <[EMAIL PROTECTED]> wrote: Hi all We are pitching to develop a website where the admin has to upload big video files but I'm not sure how this can be done as the file upload will most probably time out. How do current websites do it? Is there somehow a wa

Re: [PHP] remembering where the user is on the page??

2008-08-03 Thread brian
Benjamin Hawkes-Lewis wrote: brian wrote: A better way to do that is to give some block element--a header, a div, etc.--an ID. That works exactly the same as . It should work the same. But it doesn't in older user agents or with older assistive technology: http://stevenclark.com.au/20

Re: [PHP] PHP Memory Management

2008-08-03 Thread brian
Waynn Lue wrote: I've been running the script below: And I get PHP Fatal Error: Allowed Memory Size Exhausted after it runs for a bit. Looking at the memory usage, it's because $getBundles (an array) is huge, and keeps growing. What I'm confused by is why setting it to something else in the

Re: [PHP] Confused

2008-09-02 Thread brian
Dan Shirah wrote: All, Okay, I am a bit confused. I'm setting up another server to host PHP pages. I followed everything in the Manual for installing PHP. I'm running Windows Server 2003, IIS6.0 and PHP 5.2.6. And...it kind of works... If I do: it prints fine. If I do: Today is: it print

Re: [PHP] Creating single row for multiple items.

2008-09-02 Thread brian
Tom Shaw wrote: My array looks very similar to this. I need to create a single row for the items that have the same order number for CSV export. I'd prefer to do this PHP wise instead of SQL. But would appreciate any help I can get. $ar = array( array( "order_id" => "34", "orde

[PHP] Accessing images in a protected directory

2005-09-13 Thread Brian
I haven't used .htaccess before and am currently having an issue with it. I have a site that has photos from various events on it. Some of the events need to be password protected to view the photos. They enter a password, it gets checked in the MYSQL database and then the php page tries to

[PHP] Re: IIS and PHP with $HTTP_SERVER_VARS

2002-11-26 Thread Brian McGarvie
it's to do with probably folder permissions, the folder all your web files are should have IUSR_machinename added to the folder with full rights, the login box should then not appear... "Shaun Garriock" <[EMAIL PROTECTED]> wrote in message 018301c2954d$265b4010$c101a8c0@rgcweb01">news:018301c2954d

Re: [PHP] How do i provide Download facility ??

2002-11-27 Thread Brian McGarvie
Perhaps he wants to track downloads of files and obscure the physical locations... "Justin French" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > > I am a newbie in this PHP world. I was just looking around for > > information on Download of files usin

Re: [PHP] Is it possible to do this in PHP ? If it is then, how ?

2002-11-27 Thread Brian McGarvie
> > I was wondering if this is possible to in PHP ... I am developing an > > application for a pizza place, where touch typing interface is much faster > > than using the mouse, so I was wondering if I can develop an interface with > > a calculator style keypad, and the codes entered (using somethi

[PHP] Dynamically Adding methods to an object

2002-12-01 Thread Brian Takita
;t be used as a function parameter in ...: runtime-created function on line 1" when I called $lambda() Is there a way I can know the arguments of a defined method without calling the method? Thank you, Brian Takita -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] POST data

2002-12-03 Thread Brian Duke
Can someone tell me how I can access data from a POST? I don't mean the variables because the data I'm getting doesn't have any. I have a client that is doing a simple HTTP Post to a server and appending xml data right after the header. I need access to the xml blob. Thanks, Bri

[PHP] ping...

2002-12-13 Thread Brian McGarvie
I can exec ping OK... but I need a way to ping and basically give me a OK or Not OK... any ideas? --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.427 / Virus Database: 240 - Release Date: 06/12/02 -- PHP General Mailing List (

[PHP] Re: Creating reports in database systems implemented over Web interface

2002-12-20 Thread Brian McGarvie
Make use of fpdf - a good dpf creation lib.. type it into google for the site. "Enediel" <[EMAIL PROTECTED]> wrote in message 076a01c2a51c$9c47be50$8a24a8c0@nsoft">news:076a01c2a51c$9c47be50$8a24a8c0@nsoft... > Hi everybody: > > Over linux, I'm using PostgreSQL , Apache server, and PHP pages to cr

[PHP] Re: email a web page

2003-01-07 Thread Brian McGarvie
"Dc" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi all, > > I have a newsletter ready to email to my database of customers. > > The entire newsletter incl graphics , layout etc is enclosed within a form > which posts to a second page which s supposed to ema

[PHP] Re: Forwarding POST info from a PHP script

2003-01-07 Thread Brian McGarvie
Could be an issue on the webserver if PHP has register_globals set to off... "David Barrett" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I want to be able to retrieve POST variable in one PHP script (which is > straight-forward) and then send these from the

Re: [PHP] Far out!!!! More IIS problems.....

2003-01-07 Thread Brian McGarvie
php (.exe or .dll) will look for a php.ini in both, c:\(windows_dir) and c:\php\ (I am not sure what location takes priority - I'd assume c:\(windows_dir) "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I only have one php.ini on the machine and

[PHP] Re: Development tools

2003-01-07 Thread Brian McGarvie
And this has what to do with PHP? --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.431 / Virus Database: 242 - Release Date: 17/12/02 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/u

[PHP] Re: apache + php + MS active directory

2003-01-07 Thread Brian McGarvie
Yip... Investigate... LDAP "Ezra Nugroho" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Now, this is a rather unlikely configuration, but ... > > I am working on a linux based web work based on apache and php, but the > authentication system on site is based

[PHP] Re: Development tools

2003-01-07 Thread Brian McGarvie
Yes you can use java classes... from php. Yes you can write & compile C++ to a dll and use it. For Java: Notepad + the JDK :) DLL's (C++) Notepad + dgcpp :) IF you want a GUI - Java = JBuilder is best I've used. C++ - typically VC++ :\ There are some free alternatives but the above are the 2 ind

[PHP] Phorum 3.4 Released!

2003-01-12 Thread Brian Moon
sites design. You can download it now at http://phorum.org/download.php Thanks, Brian Moon Phorum Dev Team -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Php's future with Asp .NET?

2003-01-16 Thread Brian McGarvie
The 'problem' with ASP is that it really requires a Windows platform... and while Unix is still primarily the OS of choice for web-servers then ASP & PHP will 'co-exist' there will always be a PHP and ASP camp... naturally any broad-minded developer will keep up with both technologies as this will

[PHP] Random Row...

2003-01-16 Thread Brian McGarvie
$sql = " select count(*) as theCount from myTable "; ... $row_id = rand(1, $myrow["theCount"]); ... $sql_randow_row " select * from myTable where id = $row_id "; I assume I'm right with the method above to select a random row? or any other way? --- Outgoing mail is certified

[PHP] MIME email...

2003-01-16 Thread Brian McGarvie
All, I have a problem sending Multipart - MIME (plaintext + html) email $bodyPlaintext = " (PLAINTEXT)"; $bodyHTML = " (HTML CODE)"; $headers = ""; $headers .= "From: [EMAIL PROTECTED]\r\n"; $headers .= "Reply-To: [EMAIL PROTECTED]\r\n"; $headers .= "X-Mailer: PHP " . phpversion(); $

[PHP] PDF

2003-01-17 Thread Brian McGarvie
I'm looking to find out if PHP has the ability to do this... OK I'm looking for a solution that could do the following. We require to generate PDF files that can then be emailed or printed & posted to clients. I can create PDF Files from scratch using PDFLib. What we will require to do though i

[PHP] Help!!!

2003-01-23 Thread Brian McGarvie
I have just got use of a new dedicated webserver... Now the 1st time a piece of code is ran it doesnt work but then the 2nd it does... i.e. index.php // stuff... $visitDBID = referrerVisit($rid,$rgid,$visitIP,$visitFromURL); // stuff... //end index.php function referrerVisit($rid,$rg

[PHP] Re: Help!!!

2003-01-23 Thread Brian McGarvie
',NOW(),'Resource id #4') inserted not Sorry, an error has occured. It has been recorded and reported to the Website Administrator. Error: SQL: Error Code: 1065: Query was empty "Brian McGarvie" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]"

[PHP] WorldPay examples...

2003-01-24 Thread Brian McGarvie
I'm looking for an example of making payments via worldpay... --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.438 / Virus Database: 246 - Release Date: 07/01/03 -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] value not displayed

2003-01-24 Thread Brian Burg
By default PHP 4.3.0 has register_globals = off. As others have mentioned, you need to change register_globals to on in order to use HTTP GET variables as global variables. Otherwise, you need to use $_GET['varname'] in the case you can't edit the configuration file. Regar

[PHP] Re: How do you update multiple rows at the same time?

2003-01-24 Thread Brian Burg
the plain number of categories, use COUNT(*). Example: SELECT COUNT(DISTINCT table.categoryfield) FROM `table`; which returns a single element, the number of unique categories. I hope this may help you! Regards, Brian Burg Hudsonville Web Design Team http://www.hudsonville.k12.mi

[PHP] Need to check whether a param exists!

2003-02-03 Thread Brian Dunning
/index.php?page=hello if (is_object($_REQUEST['page'])) $pagename = $_REQUEST['page']; else $pagename = "home"; ?> I also tried is_null, tried if($_REQUEST) by itself, also tried all of these with $_GET, $_POST, $_GLOBAL, but they all give me Undefined Ind

Re: [PHP] Need to check whether a param exists!

2003-02-03 Thread Brian Dunning
Wow, an embarrassment of riches. Thanks to all of you who replied so quickly. - Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Is my syntax wrong?

2003-02-04 Thread Brian Dunning
+1.'", "block=0","inc_current_ad"); It's supposed to increment the value ad_id in the ads table. The current_ad action works fine and correctly retrieves the right record. I suspect I have a problem with my quotes? - Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Is my syntax wrong?

2003-02-04 Thread Brian Dunning
("ad_id")." set rotate=".($current_ad->Value("rotate")+1), "block=0","inc_current_ad"); Other queries of the same db on the page are working, so it's probably not a configuration/connectivity issue. - Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Is my syntax wrong?

2003-02-05 Thread Brian Dunning
On Tuesday, February 4, 2003, at 05:03 PM, John W. Holmes wrote: I think we are almost there. This code is not producing an error, but it is also not incrementing the database. The value stays at zero. Any idea what could be wrong? $inc_current_ad = WrapMySQLDatabaseResults("macasap", "update a

[PHP] Include today's date in a SQL statement?

2003-02-05 Thread Brian Dunning
What would the SQL be to find a record where: start_date < today <= end_date Thanks, - Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] GoLive dynamic actions anyone?

2003-02-10 Thread Brian Dunning
mysql.runtime6.php saying that there's some invalid MySQL result resource. Is there something special I need to do to run my own database stuff without that GoLive thing interfering? - Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] upgrading from 4.1.2 to 4.3.0 - can anyone point me to a list ofMUST DO'S

2003-02-13 Thread Brian Tully
sites compatible with whatever PHP's new changes are? I've heard bits and pieces - which may as well be rumours - so I'd like to be able to find something in writing from the php.net site if possible. so far no luck. thanks, brian -- PHP General Mailing List (http://www.php.

[PHP] PHP as Shell script...

2003-02-20 Thread Brian McGarvie
I am having trouble using php as a script. #!/usr/local/bin/php using the above form creates the following cron error: /bin/sh: /usr/local/apache/sites/domain.com/tasks/autoreport/test.php: bad interpreter: No such file or directory Any ideas? Thanks in advance... --- Outgoing mail is certi

[PHP] symlinks

2003-07-03 Thread Brian Rue
Hi, I need to link a url like this: www.mysite.com/?id=5 to a folder like this: www.mysite.com/5 (so that I can access it from the subdomain 5.mysite.com) I'm assuming that symlinks are the best way to do this, but I really don't know how to do it. Any help is greatly appreciated. Thanks

[PHP] Re: numbers to text

2003-07-11 Thread Brian McGarvie
> Anyone know of a class or function that converts numbers to readable text Oh how old... coud you just not even be bothered with Google or any other search engine? To save you the trouble: http://www.phpclasses.org/browse.html/package/754.html -- PHP General Mailing List (http://www.php.net/

[PHP] Re: numbers to text

2003-07-11 Thread Brian McGarvie
> >?> just not even be bothered with Google > I did but didnt find any to be fair... nor did I when i was looking :\ :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Redirection Question (I spoke to soon)

2003-07-24 Thread Brian Tully
e paths may be different on the new server. you could test by doing some debugging such as require("/path/to/include_file") or die("could not find include file"); brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] create pop account via fsockopen...

2003-07-25 Thread Brian McGarvie
All, I'm having trouble creating an pop account usaign fsockopen(), here is whaty I have... is connects ok but does not seem to execite the GET. $fp = fsockopen ($host, 2082,$errno,$errstr); if (!$fp) { echo "$errstr ($errno)\n"; } else { $authstr = "$cpaneluser:$cpan

[PHP] Re: php script execution by linux automated task

2003-03-21 Thread Brian McGarvie
look up cron "Nenad Djordjevic" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > I have some web application which is on some rented server. I have not > root privilege just FTP access to application web folder. OS is Linux, > web server Apache/1.3.27 and PHP ve

[PHP] imap_open Error

2003-03-25 Thread Brian Mitchell
and the page will load fine. Also, I've asked my host and verified that the imap functions are available as part of PHP. I can't figure out why this is happening. Any help would be greatly appreciated. Thanks, Brian

[PHP] imap_open and 503 Error

2003-03-28 Thread Brian Mitchell
Anyone ever encounter a 503 server error when trying to open a stream to a mailbox using imap_open? If so, anyway to fix it? Thanks, Brian

[PHP] Phorum 3.4.2 Released - SECURITY NOTICE

2003-04-02 Thread Brian Moon
, we would have released something when I fixed that a while back. Brian Moon Phorum Dev Team -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Installation help

2003-05-27 Thread Brian Dunning
Hi, I am a lamer & a newbie, and ran the PHP and MySQL installers on my XP box, but can't connect to any database and don't see any new processes running. Is there someplace I can find documentation for this that is optimized for the newbie lamer? Thanks, - Brian -- PHP Genera

[PHP] replacing register_shutdown_function

2003-05-29 Thread Brian Moon
in the PHP app. myscript.php then forks. Unfortunately, exec() waits for the damn forked process to finish before he returns. Am I just not seeing something in PHP pcntl support here or am I on a wild goose chase? Thanks, Brian Moon dealnews.com -- PHP General Mailing List (http://www.php.net/) To uns

[PHP] Can't change a cookie

2003-05-30 Thread Brian Dunning
Help, I'm trying to change a cookie to whatever is submitted as a URL parameter called 'aid.' But once it's set the first time, I can't get it to overwrite it next time the 'aid' parameter is received. How do I make this work? Here is my code: -- PHP General Mailing List (http://www.php.net/) To

[PHP] CR in MySQL?

2003-05-31 Thread Brian Dunning
How do you put a carriage return in a MySQL database and have it display as a line break on the web page? - Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] GEnerating PDF's

2003-06-03 Thread Brian Paulson
Petre, We use the R&OS PDF Class its very easy to set up and has a ton of options, best part is that you don't need PDFLIB. http://www.ros.co.nz/pdf Hth Thank You Brian Paulson Sr. Web Developer Email: [EMAIL PROTECTED] Phone: 1-800-279-6397 Fax: 1-719-544

[PHP] CLI problems

2003-06-04 Thread Brian Paulson
) 1998-2003 Zend Technologies [EMAIL PROTECTED] user]# vi test.php #!/usr/bin/php [EMAIL PROTECTED] user]# ./test.php : bad interpreter: No such file or directory -rwxrwxrwx1 user user 39 Jun 3 15:43 test.php Thank You Brian Paulson Sr. Web Developer Email: [EMAIL PROTECTED] Phone: 1

[PHP] Re: OpenSource PHP Project

2003-06-04 Thread Brian McGarvie
May help if the website worked... OR give us a link to the SF project page? "Michael A Smith" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > Anyone interested in helping out with an opensource CMS project. > PHP/MySQL/Smarty Templates/Modules checkout prattcms.sf.net. It's >

[PHP] Best PHP books

2003-06-10 Thread Brian @ BHTSystems
mer. Thanks in advance for any suggestions. Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] getting page title using PHP

2003-06-11 Thread Brian Paulson
$string = $regs[2]; } } return $regs[1]; } } Hth Thank You Brian Paulson Sr. Web Developer Email: [EMAIL PROTECTED] Phone: 1-800-279-6397 Fax: 1-719-544-0264 URL: www.chieftain.com --

Re: [PHP] SQL SERVER QUESTION

2003-06-12 Thread Brian McGarvie
Or the fact that various datatypes take up various storage needs "Clint Tredway" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > How about the need to add prices together, or store binary data, or using a > bit for true false... > > There are numerous reasons for datatypes in a d

[PHP] PHP Email....

2003-06-12 Thread Brian McGarvie
I have a question about automated email: In my sendmail configuration i have: Alias: Testit Feeds to Program /usr/local/bin/php /usr/local/apache/sites/xxx.com/tasks/automail/test.php testit is set up to an address, so if i send to [EMAIL PROTECTED] the above is indeed ran, my question is how in

[PHP] Re: ntp client??

2003-06-12 Thread Brian McGarvie
> I've had a look around but no luck watsoever. If someone could give me a > short answer on this one? Is it possible to make a php ntp client? If so > give me your opinion on getting it done please? do you mean to query a time server? -- PHP General Mailing List (http://www.php.net/) To unsub

Re: [PHP] PHP Email....

2003-06-12 Thread Brian McGarvie
> Assuming that your sendmail alias was setup properly then the whole email will > be available in STDIN, see manual > Using PHP from the command line for > details. Cheers! Works a treat now to parse the bugger :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: ht

Re: [PHP] PHP Email....

2003-06-12 Thread Brian McGarvie
> Assuming that your sendmail alias was setup properly then the whole email will > be available in STDIN, see manual > Using PHP from the command line for > details. Working kind of :) Get one line from it -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www

Re: [PHP] PHP Email....

2003-06-12 Thread Brian McGarvie
> Working kind of :) > > Get one line from it Kinda... I get it to return one line... The code: Emails me: Test Test... Original Email: >From [EMAIL PROTECTED] Thu Jun 12 11:41:39 2003 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub

[PHP] Re: Looking for Function / Procedure, best practices

2003-06-12 Thread Brian McGarvie
> I am looking for something like strip_tags ($str, "") but in > reverse operation. > This will strip all tags except tags, but I need to strip > these tags only () keeping the rest unchanged. You'll be wanting regular expressions then :) http://uk2.php.net/ereg_replace just build up an exp

Re: [PHP] General question...

2003-06-12 Thread Brian McGarvie
it detracts from the experiance of user consistency if you are suddenly in a nice site then presented with a crappy looking payment page ;) "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Do you think the users will trust your site that much they will be > willing t

[PHP] Re: WEB HOST NEEDED!!!!!

2003-06-24 Thread Brian McGarvie
Stop posting these messages! And save up money! :) and do what the rest of us do! "Denis 'Alpheus' Cahuk" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Like I said, I need a web host. > It MUST support PHP, mySQl and sending emails, optional. > It shouldn't have any ads (pop-ups,

[PHP] Is this a new PHP technology??????

2003-06-27 Thread Brian Dunning
Check it out: http://www.americansubstandard.com/index.php?sub=v&word=vmail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Errors with 4.2.2

2002-07-23 Thread Brian Paulson
on some pages, but not all pages Thank You Brian Paulson Sr. Web Developer [EMAIL PROTECTED] http://www.chieftain.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: php redirect

2002-07-26 Thread Brian McGarvie
if( ___ ) { header("Location: http://www.domain.com/itworked.php";); } else { header("Location: http://www.domain.com/error.php";); } "Tyler Durdin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > > I have a redirect i would like to do using php. It will go something like >

Re: [PHP] web services and PHP

2002-07-31 Thread Brian McGarvie
A'la ASP WebServices perhaps? "Bob Lockie" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > >I'd like to know if it's possible to use PHP to develop and implement > >Web Services. If so, please point me to sites, articles, or tutorials > >that discuss this top

[PHP] Re: Bea Weblogic Webserver

2002-07-31 Thread Brian McGarvie
I'd suggest pursuing their customer support... It's not a very widely used websrever. It's also primarily a webserver optimized for serving JSP-based content/services - if I remember correctly... "Mindhunter" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi,

[PHP] Re: Question on File Move / Delete and Create Directory

2002-07-31 Thread Brian McGarvie
http://www.php.net/manual/en/function.mkdir.php and the other 'filesystem' commands all work in windows... "Jack" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Dear all > I had setup a web server in windows NT 4.0 (IIS Server), there is some > question i wan

<    1   2   3   4   5   6   7   8   9   10   >