> Thanks for your reply, the problem here is that if I loop through the values
> and them to the URL when the other button is pressed to submit the form the
> form action will still kink to itself rather than opening a new popup
> window...
that should stop form submission if they click your but
> There's a number of functions in PHP that will give me the position of
> the *first* instance of the matched string, but it doesn't look like the
> function would keep searching after the first match. Anyway, am I
> overlooking a function that already has the functionality that I'm
> searching f
> I want to have something similar to this but as mentioned above want
> something more reliable so does anyone know a php function to do this or
> have a better option?
http://us3.php.net/manual/en/function.str-word-count.php, also some
good suggestions in the user comments
--
PHP General Maili
> That just put me right back at the beginning, IE trying to DL the PHP
> page...
>
> I have php 4.2.2 installed at this moment as well...
there might be some things you could try in this thread
http://marc.theaimsgroup.com/?l=php-general&m=108361967402210&w=2
--
PHP General Mailing List (http
On Thu, 01 Jul 2004 11:52:47 -0400, John Taylor-Johnston
<[EMAIL PROTECTED]> wrote:
>
> Hi,
> I need another variable. I need the filename itself. I want to substitute
>
> /var/www/html/new1/foo.html
>
> for
>
> /var/www/html/new1/phpinfo.htm
I am not exactly sure what you want to do but I th
n how to do this?
Thanks,
Matt
http://sweetphp.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ll in
existance. Is this possible to do?
Thanks,
Matt
http://sweetphp.com
"Zareef Ahmed" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
> If you are using a database on your server you can
> do this as follows:
> 1. Make a table named
> active_us
This looks like a good solution. What is the best way to list the current
users, since the sesssionData seems to be serialized in the db or something?
I just want to list out all the users from the db.
Thanks,
Matt
http://sweetphp.com
"Greg Donald" <[EMAIL PROTECTED]> wrote
Okay, I actually found out how to list the users, but you have the following
line of code:
define('SITE_ONLINE_EXPIRE', 900);
What is the 900? Is that 900 seconds?
Thanks,
Matt
http://sweetphp.com
"Matt Palermo" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROT
> SELECT autoQuesID, fldQuesTitle, fldBody FROM tblFAQ_Question WHERE
> (blnHidden = FALSE AND ((fldBody LIKE '%$strCriteria%') OR (fldQuesTitle
> LIKE '%$strCriteria%')));
Say $strCriteria comes from one of the values in the $_REQUEST array,
a user change is coming through in that variable. so
> 1. pull a list of products from the database
> 2. truncate each product id down to it's first letter
> 3. remove all the duplicates
> 4. use this list to build the links.
I would let sql do some of the work.
select count(*) from products where product_name like 'A%'
if count does not return 0
> How can I handle this cookie when using php? Is there an easy way? It
> would be best just to use fopen("http://...";).
http://pear.php.net/package/HTTP_Client
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Anyone have any ideas why this happens???
You have any code examples?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> $mydata->JR = eregi_replace($searchenquiry, "".$searchenquiry."",
> $mydata->JR);
> echo $searchenquiry;
>
> What I should display is if $searchenquiry = $mydata->JR in a case insensitive way
> then
> echo "".$searchenquiry."";
>
> Do I use if (x =~ b) {} or some sort of string compare or ...
> The problem is $searchenquiry would be contained inside $mydata->JR so I would need
> to see if it exists and then put ... around it, without changing the original
> case.
what do you have in $searchenquiry?
try this
echo preg_replace ('/('.$searchenquiry.')/i' , "$1", $mydata->JR);
--
PH
>:if ($calcentry) {...}part of my code and do some calculations with
php and mysql >and put my output into textarea2.
if ($_POST['calcentry'] == 'Calc Your Entry') {
}
is one way to do it
>So my first question is how do I keep the data in textarea1 so when I
perform my >submit I can do some calc
> What I'm trying to do:
>
> I'm trying to have the proper variables for the eregi_replace so that each
> word in the $dico array is replaced by a link to its definition respecting
> the following rules :
> -only exact match makes a link to the definition, for example :
> - "abaisseraient" do
> $searchenquiry = "Never cry Wolfe"
> and
> $mydata->ST contains "... Never Cry Wolfe ..."
>
> This code echos:
> ".preg_replace ('/('.$searchenquiry.')/i' , "$1",
> $mydata->ST)."
>
> ... Never cry Wolfe ...
>
> But I want it to use the original text and echo:
>
> ... Never Cry Wolfe ...
I
> setcookie("cookie[name]","$_POST['name']", time()+86400)
> setcookie ("cookie[email]","$_POST['email']", time()+86400)
> setcookie ("cookie[bgcolor]","$_POST['bgcolor']", time()+86400)
> setcookie ("cookie[tcolor]", "$_POST['tcolor']", time()+86400)
>
> ?>
you could try this:
setcookie ('val
l PHP request.
Can someone help me?
FYI: I'm a newbie. Please forgive me if this is an old-hat question.
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> I want to use a large Excel sheet in a website. The Excel sheet exists of
> lots of functions and the developer of it is a financial person who is used
> to programmning in Excel, not in other "programming languages". How can i:
> insert the data that's filled in in several forms on web pages (i
> Obviously the new-line is missed. Any thoughts on this?
>
> sample code:
> ereg("Last Name:\s*(.*)\n", $strInput, $regs)
> echo $regs[1];
try this:
ereg("Last Name:\s*(.*[^\n])", $strInput, $regs);
echo $regs[1];
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
> Hi! I saw the php function flock(), since I never used it before so I
> thought I would ask you folks a couple of questions.
did you read all of the user comments on http://us2.php.net/flock
There is a bunch of good info in there
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
> I need to check that the substring " R" (that's a space followed by an
> uppercase R) is not contained within my haystack.
Just one way to do it:
$strings[] = 'Blah Blah R 99.99';
$strings[] = 'Blah Blah R99.99';
$strings[] = 'Blah Blah 99.99CR';
foreach($strings as $value) {
if (preg_match('/
> How do I gather up all the variables in $_POST and attach them as a
> string after the question mark? Thanks.
this is untested:
$arr = array();
foreach($_POST as $key => $value) {
$arr[] = $key.'='.urlencode($value);
}
$URL = "https://example.com/script.asp?".implode('&',$arr);
header
> I have a form where one option is a dropdown menu. I'd like that menu to
> only have items in it that are actually available. Selecting the items with
> a query is easy enough but I wondered if anyone could tell me where to start
> wit the code.
I dont know what kind of db so I will just use mys
> Thanks for the helpful examples. One other question. Is there an
> advantage to sending the URL via a header as opposed to doing http_post
> like this?
> http://shiflett.org/hacks/php/http_post
> Jeff
Like someone mentioned earlier. URL's have length limits. That would
be one reason to do a po
> Ok then, I want to know how to do it the right way but just using
> $_POST['text'], as stated before, in my query still cuts off the text at
> the quote.
>
> While passing this field between pages I don't do anything to it but when
> I want to show it to the user I would use stripslashes($_POST[
> Anyway to do it using PHP?
Com objects or use perl
http://search.cpan.org/~kwitknr/Spreadsheet-ParseExcel-0.2603/ParseExcel.pm
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Hi to all,
> is there any function wich can format a "double" or "string" into "money
> format".for example: 1526789,99 to 1.526.789,99 or something like that.?
> Regards Lukas
>
You could try http://us2.php.net/manual/en/function.money-format.php or
http://us2.php.net/manual/en/function.numbe
> Now, I want to know which numbers have been checked by the player.
> I have a :
> "input name="Grid1" type="checkbox"
> for the first grid. Grid2 for the grid #2...
if the user checks any Grid1[] boxes then $_POST['Grid1'] will be an
array and so on.
--
PHP General Mailing List (http://www.
> ps.. to you guys who said that the doesn't have a value=''.. it
> does...
Where did you find this out? I was pretty sure that is did not have
the value attribute.
http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/textarea.asp
http://www.w3.org/TR/REC-html40/interact/forms.htm
> I would like to use the file_exists() or something similar to check for the
> existance of any of the xml files regardless of what filename it use. Like
> file_exist("*.xml") for example. Anyone know??
http://us3.php.net/readdir
--
PHP General Mailing List (http://www.php.net/)
To uns
> I am developing an app in which my visitors must be able to enter text and
> do some minimal HTML formatting including making some of the text
> hyperlinks. I like the looks of htmlArea, but can't get either available
> version to work in any Mac browsers. I've also found EditLive! and am
> intri
> I would prefer to have if possible:
> input name="Grid1[]" type"checkbox" //1st grid, 1st
> checkbox
> input name="Grid1[]" type"checkbox" //1st grid, 2nd
> checkbox...
>
> That's what Matt M proposed.
> If I do: echo $_P
> Since you are getting the information from the page anyways, just simply
> do:
>
> $_SERVER[PHP_SELF]?parameter1=$_GET[parameter1]¶meter2=$_GET[paramet
> er2]¶meter3=$_GET[parameter3] etc...
should also make sure to urlencode the data
here is another thrread about it
http://marc.theaimsgroup.
> I am writing an app and right now im working on code that will display x
> number of items on one page, and if there is overflow, provide a link to
> the next. The url coming into the page looks something like:
>
> projects.php?action=view&completed=no&start=0
>
> My code so far, i just took t
> If I don't want to use session cookie , how to set it?
> thanks.
ini_set('session.use_cookies','0');
before all of your session_start() calls.
or set it in the php.ini, .htaccess or httpd.conf file
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/un
what do you get when you print_r($_SESSION) ?
try session_write_close() at the end of your scripts.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> I never tried but i think it is possible using the pecl extension:
>
> http://pecl.php.net/package/perl
Here is a short tutorial
http://www.zend.com/php5/articles/php5-perl.php?print=1
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> I have decided to look for an alternative to file_exists() because it is
> taking too long. Is fopen() a good alternative or what?
maybe stat()
http://us4.php.net/manual/en/function.stat.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> If anyone knows how to setup IIS6 to allow the same .php extension to be used
> with dedicated copies of php.exe + ini files I would really appreciate the
> assistance. Maybe some clue I am missing about the behavior of the web extensions
> manager or a method of defeating it?
Have you tried a
Hey List,
I want to know if it is possible to use PHP to find out if a visitor has
Java Runtime Environment installed on a computer. Is there a way to use PHP
to find this similiar to how PHP can be used to find out browser info?
Thanks in advance for your help.
--
-Matt Livingston
installed and
provide a link to the Java site where they can download it.
Thanks again all!
-Matt
On 9/5/07, David Powers <[EMAIL PROTECTED]> wrote:
>
> tedd wrote:
> > At 3:17 PM -0600 9/5/07, Matt Livingston wrote:
> >>
> >> I want to know if it is possible
enough to cause damage to my PC that could not easily be cleaned up
- I would simply reformat the HD and reinstall the OS ;) (and that process
of reformatting and reinstalling takes a mere 30 minutes to 2 hours - latter
being the Windows and former being Ubuntu)
-Matt
On 10/16/07, Bastien Koe
Thanks for the tips. phpLDAPAdmin was hanging while trying to authenticate,
but I'll give it a try again later.
Nathan: splitting up the search; I hadn't considered this! It is working
nicely for the time being, thanks.
- MB
On Wed, May 7, 2008 at 3:23 PM, Jay Blanchard <[EMAIL PROTECTED]> wrote
t that approach... Unless that really is the easiest
way.
Thanks in advance!
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s on it's own output like a factorial... Not just a
function that is called inside itself.
This got me where I needed to be and it is GREATLY appreciated!
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I really have to agree here. I have gone through a mature open source project
over the last month or so, and removed EVERY notice. It honestly took all of
about 2 hours to actually fix the notices. It really isn't hard to eliminate
them, and if you are coding something the may be released, yo
I've recently begun work on a web-based RPG game with some friends, and have
recently been thinking about the best solution for loading and saving
persistent variables like player life/stats and other information. I am both
familiar with sessions and mysql for saving and loading variables, and
tha
As far as scalability goes, there's actually a game we're referencing a lot
to help us make it work at the get go called Kingdom of Loathing (
http://www.kingdomofloathing.com ). This game seems to have on average
around 1,000-1,500 users on at any given time. I've noticed when visiting
the page a
it a brick wall though. I know binary files have version information
available, but can't find anything for php to read this.
Has anyone run across something like this in the past? Anyone have any hints
of where to go to start reading this info?
Thanks
Matt
--
PHP General Mailing List (htt
Message
From: Richard Lynch <[EMAIL PROTECTED]>
To: Matt Carlson <[EMAIL PROTECTED]>
Cc: php-general@lists.php.net
Sent: Friday, July 27, 2007 12:52:08 AM
Subject: Re: [PHP] Find file version
On Wed, July 25, 2007 12:26 am, Matt Carlson wrote:
> I've been recently toying with th
You might want to take a look at stickleback:
http://sourceforge.net/projects/stickleback
Documentation is very thin on the ground right now, but there's a
presentation here:
http://www.appulsus.com/resources/stickpres200706/img0.html
mz
On Mon, 6 Aug 2007, Hamza Saglam wrote:
Hello Boro,
In my experience with the other frameworks (primarily Wasp, CakePHP,
Symfony, eZ Components, and Zend Framework), I've found that I was not
satisfied with the quantity of low-quality code they advocate. I have
a high standard for code quality, readability, maintainability, and
(more generally) sem
upload it to a
different place (takes a long time). Is there an FTP that will just copy
the file/folder from the FTP server without the need to download/upload it
somewhere else?
Thanks,
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e.'';
}
zip_close($zip);
to the bottom of my page it correctly displays, on screen, the 3 files I
expect to be in the zip file.
Any help would be very gratefully received as this is driving me mad!!!
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
he service has restarted at which point they are returned to
index.php - its as if the exec and the sleep and the refresh to index.php
are all kind of running concurently.
Can someone PLEASE tell me what I'm doing wrong - or shed light on how I
should do this.
Thanks,
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
o be lacking more in HTML and Browser
server relationships - I'm basing things on my background in Basic
programming as a kid - you do Print "Hello world" and it does that instantly
to the screen - little different with browsers!
Matt
"Myron Turner" <[EMAIL PROTECTED]&
tarts PK!!!
Anyone any ideas???
Thanks in advance
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ll of this is
that my code is now working and I can finish off my tests.
Thanks again
Matt
-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]
Sent: 06 November 2006 21:02
To: Matt Street
Cc: 'php-general@lists.php.net'
Subject: RE: [PHP] PHP Zip Question
On Mon, Nov
With register_globals on, the globals super array ($_POST, $_GET, $_REQUEST)
are automatically populated into variables. With that in mind
www.example.com/index.php?path=remoteexplot.com/ would then yield
include('remoteexplit.com/foo'); thus including ANY code they wish.
- Original Me
I have available at
http://sweetphp.com and they have become very successful because of all your
help.
Thanks,
Matt Palermo
[EMAIL PROTECTED]
http://sweetphp.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
vascript consoles outputs:
Error: document.getElementById(update[0]) has no properties
Source File: http://www.xn--ovg.com/aja/test.js
Line: 35
Cheers
Matt
l .= ", insertDate='" . $dat . "'";
> $sql .= ", insertTime='" . time() . "'";
> $sql .= " WHERE IDForum=" . safeQuote($idForum);
> $querys = mysql_query($sql);
Use NOW() for both your date and time fields if the fields have been set up
as that. MySQL will then add the date and time according to whatever those
values are on your db machine.
Cheers
Matt
> Rick Lim wrote:
>> is there a guide for pda friendly web pages.
> Yeah there is one.
lol, would you like to tell us where its located please?
>
> --
> Smileys rule (cX.x)C --o(^_^o)
> Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubs
Zouari Fourat: lol, bet you feel silly now :)
Stut wrote:
Zouari Fourat wrote:
:) Gerry not that funny ;)
I was affraid :o from the news
Rule #1 on the Internet... Never trust any news without a link to an
official source
Rule #2 on the Internet... Never trust anything you read on April 1st
quote:
Joe Wollard wrote:
Just as long as everyone knows that everything I said was all in good
fun.
Next time I'll be sure to use just to be sure nothing is
taken the wrong way ;-)
Joe Wollard wrote:
Just as long as everyone knows that everything I said was all in good
fun. Next time I'
oops forgot the first .. oh well! :(
Matt Richards wrote:
quote:
Joe Wollard wrote:
Just as long as everyone knows that everything I said was all in
good fun.
Next time I'll be sure to use just to be sure nothing is
taken the wrong way ;-)
Joe Wollard wrote:
Just as long as eve
I wonder how long this is gonna go on for, its ironic that the name
'Microsoft' seems to spread through this mailing list just like it
spreads through peoples computers ...
humm another thing that implies the same rule is a virus ! derm derm
drm...
Ryan A wrote:
Hey,
Just as long
Yes, I absolutely agree that Rasmus is awesome and his accomplishments
are far and beyond amazing, but I'm saying that I think that Rasmus is
motivated to stay true to PHP's philosophies and not be willing to
rethink them: that is what I meant by that.
In no way am I saying that Rasmus doesn't DES
There's nothing wrong with staying true to the philosophy at all, I
just think that it may well be detrimental in the end. And that is
what I said in the (toilet)paper, that there will be (emphasis on the
eventuality, not on the present actuality) a time that PHP will become
the old stuff because i
You guys make me laugh... :)
(And I really actually mean that in a nice way... that last bit was
quite funny. And yes, size does matter... some don't like it _too_
big.)
But, I digress.
I'm OK with taking this off-list... though I'd rather publicly reply.
Yeah, I meant procedural, not functiona
I think that one of the issues is that when you assign
a variable using "" instead of '', it will
auto-replace your variable names inline. I don't
know, but I think you should be escaping the $ before
the <.
--- Jo�o C�ndido de Souza Neto
<[EMAIL PROTECTED]> wrote:
> Hi everyone.
>
> I ha
with and learn from other developers as well.
Thanks,
Matt Palermo
http://sweetphp.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ere a command I can
use to make PHP run a delete command as the admin user? If so, how can I do
this?
Thanks,
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Okay, I'll have to look into that. I have very limited knowledge with shell
scripts. You wouldn't have an example of one that can do what I need do
you?
Thanks,
Matt
"Shawn McKenzie" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Matt palermo wro
Is there something wrong with
this command? Is there a different way to do it?
Thanks,
Matt
""Matt palermo"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
My PHP is running as a user with limited rights. I'd like to execute a
command line as a diff
Hello, list. A few days ago, a security scan said that our machines
that were running PHP had potential vulnerability CVE-2008-2829 , a
buffer overflow in rfc822_write_address(). Discussions about this
are relatively easy to find with Google, but check out
http://bugs.php.net/bug.php?id=42862 f
From: "M. Sokolewicz" <[EMAIL PROTECTED]>
> Matt Graham wrote:
>> PHP had potential vulnerability CVE-2008-2829
>> http://bugs.php.net/bug.php?id=42862 for a reasonable discussion and
>> an (unofficial) patch.
>>
>> I'm just curious
*off-list*. Hope this helps,
--
For every complex problem, there is a solution that is simple,
neat, and wrong.
My blog: http://crow202.org/wordpress/
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
--
PHP General Mailing List (http://www.php.net/
I have been thumped with the clue bat and now have a solution.
Thanks for your time!
--
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
How can I create a file (txt) in client-side?
I dont think there is a way unless you are using some kind of java
applet. You can create the text on the server and give the user a link
to save the text file on their computer.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vi
I know that this is not a PHP problem, but
Is there a way to prevent the 'Page has expired...' when the user
press
'Back'
post to a page that does nothing but process the form post. When it is
done, it redirects to another page.
--
PHP General Mailing List (http://www.php.net/)
To unsubsc
because it is MySQL, couldn't you just use mysql_insert_id
http://www.php.net/manual/en/function.mysql-insert-id.php instead of
this:
//now get the random number, and MD5 it to get it alphanumeric
$query = 'SELECT MAX(uiIndex), cKey FROM randomKey GROUP BY cKey';
$result = mysql_query($qu
Hi :),
i'm looking for a function to remove multiple dynamic parts
of a string, there are only the start and end strings given
(remove all between string A and string B)
got somebody a working procedure for that?
regards
a start of a procedure I have
$stringA = "string A";
$stringB = "stri
Is Googlebot (or any other bot) able to follow links that are php?
e.g.
Contact Us
Is there a way to invite bots to your site?
Thanks
Matt
replace
");
} while (true);
fclose($handle);
?>
with this
\n");
} while (true);
fclose($handle);
?>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
easy
like this for creating zip files. Please let me know.
Thanks,
Matt
http://sweetphp.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
But I am also in need of a Mechanism where I can transfer an
Initiated session to the User's Browser ...
( Not Just OutPutting the above variable .. But actually Transferring
the
Session to the User's Browser )
not sure I understand 100% what you mean.
You could send a cookie or form field
possible?
thanks,
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Can someone help me with the following? Preferably someone other than the
wise ass below?
thanks
matt
"Burhan Khalid" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Matt Hedges wrote:
> > Hello,
> >
> > I have a page where users can ente
$StockURL =
"http://finance.yahoo.com/d/quotes.txt?s=xrx,ikn,danky&f=sl1&e=.txt";;
$StockResults = implode('', file("$StockURL"));
$Rows = split("\n", $StockResults);
foreach($Rows as $Row) {
list($Symbol, $Price) = split(",", $Row);
$Symbol = str_replace('"', "", $Symbol);
echo $
Would PHP be a good program to use for this project? Has anyone had to
reformat unstructured data to insert into a database? If anyone has any
suggestions or examples please let me know. J
If you have not already, look at regular expressions. imho, by far the
best way to parse reports like th
[snip]
[/snip]
What is happening when the form is posted?
This is just a guess, but I think registar_globals is probaby off. try
this
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ahh, I have to correct myself
replace this: if ($_POST['TextArea']="") {
with this: if ($_POST['TextArea']=="") {
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
did you replace ($TextArea="") with ($TextArea=="") ?
($TextArea="") will reassign $TextArea to ""
>>> "Pooya Eslami" <[EMAIL PROTECTED]> 2/2/2004 3:00:32 PM >>>
Well the problem is not that it won't get executed, its that every
thing
will be sent except the message in the textarea! subject, t
[snip]
while (!$recordSet->EOF) {
$arrX = $recordSet->fields['user_id'] =>
$recordSet->fields['field_value'];
$recordSet->MoveNext();
[/snip]
while (!$recordSet->EOF) {
$arrX[$recordSet->fields['user_id']] =
$recordSet->fields['field_value'];
$recordSet->MoveNext();
}
--
PHP General Mailing List
Hello,
I have a basic question I can't figure out.
My site lets people enter in their information... I now want to be able for
a user to search the database. For example, enter in "firstname" or
"lastname" in a text box, hit submit, and have the results returned.
How do I write this in PHP?
I'
d linked by id.
How do I do this?
thank you very much,
Hedges
Now, How do I get
"Matt Hedges" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello,
>
> I have a basic question I can't figure out.
>
> My site lets people enter in their in
1301 - 1400 of 1662 matches
Mail list logo