Yes, I thought about that. But, what should I do when the markers are absolutely NOT
in any sequence.
=sequence would matter if it was possible that one of the markers could replace some
text and that replacement
subsequently became the marker for a further replacement ... nightmare=recursion!
Marvin,
> I'm using the PHP date() function on my site, but since my hosting company
> (Pair Networks) is on the East Coast and I'm on the West Coast, everything
> shows as three hours later (for most of my visitors, anyway). Pair tells me
> there's no setting I can make on my account to change t
Rasmus,
I have held several datetime-related conversations with people recently, and another
series about 'when'/whether
to use PHP or MySQL functionality.
Here you are, "the man" of PHP, advising Sander to use MySQL functionality! (and in
marked contrast to the
(biased) advice one might expec
Alexis,
> Could anybody confirm exactly which characters, if any, are NOT valid in an
> email address.
=such rules of the Internet are laid out in documents called "RFC"s (initially they
are "Requests for Comment"
but once adopted become ...) You are looking for RFC822 (although there are othe
There is no native PHP function for getting a stack trace. This has been
discussed many times on the PHP-DEV mailing list. It has always been
discarded due to an unacceptable overhead that would be introduced into the
parsing process.
I'm not sure if any decision has been made with respect to the
}
i get :
X-Powered-By: PHP/4.0.6
Content-type: text/html
working on host : lxplus038
TEST: lxplus038
Warning: Invalid argument supplied for foreach() in
get_rpm_info.php on line 29
--
many thanx in advance
Neil
:)
--
PHP General Mailing List (http://www.php.net/)
Hi Wee,
> Is it possible that I would get the wrong ID (Not the ID I just inserted in
> Auto_Increment field) by using mysql_insert_id function if someone is also
> inserting record at the same time? How does mysql_insert_id work accurately?
=A couple of things here:
1 if the field is defined
Hi Wee,
> Is it possible that I would get the wrong ID (Not the ID I just inserted in
> Auto_Increment field) by using mysql_insert_id function if someone is also
> inserting record at the same time? How does mysql_insert_id work accurately?
=A couple of things here:
1 if the field is defined
You can use function_exists() to check whether a function actually exists:
eg:
if (function_exists('imap_open')) {
echo "IMAP functions are available.\n";
} else {
echo "IMAP functions are not available.\n";
}
HTH
Neil
"S. Murali Krishna" wrot
Hank,
You say "just text" and "text/plain".
What do you mean by "mungs the formatting"? What formatting in plain text?
=dn
> I've got an app that sends emails, not complicated emails, their just
> text, the mail text is stored in text files on the server so they can be
> edited independant of t
Sam,
> I know I hear you all groan with this topic...
> I know this topic has been asked before...
>
> But looking through the archives there have been a lot of advice, URLs,
> classes given out, yet I haven't really found anything that can easily be
> implemented so that I can send muliple attac
Hi Martin,
> > 2 because the (function argument) controlling feature is the connection, it is not
>possible for another
> > concurrent user to 'steal' your ID or influence the ID returned to you - it's all
>yours!
>
> Ok, assume you are correct, but what if you are using persistent
> connection
Hi Jimmy,
> >> 2 because the (function argument) controlling feature is the
> >> connection, it is not possible for another concurrent user to
> >> 'steal' your ID or influence the ID returned to you - it's all
>
> > Ok, assume you are correct, but what if you are using persistent
> > connections
Hi Jimmy,
> >> the only problem i can think of might occur with pconnect is,
> >> last_insert_id() will return you the last inserted ID from
> >> previous 'session', not current 'session'.
> >> to prevent this, you should call last_insert_id() only when
> >> your INSERT query executed succesfully
Phil,
> After I make a queryhow do I fetch a specific row from that query ??
=isn't the purpose of the query to return specific results?
=dn
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To c
ing a *nix box? There is a difference between *nix, Windows, and Mac with
line ends being represented
by LF, CRLF, or CR.
=Regards,
=dn
> On Wed, Jan 16, 2002 at 04:29:03PM -, DL Neil wrote:
> > Hank,
> > You say "just text" and "text/plain".
> > What d
...:)
=or run a script to perform an INSERT, then pause, eg go to a form, and whilst
nothing's happening take the
MySQL server offline, then restart the script by returning from the form, and execute
the call...
=I can't do this because my portable runs everything on one box (dev and p
You just have to remember that a string is simply a character array :)
Nick Wilson wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> * On 17-01-02 at 12:57
> * Steve Edberg said
>
> > Actually, you can treat a string as an array without any further
> > processing:
> >
> > $G
Alternatively, remember that HTML has this built in (and PHP outputs a HTML page):
move c) before a)
implement it using a meta tag in the HTML page HEAD section
d) will then happen after the defined time period
Regards,
=dn
- Original Message -
From: "Jon Farmer" <[EMAIL PROTECTED]>
To
Niklas,
> No good, since starts counting when page is first opened, so
Don't think this is applicable - When is the page "opened": after the script reaches
the , or after the
script concludes and the web server sends the page to the browser?
If the latter, then the speed of the connection aff
Brandon,
Please do some 'homework': Will the native query run from the MySQL command line, or
in a admin tool? Have you
tried varying the number of fields? What are the column specifications?
In and amongst this you might like to check where you should have spaces (a) for
legibility (particula
Chris,
\n = *nix
\r = Mac
\r\n = PC
(now that you've 'dropped' "MS Notepad" into the conversation...) The simplest M$
tools content themselves with
black blocks (apparently not being interested in your comfort), but the more
sophisticated tools will sometimes
oblige...
=dn
- Original Messa
Dani,
Am slightly confused/finding the question ambiguous.
Could you provide the code you have so far, and the relevant column specification(s)?
Could be simple or complex!
=dn
- Original Message -
From: "Dani" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: 18 January 2002 12:22
Subj
Jeff,
The following batch files works for me (WinNTWS 4.0 SP6a):-
cd c:\program files\php
php.exe -q c:\.path.\w.php >>c:\.path.\webute.log
NB the first line reflects my PHP config - your mileage may vary!
Of course the other possibility is to add the PHP folder into the PATH environment
vari
Open up your server's config file, eg httpd.conf , and ensure that PHP's AddType line
has the extension .php3
Should look something like this:
AddType application/x-httpd-php .php .phtml .php3
HTH
Neil
Manu Verhaegen wrote:
> Hi,
> We have installed Apache 1.3.6 and
Mike and Jeff,
> what about the "[EMAIL PROTECTED]"? is it failing on a 'bad' email address? or
> maybe putting everything in variables and trying
>
> mail($to,$subject,$message);
=there's a difference between the way PHP talks to an SMTP server (using mail()) on
Win32 compared to *nix -
which
> the path to php is already in the PATH variable...
>
> I'm not doing anything different that http://bugs.php.net/bug.php?id=6742
> ,but for some reason the -c doesn't make a difference...
>
> Jeff.
>
>
> "Dl Neil" <[EMAIL PROTECTED]> wro
-c Look for php.ini file in this directory
PHP is case sensitive (whereas Windows is not).
Where is the .ini file? (not the PHP.exe file)
Does this help?
=dn
- Original Message -
From: "Jeff D. Hamann" <[EMAIL PROTECTED]>
To: "DL Neil" <[EMAIL PROTECTED]>
Jeff,
FWIW my system is set up to hold PHP in C:\program files\php, which is where the
php.exe can be found.
PHP.ini is supposed to be in c:\winnt isn't it?
=dn
- Original Message -
From: "Jeff D. Hamann" <[EMAIL PROTECTED]>
To: "DL Neil" <[
Hank,
You youngster you!
One other dimension, the institutions can only offer classes in the languages (and
techniques/technologies) that
the trainers know and than they have the resources (hardware, compilers/interpreters)
to cover.
Maybe therein lies an answer to the 'marketing' side too. Th
Juni,
> On Sun, 20 Jan 2002, Juni Adi wrote:
>
> Hi folks,
> After meessing up with installation stuffs, now
> it's time for PHP code:
>
> 1. How to tell PHP to open a file like Perl do
> through:
>
> open (FILE, $file);
>
> 2. Same question, this time to open/read a
> directory:
>
> ope
Tj,
> I am really baffled by this problem. I have tried so many things to get
> this working but to no avail. Here is the
> actual code:
>
> function verify_user($username, $password){
> $conn = mysql_connect($db_host, $db_user, $db_pass) or
...
> Anyways the problem is I cannot get it to ev
Gidday Justin,
For us guys that don't get dates very often, the subject is one of intense
fascination! I answered a bunch of
these questions a couple of weeks back, and reproduce that discussion below. Also some
comments/responses to you
interspersed:-
> I'm looking to normalise the way in whi
> > The greatest way of doing this is
> > 1. develope php-script for generating updated html from moved php-script
> > and updating index.html (e.g. ;)
> > 2. develope another script or program which will call the first one
> > periodically (once an hour, e.g.)
>
> I like that.
> It sounds
Is anyone aware if such a debugging/documentation tool exists?
What is/do I mean by a "cross referencer"?
A tool which will list all of the variables (and function names ?and include files)
used within a
program/script, together with the line number(s) where they are mentioned - hopefully
diffe
> > Even with straight HTML, a server's load capacity is not infinite. If
> > my own server, an old Pentium with 4 GB of hard drive space, and which
> > serves nothing but static HTML pages, got hit with more than a couple
> > hundred hits in a short period of time, it would bomb.
> >
> > I must
> >>>Even with straight HTML, a server's load capacity is not infinite. If
> >>>my own server, an old Pentium with 4 GB of hard drive space, and which
> >>>serves nothing but static HTML pages, got hit with more than a couple
> >>>hundred hits in a short period of time, it would bomb.
> >>>
> >>>
Jeff,
Seeing Richard thinks I have blue (?blood) in (my) veins, I'd better respond nobly and
quickly...
> Yes the db server and the webserver are on the same box, local
> connections are much faster than network ones according to mysql. When
> the site is busy the percent of the system being u
Josepablo,
> $maildb = file("mailaddr.txt");
>
> foreach ($maildb as $address)
> { mail($address, "THis is the subject\n", "This is the message\n", "From:
>[EMAIL PROTECTED]\n"); }
> ?>
>
> The mailaddr.txt looks like:
>
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
> However th
JP,
(and good afternoon to CR!)
> Linux
=straight into sendmail or some other email server?
> Why the admin e-mail? i tested on two diffrent servers didnt work.
=because I was wondering where the strange 'from' email address came from. Are they
configured to different
addresses?
> YEah.. i t
: "Josepablo Pérez" <[EMAIL PROTECTED]>
To: "DL Neil" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: 21 January 2002 22:43
Subject: Re: [PHP] foreach array into mail isn´t working
> I guess its straight into sendmail sense i just use plain mail()
>
&
;s in the mail section of PHP.ini?
=unfortunately, I'm turning in now, but send me what you end up with, and I'll try and
get back with an
answer/more ideas before you wake up tomorrow...
=Regards,
=dn
> JP
>
>
>
> -- Original message --
> From: "DL Neil"
Garth,
> my two cents...
=thank you for the description - it is worth more than a figurative two cents!
> I used to work at a newspaper we used a very elaborate
> caching system, it used to function at the at the
> page subcomponent level (i.e. header, footer, left nav, articles
> were all stor
nd I have managed to achieve what I want in
IE but Netscape refuses to lauch my 'logging out' page.
Does anyone have any suggestions as to how I could achieve the
following:
a) Browser window closed by user clicking on [X]
b) 'Logging out' page opened (which handles the PHP
) function ???
Nick Wilson wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> * On 22-01-02 at 11:30
> * Neil Freeman said
>
> > Does anyone have any suggestions as to how I could achieve the
> > following:
> > a) Browser window closed by user cl
OK I'll have a look around. Thanks for your time Nick.
Nick Wilson wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> * On 22-01-02 at 11:46
> * Neil Freeman said
>
> > OK I agree with you there :) But as I haven't called the session_destroy()
&
Josepablo,
> Hey guys guess what.. the problem is fixed the was that at mailaddr.txt sense
> the e-mails are each on one line each line has \n that crashed when asigning it
> at mail() , ill make a note of this on the manul.. I have included below the
> script iam now using.. what do you guys thi
Jeff,
> =sorry, I wish I could remember where I saw that article.
=Have had another quick look around this morning, but to no avail.
=Best I can offer is the suggestion that you take a look at the various articles on
this subject at PHP Builder
http://www.phpbuilder.com/columns/. Maybe somethi
Thanks Garth,
- I put it aside until I could find enough clear time to spend reading it through. It
makes for good reading -
and your comment about caching being 'funny'/suiting different situations in different
ways is definitely
correct. I think you've helped me understand/clarify some mistak
Entering the conversation late...
1 IP addresses
Remember these are not necessarily 'unique'. If two of us here log in, won't we appear
(to you) have the same IP
address if we're 'hiding' behind a NAT (Network Address Translation) box? Also dial-up
users share a pool of IP
addresses which are r
Hello Manuel,
> > One other dimension, the institutions can only offer classes in the languages (and
>techniques/technologies)
that
> > the trainers know and than they have the resources (hardware,
>compilers/interpreters) to cover.
> >
> > Maybe therein lies an answer to the 'marketing' side t
> > > Making any sense?
> >
> > Year, so I have to do it manually (thought someone could preveting me from
> > reinvent the wheel... ;-)
> >
> > > What are you really trying to achieve?
> >
> > I'm trying to split a large binary file (>2 GB) into peaces of 700 MB to
> > burn it on a cd. It's a par
Anthony,
> Although the table con_inf in db sbwresearch contains 3 records with
> username as the first column, the following short script generates a blank
> page:
>
> $connection=mysql_connect("localhost","wagner","xyz") or die ("No
> connection!");
> $db=mysql_select_db("sbwresearch",$connec
Take a look at the articles on:
http://www.devshed.com/Server_Side/PHP
HTH
Neil
Gordon Stewart wrote:
> Dear List
>
> I have just compleated a PHP web frontend to the standard mail function in
> PHP. I have got it to send and recieve email.
>
> Can I take this programmin
> >> =Hmm, I'm still come at it from the other way around (all due respect to
> >> Jason) - but then I don't recall OpSys details, or know if there is a
> >> utility/tool for the job in your choice of OpSys.
> >
> >Well unless it's a *really* obscure OS I'm sure there must be some readily
> >avai
If the links are placed in a db as they are found, then couldn't you run the same
script in multiple instances
(browser windows, DOS boxes/command lines) against the same db. That way you would be
fetching and parsing
multiple web pages concurrently. The only 'multi-threading' would be against t
Hi Laurent,
> I would like to pass parameters to a php script running as a bach job under
> windows.
>
> Is there any possibility to something like that ?
Coverage of argv, argc and some good examples are in the manual at
http://uk2.php.net/manual/en/commandline.php
Regards,
=dn
--
PHP G
v0idnull,
[surely you don't think of yourself as a nonentity twice over?]
> A friend of mine showed me this code recently.
>
> function firstLogin_string() {
> mt_srand(make_seed());
> $pool = "AaBbCcDdEeFfGgHhIiJjKkLlM";
> $length = 26;
> for($i=0; $i < $length; $i++) {
> $key .= $pool[mt_ran
Daniel,
> Hi! I´m new to regular expressions, and it seems to be an art to make it
> work as expected.
>
> I´m trying to remove all "single-line" comments from an string - that´s
> everything after "//" to the end of a line. I expected that this would do
> the job: ereg_replace("//[[:alnum:]]*\n"
Private note: heard the one about throwing stones and living in glass houses?
>
> Try to keep your posts a little shorter
> if only for the sake of the dialup users ;)
>
this said by someone who:
- pushes MIME messages into a discussion list/newsgroup (instead of simple text format
wh
Or if you are retrieving the data from a database, use the SQL Date-Time functions
(RTFM).
=dn
- Original Message -
From: "Rafael Perazzo B Mota" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: 26 January 2002 16:38
Subject: [PHP] Re:[PHP] Changeing Dates.
> function ChangeDate ($da
ive at the best possible solution.
Please don't interpret
anything said as grounds for a personal argument.
> Dl Neil wrote:
> > > One good point about what you said is that one budgetless what to
> > > promote PHP is to use 'viral marketing'. Viral mark
Matthew,
There's some strange stuff going on here, and in the conversation.
For information about set_time_limit() please read
http://uk2.php.net/manual/en/function.set-time-limit.php.
Despite the sense of what is written below, the manual says "When called,
set_time_limit() restarts the
What problems/errors are you getting?
Place the following code into a .php file under htdocs:
and then enter something like http://localhost/xxx.php into your browser.
Neil
liz lynch wrote:
> hi all,
> i have installed php and apache on my home computer..i am running xp home edition.
Oh yeah... extension_dir should also have a trailing '\' I believe.
Neil
liz lynch wrote:
> hi all,
> i have installed php and apache on my home computer..i am running xp home edition.
> the problem is that the php and apache are not working together. what i have d
Hello Torkil,
> I have a field in my mysql database containing date&time on the format
> -MM-DD HH:MM:SS (24-hour format)
>
> Now. I want to output this as follows: DD.MM.YY at HH:MM:SS
> Currently I do this by this function:
>
> function convert_datetime($in){
> $return = substr($in,8,2) . "
I've successfully installed the latest versions of both Apache and PHP on my XP
system with no problems.
Neil
Ben Clumeck wrote:
> I am trying to install Apache and PHP4.0 on WinXP. Does anyone know of any
> conflicts?
>
> Thanks, Ben
>
> --
> PHP General Mailin
Dave and Mauricio,
(basically the same question!)
> How can I add an attachment to an email using MAIL(). So far I have been
> able to successfully send email by using:
>
> mail($to, $subject, $message, $headers);
>
> Is there something I can add in the $headers to add an attachment??
=c
erent web sites???
Hope someone can help :)
Neil
Email: [EMAIL PROTECTED]
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
include_path' value does not appear to be picked up. Am I
using htaccess files correctly or do I need to alter some other values
within Apache's httpd.conf file??
Any help much appreciated.
Neil
Email: [EMAIL PROTECTED]
[EMAIL PROTECTED]
-
Thanks for the quick reply Jason. This looks like it'll achieve what I want but I
think that using a htaccess file is a better 'overall' method.
Cheers,
Neil
Jason Wong wrote:
> On Monday 04 February 2002 17:43, Neil Freeman wrote:
> > Hi there,
> >
> > A
Thanks for the syntax info Lars.
Neil
Lars Torben Wilson wrote:
> On Mon, 2002-02-04 at 01:43, Neil Freeman wrote:
> > Hi there,
> >
> > Am I correct in thinking that you can specify the PHP include_path line
> > within an Apache .htaccess file? If so does anyone kno
x27;include_path' value does not appear to be picked up. Am I
using htaccess files correctly or do I need to alter some other values
within Apache's httpd.conf file??
Any help much appreciated.
Neil
Email: [EMAIL PROTECTED]
[EMAIL PROTECTED]
-
apache.htaccess file:
php_value include_path = ".;P:/Projects/Sandboxes/Stratos/asa_php"
When I access the URL http://localhost/sandbox though I receive the
message "Internal Server Error"
I imagine it's something simple but as I have not done this before
I've taken out the '=' sign and.we have success!!! Thanks a lot for
your time Mark.
Neil :)
Mark Roedel wrote:
> > -Original Message-
> > From: Neil Freeman [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, February 04, 2002 10:36 AM
> &
toni,
> $date1 = "10/12/2002";
> $date1 = date("D M j Y", strtotime($date1));
> $date2 = date("D M j Y");
> $date3 = date("D M j Y", $date1);
> print $date1."";
> print $date2."";
> print $date3."";
>
> The code above gives me the following output:
>
> Fri Oct 11 2002
> Mon Feb 4 2002
> Wed
Torben,
> > toni,
> >
> > > $date1 = "10/12/2002";
> > > $date1 = date("D M j Y", strtotime($date1));
> > > $date2 = date("D M j Y");
> > > $date3 = date("D M j Y", $date1);
> > > print $date1."";
> > > print $date2."";
> > > print $date3."";
> > >
> > > The code above gives me the following outp
Torben,
> > > No offense, but in TFM (which you have of course R), follow the 'Date
> > > Input Formats' link to:
> > >
> > >http://www.gnu.org/manual/tar-1.12/html_chapter/tar_7.html
> > >
> > > You will find this sentence:
> > >
> > >The construct 'month/day/year', popular in the United
Hello val,
> a have following mysql problem:
> i need to execute several inserts at one query like this->
>
> $sql->action("insert into words(word) values ('php');
> insert into words(word) values ('general');
> insert into words(word) values ('list');");
>
> The word fild is unique
>
> My pro
FreeType Support - enabled
FreeType Linkage - with freetype
JPG Support - enabled
PNG Support - enabled
WBMP Support - enabled
Does anyone have any suggestions as to why this does not work? Has
anyone else used the ImageTTFText function successfully?
Neil
-
rectory as well
- with no luck.
Any other ideas???
Neil
Girish Nath wrote:
> Hi
>
> I had similar problems when just specifying the font file in the same
> directory eg ./arial.ttf but got it to work okay when i used the full path
> eg :
>
> $fontfile = "/apache/htdoc
Girish,
After a bit of searching around it appears that this is a bug of early
versions of PHP, re-introduced in PHP v4.0.6 (the version I was using). I have
upgraded to 4.10 and ImageTTFText now works fine.
Neil
Girish Nath wrote:
> Hi
>
> I had similar problems when just specifying
Hey Anth,
> Hey guys,
=some of the better-looking amongst us are not guys (and then some of us are...)
> I'm running a RH7.2 box with apache 1.3.20 installed and php-4.1.1
> installed as a DSO.
>
> Everything is working fine, except that the output from any date() or
> time() references is 16 h
Hello hamish,
[msg converted from HTML to simple-text format]
I have been asked to do a project that seems to be baffling me. It's not really the
php which is the hard part,
but the mathematical problem behind the project that is causing me to have a headache!
...
=This reminds me of the test
val,
Surely this would only be possible if "SIZE1" and "P2" [sic - maybe "SIZE2"] were
constants, ie that all small
packs had SIZE="small" and all large packs were defined as SIZE="large".
(also that all products had no more than two sizes)
Interesting thought though (subject to the <=2 sizes c
Ben,
Is the file present at all?
What do you see from DIR C:\MYSQL\BIN\MYSQL*.EXE ?
Regards,
=dn
> I tried it and got the following message:
>
> Microsoft(R) Windows DOS
> (C)Copyright Microsoft Corp 1990-2001.
>
> C:\DOCUME~1\BEN>cd c:\mysql\bin
>
> C:\MYSQL\BIN>mysqld --standalone
> 'MYS
Jeff,
> can i force a browser to refresh using php.
=the issue is PHP's server-side-edness.
Consider adding an HTML META tag to the page, to call/renew itself every n-seconds.
=dn
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have a feeling that www.aletia.com use 4.1.1
Don't quote me on that though :)
Neil
Edward Marczak wrote:
> I know the subject of web hosts that support PHP comes up frequently - but
> here's a twist:
>
> After going through the archives, and checking out many, many ho
Hello John
> I'm using eregi to print out parts of a text file, and I was just wondering
> how you get the code to print out a newline as it appears in the file.
Not quite sure what eregi has to do with it - perhaps I'm missing something.
Would the nl2br function help?
=dn
--
PHP General
Charlie,
> For an arbitrary large number I need to round() it up to the hundreds place
> if it is not divisible by 100 and leave it untouched if it is.
>
> So 1100 would round to 1100 and
> 1101 would round to 1200.
>
> Is there a clean way to do this?
>
> Currently I'm:
> $scale = round($scal
Emphasis on the second-last word?
=dn
- Original Message -
From: "Nick Wilson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: 09 February 2002 18:24
Subject: Re: [PHP] ok still want to join a project...
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
>
> * and then Arik Ashepa
Hi,
Have been experimenting with the array_walk function and a little array debug print
facility, but ran into a
problem with nested functions. The code can be written with nested functions and
successfully executed once; but
when repeatedly executed an error appears.
Can one code user-defined
Thanks for the confirmations Torben.
> > Can one code user-defined functions nested within one another
> Yes.
> > - and repeatedly execute them?
> No. ;)
>
> This is correct. As you know, the thing is that execution keeps running
> into that function declaration every time the containing functio
> > What do you get if you use error checking?
>
> Well, that seems to be it, I'm getting 'Access deneid to user
> '@localhost'.
>
> I'm talking to a guy on the mysql list, apparently it is a
> phenomememememememmemonmmm that when you GRANT ALL using wildcards it
> tends to grant all on * exce
Scott,
> I am seeking some thoughts on if this is the way I should tackle this
> problem. I have two files, both of them tab delimited text files that I
> need to combine and then output a new file.
>
> My idea was to put both files in an array, calling the fields I need,
> i.e. $field[0], $fiel
Hi Scott,
> In my constant effort to improve my perl conversion project, I have a
> question regarding file reading. I am taking two files and combining
> them in an array and then writing out a new file. Is there a way to:
> a)strip out the first line of the second file
> b)test for conditions
Zliy Pes,
(I have no idea what this name means - trust it doesn't mean that you'll be coming
after me with a sharp knife!)
> My current project runs on Win2k, MsSQL 2k, and PHP 4.0.6
>
> My problem is that i can not enable md5 extension because of
> "Unable to load dynamic library 'c:\windows\ph
> Glory!
>
> I have a bunch of .CSV (Microsoft Excel Comma
> Seperated Values) Files with me, whose data i want to
> put back into my mySQL database tables. How can i do
> that through php? or otherwise...
Take a look at MySQL-Front - its menu system talks about CSV (I've not had an excuse
to
Ok Jason,
> "Parse error: parse error, expecting `','' or `';'' in
> c:\www\hosted\witakr\index.php on line 20"
>
> this is line 20:
>
> print (" cellpadding=0>");
>
> where?
Possibly an 'imbalance' starting higher up the code, eg no closing " somewhere?
=dn
--
PHP General Mailing List (
> > The error message might be useful, but in any case I think
> > you need to enclose the source filename in quotes; also (you
> > better check the docs here) if I remember correctly you need
> > to give the full path to the source file unless it is in the
> > mysql data directory.
>
> That's rig
201 - 300 of 489 matches
Mail list logo