When first speaking with a client, would you charge an initial
constation fee for lets say conference calls? How would you invoice
stuff like this? on a monthly basis? Or every two weeks?
Matt Babineau
MCWD / CCFD
-
e: [EMAIL PROTECTED]
p: 603.943.4237
w:
C'mon guys, he asked a legitimate question that most freelancers ask when
they start. Here is the starting question;
How much is your time worth to you? $50 an hour, $200.00 a day, $6000 a
month?
Here is one method;
a. Estimate how many hours you think that the job will take once you have
From: Gerard Samuel [EMAIL PROTECTED]
Basically, someone is looking to get a database driven site built,
and Ive never written code for money before.
Im looking for advice, as to how the experienced coders in here charge
for their work.
Do you charge by the page, script or by the hour
And Tyler...rest assured you would never be working for me with an attitude
like that. Nor would I ever recommend that you work for one of my clients.
It's not about making as much as you can, it's about making what is fair,
deserved, and reasonable. Someone else said that what we're providing
okay... the break down
the regexp: '(.*(\(|\[)|(\)|\]).*)'
.* = any character from zero to infinite number of times
(\(|\[) = either ( or [ (they are escaped with a \ bcz they have other
meaning
then I have another pipe | meaning or
(\)|\]) = either ) or ]
.* = again... any char any # of times
Wow, Thank you for the explanation, it helped out a lot ;)
I don't know regex very well, but I hope that this will give me a better
understanding of it.
Thank you Yet again,
Mike
-Original Message-
From: Tech Support [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 12:26 PM
To:
You may already be doing it like this, but I think I found a new way to
make select boxes auto-select (what data they put in) a lot easier. All you
have to do is put a variable in each select tag that is equal to the value
of the select option i.e.: option value=teacher $teacher -- then all you
On Sun, Jul 21, 2002 at 11:57:25AM -0700, Dipendra Raj Subedi wrote:
first goal of doing one project Design web-based
survey using PHP and MySQL. I would appreciate if
anybody give me some links that help to develope such
skills.
Try the various script archives. Good one is
On Sun, Jul 21, 2002 at 08:50:15PM -0400, Chris Earle wrote:
Is there any way to fseek (or something to the exact same effect) a file
opened with a or a+?
I've tried rewinding and fseeking appendable files, but neither work.
Opening up in r+ gives me part of the desired result, but if
Simple build, no real complicated configure options
(--with-mysql, --with-apxs2..) ..
During make:
php_functions.c:93: syntax error
*** Error code 1
Stop in /usr/local/php-4.2.2/sapi/apache2filter.
etc
etc
Any idea what the problem would be? I googled around for a little and heard
there
On Thu, 25 Jul 2002, Gerard Samuel wrote:
Do you charge by the page, script or by the hour (that would be nice).
It's a tough thing to do, but consider charging by the project. You'll
find a most equitable payment/compensation when you establish up front how
valuable the project is to the
Yes, that will indeed return the rows specified, but the result is very unstable. By
it's nature, MySQL does not have to conform to any sorting method unless you specify
it. So it's very good practice when retrieving multiple rows to ALWAYS order them.
Just my thoughts :o)
Martin
Tech
hello all,
I download a gni script path2vars that manipulate query_string for web
crawlers.
But I have php 4.06 that doesnt support function :
uses array_key_exists() (PHP = 4.1.0).
Is there a way to substitude it ?
Is there a way to detect php version and incluse the functions or it
substitute
Why not just display the pdf's in the browser? The only caveat is that IE
has to be properly patched if 5.5, and there is the minor inconvenience of
users having to install the Acrobat Reader. Most people have already done
that, so it's practically a non-issue.
The manual shows how to feed a
http://www.php.net/manual/en/function.array-key-exists.php:
Note: The name of this function is key_exists() in PHP version 4.0.6.
Op donderdag 25 juli 2002 18:53, schreef David D:
hello all,
I download a gni script path2vars that manipulate query_string for web
crawlers.
But I have php
SNIP//
So that leaves hourly or by the project (not mentioned). Personally, I
like to do it by the project, although I am probably a minority in my
preference. By the project gives the client a nice set price. However,
the scope has to be extremely well defined. It should be anyway, but
more so
4.2.2 will not work with apache 2.X from what I've read. However, I have
heard that if you get the latest CVS of both php and apache it will work. I
have not, and probably will not, go down that road just yet :-)
Jim Grill
Support
Web-1 Hosting
http://www.web-1hosting.net
- Original Message
I can think of many reasons why displaying the pdf in the browser is a last
resort and not a first resort. Especially in situations where the reader is
not installed.
Like Tyler, I would be quite interested to see if anyone has any ideas on
how to convert from pdf to html.
-Original
http://www.php.net/manual/en/function.array-key-exists.php
The name of this function is key_exists() in PHP version 4.0.6.
Damn those elusive manual pages :-/
Jim Grill
Support
Web-1 Hosting
http://www.web-1hosting.net
- Original Message -
From: David D [EMAIL PROTECTED]
To: [EMAIL
Thanks bunches
John Holmes [EMAIL PROTECTED] wrote in message
001101c233ba$3de3d430$b402a8c0@mango">news:001101c233ba$3de3d430$b402a8c0@mango...
I have a datetime field in one of my mysql tables...when displaying
some
of
my records I want to display the date in the aforementioned
Richard Lynch wrote:
$hostname = 'ssl://155.246.211.23';
You have to be running PHP 4.3.0 (IE, CVS or snapshot) to use 'ssl://' with
fsockopen, according to the manual.
You may have to use cURL for now, or develop in 4.3.0 and deploy when it's
ready, or...
I tried mucking around with
Naw, this is Linux :)
But for anyone searching the archives, the Data source name not
found, and no default driver specified means one of four things:
1. you don't have a DSN with the name you are using
2. you don't have a driver where the DSN expects to find it
3. on Windows, you are trying
ODBC can do this directly - no root privs needed.
http://www.php.net/odbc
Best regards,
Andrew Hill
Director of Technology Evangelism
OpenLink Software http://www.openlinksw.com
Universal Data Access Virtuoso Universal Server
-Original Message-
From: Lazor, Ed [mailto:[EMAIL
Hi Emile,
Sure, ODBC should work just fine.
Let me know if you need info on setting it up.
Best regards,
Andrew Hill
Director of Technology Evangelism
OpenLink Software http://www.openlinksw.com
Universal Data Access Virtuoso Universal Server
-Original Message-
From: Emile Bosch
How does it fail?
Best regards,
Andrew Hill
Director of Technology Evangelism
OpenLink Software http://www.openlinksw.com
Universal Data Access Virtuoso Universal Server
-Original Message-
From: David Busby [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 01, 2002 4:29 PM
To:
David,
The error probably has to do with your PHP environment being unable to
locate your odbc.ini file.
You will need to set your odbc.ini location as well as the location of
the driver manager.
Check out this HOWTO http://www.iodbc.org/odbc-phpHOWTO.html to get an
idea of how it all works
Interesting technique. Depending on your error_reporting levels, you may get
a bunch of undefined variable warnings, though.
I usually use a config file with arrays for my select boxes. Something like
$_CONF['Something'] = array(This,That,And,Something);
Then just create a function like
Nathan, this is a new idea to me and very interesting. Do you know what
happens here if the error reporting is set to max? Are a bunch of
unitialized variables warnings issued?
Thanks for contributing this to the list.
Kirk
-Original Message-
From: Nathan Cook [mailto:[EMAIL
From: Nathan Cook [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 12:34 PM
Subject: [PHP] New way to make select boxes auto select
You may already be doing it like this, but I think I found a
new way to
make select boxes auto-select (what data they put in) a lot
easier. All
Hi,
I download patch of php-4.2.0-to-4.2.2.patch.gz from http://www.php.net and
try to update our PHP 4.2.0 to 4.2.2. But I can't find instructions how to
update PHP by using this patch of php-4.2.0-to-4.2.2.patch.gz. Could anyone
tell me how to patch it or where can I find this information to
Hello,
I was looking for a query_string wrapper for web crawlers
I found pathtovars :
http://www.phpclasses.org/browse.html/package/561.html
English is not my native language.
I didnt manage to use efficently this script !
Even with the sample !
I don't know how to map url ?
How to generate an
Downloads for the Windows binaries are broken.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Try building apache2 and modphp4 using the FreeBSD ports system - that's how
I compiled and it works fine here.
HTH
Danny.
Apache2.0.39/PHP4.2.2/FreeBSD4.6
- Original Message -
From: Chad Day [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 25, 2002 5:38 PM
Subject: [PHP]
http://www.domain.com/var1_value1/var2_value2/
would look like this:
http://www.domain.com/script.php?var1=value1var2=value2
there would be a document name script.php
followed by the ?
then variable and value pairs var1=value1
separate each variable/value pair with an ampersand
Hope
would look like this:
http://www.domain.com/script.php?var1=value1var2=value2
there would be a document name script.php
followed by the ?
then variable and value pairs var1=value1
separate each variable/value pair with an ampersand
Hope this helps
Bret
I know how get var are
Yes sure, You need to install the Informix-CSDK or I-Connect in the machine
with the server (download from www.informix.com/evaluate) .
Configure the files /etc/services and $INFORMIXDIR/sqlhosts. Also add the
informix libraries to the LD_LIBRARY_PATH.
Then configure and make PHP with the
// buildSelect -- return a Select box named $selectName based on key
value array $selectArray
...
// $arr = array('MD'='selected','DC'='','VA'='');
How are you able to quickly and painlessly determine which key gets the
selected value, from form submission data, when building the initial
From: Johnson, Kirk [EMAIL PROTECTED]
Do you know what happens here if the error reporting is set to max?
Are a bunch of unitialized variables warnings issued?
That would be my assumption. I suppose you could initialize the variables
first to circumvent that. I was more or less looking for a
Hello, I am stuck here. In the name of efficiency I want to lower the number
of callls to the database. So I am trying to give the most stringent query
possible. This is the problem: I have stored the surfers shopping cart,
where each item is stored as a session variable.Now on the database I
Is it possible to run PHP that is embedded within a string? I have a file
that is read into a string and returned to the browser, how can I run that
PHP?
i.e.
?
function something() {
// this is set earlier by other functions
// $str = htmlbodysome html code? $this-getForm(guest); ?some more
The apache configure line was a vanilla configure, only turning on
mod_rewrite and enabling so.
It's really as basic of a configure as I could do.. I don't understand why
it failed. :(
So I did what someone else suggested, tried the ports.. installed apache2,
fine, tried to install mod_php4,
Hi there, I've got a quick question concerning PHP and mySQL. I've got a fresh server
with recent versions of Red Hat Linux, mySQL, PHP and apache. My problem is that when
I call mysql_pconnect, my PHP code hangs and doesn't proceed. I can't check
mysql_error because it doesn't go beyond
If I select all from my db how can I print the individual results? For
example, say i want to print record number 16 from the firstname column into
a table. How can i accomplish this? I have all of my db access coded and
have it selecting all from the db, but i want to print individual records
You might be making it more difficult than it needs to me. You're not
dealing with a huge number of queries here so why not just loop it? I would
simply loop through the $_SESSION array and query the dbase for each item.
foreach ($_SESSION as $key = $val)
{
$query = SELECT * FROM inventory
Hello,
On 07/25/2002 05:27 AM, Justin French wrote:
You'll need to catch bounces as they come in. To make life easier, assign
your own unique Message-IDs and remember them, so you can easily
invalidate addresses.
Erm, I'm on a shared server, so I don't *think* it's that easy unfortunately
well, you could simply loop through the session vars and build the query as
you go.
$query = SELECT * FROM Inventory WHERE;
// I'm assuming you keep your item numbers in a items or something similar
foreach ($HTTP_SESSION_VARS['items'] as $pid)
$subquery .= ItemNumber = '$pid' OR ;
// get
Sure. You want the eval() function. Can be a little tricky but you'll get
it.
http://www.php.net/manual/en/function.eval.php
-Kevin
- Original Message -
From: Joshua E Minnie [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 25, 2002 12:54 PM
Subject: [PHP] Implement PHP
From: Nathan Cook [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 2:52 PM
Subject: Re: [PHP] New way to make select boxes auto select
How are you able to quickly and painlessly determine which
key gets the
selected value, from form submission data, when building the
initial
Well you could do something like this:
while ($row = mysql_fetch_array) {
echo trtd$row[data1]/td/tr
}
This will print out a table row for every record.. Now if you just want to
print specific records then you might as well do that in the select
statement to your database and then use the
I'm not a windoze user but if that line has a ; at the beginning of it
like you have it in your message then it is commented out! LOL. :-)
Jim Grill
Support
Web-1 Hosting
http://www.web-1hosting.net
- Original Message -
From: Ryan Moore [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
[snip]
I am trying to use GD Library on a windows 2000 installation of PHP.
php_gd.dll is in the extensions folder and the line: ;extension=php_gd.dll
is in my php.ini file, but I recieve the error: Fatal error: Call to
undefined function: imagecreate() when I try to use the
Well yah.. I mean you can move the array pointer by simply looping through
the array 16 times. But why not simply take care of this in your SELECT
statement?
SELECT .. blah blah blah.. ORDER BY firstname DESC LIMIT 16, 1
Returns one row starting with the 16th row ordered by the firstname in
Not only the solution just posted, but I was using this before and
needed to set the dll used to php_gd2.dll, I am pretty sure it got
renamed in one of the more recent releases of PHP.
Matt Babineau
MCWD / CCFD
-
e: [EMAIL PROTECTED]
p: 603.943.4237
w:
Hello All,
I am trying to use the symbol to suppress errors returned by a
mysql_query call. This doesn't seem to be working as I get an new page with
the error in it in my browser. Any help with this would be greatly
appreciated.
Here is a snippet of the code I am using
$query =
On 25 Jul 2002 at 12:12, Matt Babineau wrote:
When first speaking with a client, would you charge an initial
constation fee for lets say conference calls? How would you invoice
stuff like this? on a monthly basis? Or every two weeks?
Hi,
I apologize for adding some noise but I really don't
Hi,
I have a problem with conditional image generation. If I generate an
image without any conditional statments, then everything works fine. But
if i introduce conditional statment, then no image is generated in
either case of the condition.
Has anyone dealt with this dilema before?
Thanks in
If you dowloaded the PHP 4.2.2 installer you don't have the php_gd.dll in
your machine, you have to download the PHP 4.2.2 zip package from php.net
and overwrite all your files in the php folder, this zip file contains all
the dll's for windows including the php_gd.dll, then remove the ; in
Wow, Thank you for the explanation, it helped out a lot ;)
I don't know regex very well, but I hope that this will give me a better
understanding of it.
Thank you Yet again,
Mike
clipped regex explanation
good luck understanding. personally it is one of those things that I dust
off and pull
This will allow you to compile PHP 4.2.x as a shared object into Apache
2.0.39.
Credits to somebody on Google Groups (I can't recall, but I needed an answer
to this too a couple weeks back)...
1. Open up the file php_functions.c in /sapi/apache2filter/
2. Change MODULE_MAGIC_AT_LEAST to
What is the error you get?
---John Holmes...
- Original Message -
From: Preston Wade [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 25, 2002 3:20 PM
Subject: [PHP] suppressing errors
Hello All,
I am trying to use the @ symbol to suppress errors returned by a
On Thu, Jul 25, 2002 at 12:36:27PM +0200, Nicklas af Ekenstam wrote:
In order to read the headers into an array of header key/value fields
i would like a reg exp to remove all new lines/line feeds before a
line starting with one or more white spaces or tabs.
In ereg_replace() you can use
On Thu, Jul 25, 2002 at 02:51:13PM -0400, Anup wrote:
Hello, I am stuck here. In the name of efficiency I want to lower the number
of callls to the database. So I am trying to give the most stringent query
possible. This is the problem: I have stored the surfers shopping cart,
where each item
On Thu, 25 Jul 2002, Hong Tian wrote:
I download patch of php-4.2.0-to-4.2.2.patch.gz from http://www.php.net and
try to update our PHP 4.2.0 to 4.2.2. But I can't find instructions how to
update PHP by using this patch of php-4.2.0-to-4.2.2.patch.gz. Could anyone
tell me how to patch it or
Hello folks,
Apologies for the cross-post, but I wanted to announce the publication
of a new HOWTO on compiling ODBC support into PHP and Apache with the
iODBC Driver Manager:
It's available at the www.iodbc.org site in the left hand column.
You may view the document directly at:
Instead of :
;extension=php_gd.dll
Try:
extension=php_gd.dll
Sign ; is a comment... so you must delete it ...
--
Lp,
Mitja
Ryan Moore [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I am trying to use GD Library on a windows 2000 installation of PHP.
Hello,
I have this example code:
function doprint($a){foreach($a as $value)echo $value;}
doprint(array('1','test','hello','and'));
Question, is the array in memory after the function call?
So, should it be better to use this:
function doprint($a){foreach($a as $value)echo $value;}
Hi!
There are a couple of websites I had to move from one machine to this window
machine and it introduced two new problems. There are two different version
of PHP, however IIS can work with two different version of PHP without a
problem. The 2nd problem is to have two different php.ini file
I am getting a parse error on line 14, I am trying to make sure session vars
are being set before rendering the page. This is lines 12,13,14 15. Any
help is appreciated.
Jas
if ((!$u_name) || (!$p_word)){
header(Location: index.php);
session_destroy();
exit; }
/* Check for missing session
I had experienced similar problem like that in the past. Part of it had to
do with the header() function. Your script checked out fine, just like mine
did. Try remarking the line of code where hte header is and see if you
don't have hte parse error, if this is the case then it's the header().
Are you using the CGI executable or the server plug in thingy?
If you're using one of each, the server module looks for C:\windows\php.ini
and the executeable looks for php.ini in the same directory as the
executeable.
If you have two CGI versions, you could rename one and rename its php.ini
If you use cgi, no problem, just put the php.ini into the php directory
(instead of the windows directory). This works.
If you use isapi, i think it's not possible, but i'm not shure.
Christoph
Scott Fletcher wrote:
Hi!
There are a couple of websites I had to move from one machine to this
1) session_start() is not really required on any other pages beside the
index.php because session_register take care of that for you.
2) It should work when you try session_register() on the index.php, use a
makeup name, like session_register(user) then assign the data to it, like
The error is one from mysql stating that I am trying to add a duplicate
entry. I would rather handle this in my code hence the following lines in
my code.
if($row) {
$message[] = That username is already taken. Please select
another.;
} else {
Thanks for the
Christoph Grottolo wrote:
If you use cgi, no problem, just put the php.ini into the php
directory (instead of the windows directory). This works.
sorry, forgot to write:
put the different versions of php into different directories (i.e.
c:\php\php421 and c:\php\php430)
Christoph
There are
$query = select user_id from users where username='$username';
$query_db = @mysql_query($query, $db_connection);
$row = @mysql_fetch_array($query_db);
if($row) {
$message[] = That username is already taken. Please select
another.;
} else
I make my own :
What u think about :
begin
?
// Author : David Devidal [EMAIL PROTECTED]
// Licence : GPL
//
// include one time this script at the beginnig of the script
// file will do the mapping
//
// for the revers mapping think of using
Yea, I recently put them into 2 different directories. I'm doing the
research on cgi vs. isapi right now. Anyway, I create a test site and it
showed up okay, got the error message about the security-alert, something
about the cgi that can not be accessed directly. My impression is that they
Thanks!
-Original Message-
From: Greg Donald [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 4:13 PM
To: Hong Tian
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] patch of php
On Thu, 25 Jul 2002, Hong Tian wrote:
I download patch of php-4.2.0-to-4.2.2.patch.gz from
Yep, it's CGI! It's compiled in binary with the force-cgi-redirect enabled.
Need to turn this off in PHP since I'm using IIS, not apache. It's not
working very well but at least, running websites with different php versions
work well.
THanks
Scott Fletcher [EMAIL PROTECTED] wrote in message
Hi:
On Thu, Jul 25, 2002 at 02:40:28PM -0600, Jas wrote:
I am getting a parse error on line 14, I am trying to make sure session vars
are being set before rendering the page. This is lines 12,13,14 15.
The way you posted it here, it's hard to tell which line is which.
Layout your script
On Thu, Jul 25, 2002 at 10:26:03PM +0200, Bas Jobsen wrote:
Hello,
I have this example code:
function doprint($a){foreach($a as $value)echo $value;}
doprint(array('1','test','hello','and'));
Question, is the array in memory after the function call?
So, should it be better to use this:
Do you charge by the page, script or by the hour (that would
be nice).
We do this sort of thing in, basically, one of three ways...
1. Client gives us a budget and we give them a clear idea of what that
budget will get them.
2. Client gives us a good idea of what they want to achieve
Maybe the wrong forum, but im giving it a try.
Im used to for instance 2 columns in each table indicating when it was
created and when it was last updated:
Changed_date
Registered_date
In mysql it seems it is only possible to define a column as a timestamp, and
this will trigger both on insert
I believe MySQL will only automatically update one TIMESTAMP field per
record, according to their online docs. It will update if you don't specify
a value when inserting a new record. You can also use the DATETIME field
type which stores data as -MM-DD HH:MM:SS. This is what I use because
Hi,
Has anyone used PHP alongside MSDE?
I've recently taken a brief look at freetds which allows a UNIX/LINUX box to
talk to an MSSQL/SYBASE server, but I cannot find any metion of MSDE.
Can anyone shed any light on this or report any successes?
Cheers
Lee
--
PHP General Mailing List
Josh Levine wrote:
Warning: fsockopen(): no SSL support in this build in
/usr/home/research/htdocs/tests/secure2.php4 on line 6
I did include OpenSSL support...is there something else I need to
include?
Nevermind, I just re-built it from scratch again and it worked. Now I'm
just having
hehe.. ofcourse i ment:
...this will trigger both on insert and update.
Ragnar [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Maybe the wrong forum, but im giving it a try.
Im used to for instance 2 columns in each table indicating when it was
created and
On Thu, 25 Jul 2002, David Buerer wrote:
I can think of many reasons why displaying the pdf in the browser is a last
resort and not a first resort. Especially in situations where the reader is
not installed.
Like Tyler, I would be quite interested to see if anyone has any ideas on
how
On Thu, 25 Jul 2002, lallous wrote:
Yes, I'm aware of the strpos() or any other non-regexp string functions...
but it is either I use regexp to match a certain pattern or I'll have to
write a char-by-char parser to emulate regexp searching and yet get the
position of the occurence!
Once
Ok, I noticed a couple things.
One: There's no } ending your elseif statement.
Two (and the big one): Why all the opening brackets before your isset()
functions? I'm not sure if you're trying to do some nested logic in there,
but if so it will be much more readable if you use nested if
elseif ((!isset($HTTP_SESSION_VARS['clk']) ||
(!isset($HTTP_SESSION_VARS['holy_cow']) ||
(!isset($HTTP_SESSION_VARS['ipaddy']) ||
(!isset($HTTP_SESSION_VARS['a']))
Your parenthesis don't match up, if I can count correctly today.
---John Holmes...
--
PHP General Mailing List
On Thu, 25 Jul 2002, Nicklas af Ekenstam wrote:
I'm trying to do some parsing of mail headers and since not all
headers follow the pattern:
X-Header-A: A string
X-Header-B: Another string that is longer
X-Header-C: And this string is very very long compared
But may very well look like
Hi
I have this regular expression:
(((http|https|ftp|gopher)|mailto):(//)?[^ \t]*|www\.[-a-z0-9.]+)[^ .,;\t\):]
Which is supposed to match hyperlinks. I would like to use this
from php to grab all hyperlinks in a text file and return them
in an array.
I've messed around with the function
It comes with the zip file of that distribution - and it works fine (except
for TTF which I can't for the life of me get to work on Win32)
frak!
Peter [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Jadiel,
i do that the file ur after and tried sending it to u
On Thu, Jul 25, 2002 at 12:36:27PM +0200, Nicklas af Ekenstam wrote:
In order to read the headers into an array of header key/value fields
i would like a reg exp to remove all new lines/line feeds before a
line starting with one or more white spaces or tabs.
Pardon my prior post. I
Hi
for the first case - using \n, try :
ereg_replace('\n+', '\n\n\n', $str)
This is right, apart from the fact that \n characters will no be parsed
with single quotes. Try this...
?php
ereg_replace(\n+, \n\n\n, $str);
?
Sorry, just a minor thing.
Mike
--
MGS2 Online
Hi
I am building (or attemting to build) an msn messenger class. I am having
problems reading from the socket.
I open a connection with fsockopen(), i then write commands to the socket
with fputs(). I am reading wth fgets().
It is all fine if I am reading one line returned by the server, the
In article [EMAIL PROTECTED],
[EMAIL PROTECTED]
says...
ok unix.h problem solved but now it's saying can't locate
.libs/libZend.a
any ideas?
Furrfu - don't tar all *nix with the same brush :-) Presumably, for some
reason, that file hasn't been created? Have a look in the libs
You need to look at mysql_list_dbs(), this returns an array of all
available databases on a connection.
--
MGS2 Online
http://www.mgs2online.f2s.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
i used the same techniqu a while back when i worked with Fast Template.
scenario:
- present a user with a form to input
- there are several text fields and several select options
- if there is/are error(s) upon form submission, we will call the same template
file and insert proper error messages
101 - 200 of 206 matches
Mail list logo