On Fri, 15 Oct 2004 10:49:27 -0600, Brad Pauly <[EMAIL PROTECTED]> wrote:
>
> I am also trying to do this. Dovecot is the default IMAP server on
> FC2. I haven't had time to try it yet, but here is a link I found
> about compiling PHP with dovecot:
>
> http://www.
> }
>
> But I want to specify multiple IPs. What's the best recommended way for
> doing that?
One way would be to create an array of ips and look for it in that array:
$ips = array('127.0.0.1','192.168.1.50');
if (in_array($REMOTE_ADDR, $ips))
Apache: 2.2.8 threaded
PHP: 5.2.4-2
mySQL: 5.051.a
Ubuntu 8.04 minimal with everything needed installed via apt-get.
Using SMF forum, I'm having an issue with the strtr command... Here's
the code...
$ftp_file = strtr($filename, array ($_SESSION['pack_ftp']['root'] =>''));
The $_SESSION[
Hi, I am trying to encode a string using Rijndael-128 using a C application
that I wrote, based on the BSD crypt/rijndael libarary and decode it in PHP
using mcrypt_decrypt. Each part of the program works separately (I can
encrypt with the c app, and decrypt with it, and I can encrypt with
mcrypt_e
Well, as the "A" in Ajax is asynchronous, there's no real way to make it
wait. What you would normally do is use a callback:
function createXHRObject( )
{
if (typeof XMLHttpRequest != "undefined")
{
return new XMLHttpRequest();
}
else if (typeof
Well, the latter method is generally easier to understand later. Most
programming style books preach this method, and it's the one that most of my
previous employers use.
Cheers...
-Original Message-
From: Peter van der Does [mailto:pvanderd...@gmail.com]
Sent: Thursday, April 23, 2009 8:
into more
detail later if you're interested. As others have mentioned, there are some
more complex Zend framework classes for this, but you may opt for the
simpler and more direct route...
Cheers,
Brad Broerman
-Original Message-
From: Matthieu [mailto:spama...@gmail.com]
Sent: S
quotes (like a text string) when inserting into
your database.
Example:
$date = "January 8 2007 11:23 pm";
$mysqldate = date("Y-m-d H:i:s", strtotime($date));
$query = "INSERT INTO `datefield` VALUES '$mysqldate'"; ...
Hope that helps,
Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
see
if it detects any problems with your server configuration.
You might also check out www.mxtoolbox.com
Hope that helps,
Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[EMAIL PROTECTED] wrote:
MD5 is a hasing algorithm.. one-way.. really only good for checking known
values and keeping them 'private', like storing passwords in a database. That
way, if someone breaks into your database, they don't get the passwords, only
the non-reversible MD5 hashes of the
[EMAIL PROTECTED] wrote:
Still.. that has nothing to do with how well known MD5 is (so I stand by my point).
Was not trying to refute your point. Just pointing something out with
regards to the "security" of MD5 hashes, and what being "well known" or
at least popular does for you. What you
es and pop them in when the user
chooses an option from the first list (using onChange=someFunction(...)).
I like #2. If you need a starting point, google for "javascript dynamic
select list"
Hope that helps,
Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ment: ' . $stmt
.'('.$query.')'. ' ' . htmlentities($error['message']));
}
return $result;
}
I use this wrapper class for many things, and the execute function for
many things, without any problems.
Now, this is
Dan Shirah wrote:
Hello all,
I am trying to pull data and then loop through the multiple results
display
in seperate rows.
My database contains several tables which are all tied together by the
credit_card_id. After running the query, it ties the unique record
together
by matching the credi
Roman Neuhauser wrote:
# [EMAIL PROTECTED] / 2007-01-18 11:46:10 -0500:
Hello All,
I have this Oracle function, and within my code I call it like this:
$sql = "BEGIN :result := my_funtion_name('$parm1', $parm2, null, null,
null); END;";
$stmt = $db->parse($sql);
$rc = null;
Brad Bonkoski wrote:
Roman Neuhauser wrote:
# [EMAIL PROTECTED] / 2007-01-18 11:46:10 -0500:
Hello All,
I have this Oracle function, and within my code I call it like this:
$sql = "BEGIN :result := my_funtion_name('$parm1', $parm2, null,
null, null); END;";
$st
support_payment_request.credit_card_id =
> credit_card_payment_request.credit_card_id" ?> ($request_id !== '') {
> "AND credit_card_payment_request.credit_card_id = $request_id"
> }
> ?>
> "AND date_request_received = $dateTime";
>}
> ?>
>$result = mssql_query($sql) or die(mssql_error());
> echo " cellspacing='2' bordercolor='#00'>";
>
> while ($row = mssql_fetch_array($result)) {
>$id = $row['credit_card_id'];
>$dateTime = $row['date_request_received']; echo "";
> echo " class='tblcell'>$id"; echo
> " class='tblcell'>$dateTime";
> echo " class='tblcell'>Open"; echo
> " class='tblcell'>Payment Type";
> echo " class='tblcell'>Last Processed
> By"; echo ""; } echo ""; ?>
>
Your logic is correct but here is the correct syntax:
The key here is the use of ".=" to *append* to the query string (don't
forget the space before "AND" or the query will break)
Hope that helps,
Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Skip Evans wrote:
Hey all,
I have the following query:
$sql="SELECT count(*) AS
count,votes.storyID,stories.title,stories.storyID as
sID,stories.approved, stories.story,stories.userID, fname, lname
FROM `bsp_story_votes` as votes, bsp_story_stories AS
stories, users AS usr
hanks,
> Fletcher
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
Could it have something to do with url encoding?
For example:
http://example.com/page.php?foo=ABC+123
echo $_GET['foo']; // should produce: ABC 123
http://example.com/page.php?foo=ABC%2B123
echo $_GET['foo']; // should produce: ABC+123
HTH,
Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
;
>
>
> When I click on save, it does go thru all the checks correctly and prompts
> to enter info if anything is left out. It then passes me to the
> save.phppage as it should, but all of my $_POST('X') values come
> in blank.
>From the looks of it, you hav
gt; now. The response I got showed me how to disable everything, but I want to
> allow basic html tags.
http://us3.php.net/strip_tags
You can use the optional second parameter to specify tags which should not
be stripped.
HTH,
Brad
--
PHP General Mailing List (http://www.php.net
ript which does the validation is the same one which contains the
> upload form. I suspect we're completely out of luck - apart from
> validating
> with JavaScript.
Yup.
-Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>
> greets
> Zoltán Németh
>
Even better, download this free open source application which does it all
for you...
http://www.phpadsnew.com/
-Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
INTO TableName(...) VALUES(...) SELECT
LAST_INSERT_ID=@@IDENTITY");
$r = mssql_fetch_assoc($q);
HTH,
Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> > How about scenario #3: I wish to output my data in (for example)
> > three columns, as a phone book does. To make the example simple,
> > assume 15 data points. I wish the output to look like
> >
> > 1 611
> > 2 712
> > 3 813
> > 4 914
> >
> -Original Message-
> From: Helder Lopes [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 15, 2007 5:32 AM
> To: php-general@lists.php.net
> Subject: [PHP]Password and FTP Folder
>
> Hi people
>
> hi have a problem
>
> i need a script for make a ftp folder that have a password for e
plays the echo of my query and
> returns the echo of "Insert Complete"
>
> HOWEVER, when I go to look at the data base there is NO data inserted into
> table2 even though my query returned that "Insert Complete" statement.
>
> Any ideas?
>
>
>
>
ing is to
> > blame.
> >
> >
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
I may be way off... but isn't it redundant to use both gmdate() and
gmmktime()? I thought each of these functions were used to convert your
local time into GMT...
So for example if you're GMT+5, the gmmktime() would subtract 5 hours, and
then gmdate() would subtract another 5 hours?
Like I said - I could be way off, but just a thought.
-Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
LoneWolf wrote:
I am having a problem where it appears that the session is not being saved
properly.
While on a page, I can start a session and set variables to it. however,
when I go to the next page.. the session variables appear to have been
cleared out.
first page:
session_start();
$_S
> -Original Message-
> From: LoneWolf [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 15, 2007 4:35 PM
> To: php-general@lists.php.net
> Subject: [PHP] Session Problem
>
> I am having a problem where it appears that the session is not being saved
> properly.
>
> While on a page, I ca
> -Original Message-
> From: Brad Fuller [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 15, 2007 3:48 PM
> To: 'Terra Frost'; 'Peter Lauri'
> Cc: php-general@lists.php.net
> Subject: RE: [PHP] plugging gmmktime value into gmdate yields incorre
Denis L. Menezes wrote:
Dear friends.
I have a site where I have news headers. I wish to count the clicks on the
news headers so that I can see how many times each of the the news has been
viewed. This way I can show the "most viewed" news.
Can one of you please advise hwo this can be done?
Dan Shirah wrote:
Greetings,
I have the following code which populates a dropdown box so a user can
select a month. They see the month name and the SELECTED value is the
corresponding numeric value 1-12 for the month. However, the selected
value for January would be 1. I need the selected v
> -Original Message-
> From: Dan Shirah [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 19, 2007 1:27 PM
> To: php-general
> Subject: [PHP] Month
>
> Greetings,
>
> I have the following code which populates a dropdown box so a user can
> select a month. They see the month name and the
> -Original Message-
> From: Dan Shirah [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 19, 2007 1:44 PM
> To: Jay Blanchard
> Cc: php-general
> Subject: Re: [PHP] Month
>
> Okay, so sprintf("%02s", $m) means that the value of $m would be checked
> for
> the amount of digits returned.
> -Original Message-
> From: Dan Shirah [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 19, 2007 2:08 PM
> To: Brad Fuller
> Cc: Jay Blanchard; php-general
> Subject: Re: [PHP] Month
>
> Okay, when I try the sprintf I get the following error when I
Brad Bonkoski wrote:
Dan Shirah wrote:
Okay, when I try the sprintf I get the following error when I try to
save my
form
Incorrect syntax near 's'.
$months";
try: echo "$months";
your trying to call a function inside of a string...
oops..typo, forgot the add
Dan Shirah wrote:
Okay, when I try the sprintf I get the following error when I try to
save my
form
Incorrect syntax near 's'.
$months";
try: echo "$months";
your trying to call a function inside of a string...
-B
}
?>
On 2/19/07, Brad Full
Dan Shirah wrote:
Just when I think I'm getting the hang of PHP, I get confused beyond
belief
:|
Is this working for you guys? When I test my page only 1/2 of the months
show up now.
$months";
Still missing a double quote in there.
echo "$months";
}
?&
part of your code that generates the random
'index' and just use "ORDER BY RAND() LIMIT 1" in your query.
HTH,
Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
want to do it, you could do something like this:
foreach($_POST as $key => $val)
{
$_SESSION[$key] = $val;
}
HTH,
Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Check out...
http://www.php.net/gd
-B
[EMAIL PROTECTED] wrote:
after we (company I work for) mmoved to new hosting company (dedicated
server), I requested from them to instal php5 with GDlib to be able play
with images.
they did.
and then yesterday (2 months after we moved) I wasn't able to use
I
[EMAIL PROTECTED] wrote:
Check out...
http://www.php.net/gd
-B
Already did, but didn't find there any answer...
:(
In the Installation section...
To enable support for jpeg-6b add --with-jpeg-dir=DIR.
And read above on that page, for what may/may not be needed to install
this library
I think something like this will work for you..
$start_time = time();
...loop..
if( time() - $start_time > 5 ) exit;
-B
Aaron Gould wrote:
I have a script that connects to a networked device via PHP's socket
functions. This device accepts proprietary commands (e.g.: "KPRINT",
as seen below
/stream_set_timeout
Brad Bonkoski wrote:
I think something like this will work for you..
$start_time = time();
...loop..
if( time() - $start_time > 5 ) exit;
-B
Aaron Gould wrote:
I have a script that connects to a networked device via PHP's socket
functions. This device accepts proprietary comma
hn Doe
2 John Doe
3 Jack Black
4 Adam Jones
5 Sally Smith
The following query:
SELECT COUNT(ID) AS NumRecords, FirstName, LastName
FROM MyTable GROUP BY FirstName, LastName HAVING COUNT(ID) > 1;
Would produce the followi
Dotan Cohen wrote:
I need to populate an array with the contents of a directory. The
following code does not populate the $thumbnailFiles array like I
expect that it would:
read()) {
if ( !is_dir($entry) ) {
$files[] = $entry;
perhaps look into the array_push() function htt
For the record, I will *never* say one size fits all in the realm of
computer programming...
Consideration 2
If your project is to supply images across several web servers on
different host, then you are caught in a sync problem. Images stored
in a file system must be stored on a local host
Helder Lopes wrote:
Erro no banco de
dados!");//line 23
Where is $con defined???
-B
$total = mysql_num_rows($result_id);
// Caso o usuário tenha digitado um login válido o número de linhas
será 1..
if($total)
{
// Obtém os dados do usuário, para poder verificar a senha e passar os
demais
Helder Lopes wrote:
In other file
I asked because it might prove helpful to see how that is set because
this appears to be what is causing your error.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tyvm, I will check it out right away!
B
> -Original Message-
> From: fedt [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 06, 2007 5:17 PM
> To: Brad Fuller
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Launch a seperate process
>
> pcntl_ fork() and pcn
> -Original Message-
> From: Ed Curtis [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 07, 2007 11:47 AM
> To: php-general@lists.php.net
> Subject: Re: [PHP] php and javascript error
>
>
> >>>
> >>>
> >>>This produces an "Error on Page" in IE 7, but works perfectly in
> Firefox
> >>>an
> -Original Message-
> From: Brad Fuller [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 07, 2007 12:02 PM
> To: 'Ed Curtis'; 'php-general@lists.php.net'
> Subject: RE: [PHP] php and javascript error
>
> > -Original Message-
> -Original Message-
> From: Tijnema ! [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 12, 2007 1:10 PM
> To: Brad Fuller
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Extract url from string
>
> On 3/12/07, Brad Fuller <[EMAIL PROTECTED]> wrote:
>
On 3/12/07, Brad Fuller <[EMAIL PROTECTED]> wrote:
> I tried this:
>
> preg_match("/http(s)?:\/\/(*.?)\s/", $stringUrl, $matches)
>
> But my pattern syntax is messed up cuz I get this error:
>
> Warning: preg_match() [function.preg-match]: Compi
I think up2date is *not* up2date ;-)
Google for 'yum' and all its flags for usage...
-B
Jonathan Kahan wrote:
Hi all,
I am attempting to start the mysql rpm in Red hat as a first step
prior to downloading and activating the php-mysql rpm. I was
attempting to follow steps based on the link be
> -Original Message-
> From: Jake McHenry [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 13, 2007 11:22 AM
> To: For users of Fedora; PHP-General
> Subject: Re: [PHP] dst and strtotime
>
> A little more info:
>
> strtotime("last monday") or yesterday, is correct, but
> strtotime("l
hurry to upgrade unless you're sure that none
of your existing code will break... Search the archives or the web for
details.
I'm not sure how I would go about fixing this, perhaps replacing "last
sunday" with "minus x days" (where x is derived from the day of the
ntly discard messages sent from dynamic/residential
IP blocks.
You might consider configuring your mail server to relay messages through
your ISP's SMTP server, though I wouldn't recommend this if you're planning
on doing any bulk mailing and are fond of your account with your ISP
> -Original Message-
> From: Tim [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 14, 2007 12:58 PM
> To: 'PHP'
> Subject: [PHP] $_POST array order
>
> Hi,
>
> Quick question regarding $_POST array element order, first the situation:
>
> I am submitting a form with x first fields and t
> Im assuming it will be running IIS.
(shudder)
> The site is very important and any issues will hamper the functionality
> and accessibility of the site.
LOL
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
errors like that will cause a startup error, which means your code
can't be evaluated. So those 2 lines of code that turn the error reporting
on never get executed.
Make sure the ini file you're editing is the one PHP is actually using. You
can see the path to the ini file in
Also make
space, but that didn't seem to help...
$xml->registerXPathNamespace( "aws",
"http://alexa.amazonaws.com/doc/2005-10-05/"; );
var_dump($xml->xpath("//aws:Response")); // produces array(0){}
(I tried it with the other url as well, same result)
Any advice is
Alain Roger wrote:
Hi,
I would like to know what is the best solution for my problem.
When a user is connected to a https page and a session is open, if user
close his browser, the session ID is still active in the browser
"history".
It means that next time when user will start his browser, th
Richard Dunne wrote:
Can anyone tell me where to get support for this?
Here
php5 undefined function pg_connect()
postgresql was not built into your version of PHP.
Perhaps post which platform your run on, and other information like
using a pre-canned binary or are building for source.
-B
re only querying records where processed=0.
Of course this will not work if you cannot modify the MySQL table.
Best of luck,
Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> -Original Message-
> From: Myron Turner [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 20, 2007 10:24 AM
> To: Brad Fuller
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Amazon AWS + SimpleXML
>
> Brad Fuller wrote:
> > Hey guys,
> >
> &
ows/3
Not finding your dll...not sure where those should be stored, might try
the "find" function in windows.
Otherwise, post back to the list (with reply-all) as others might have
better experiences with this.
-B
I might have to use JSP instead of PHP.
Richard
- Original Mes
> > -Original Message-
> > From: tedd [mailto:[EMAIL PROTECTED]
> > Sent: Monday, March 26, 2007 8:49 AM
> > To: php-general@lists.php.net
> > Subject: RE: [PHP] My own "captcha" from 2 years ago..
> >
> > At 10:02 PM -0400 3/25/07, Jake McHenry wrote:
> > >Like I said... Even if they h
Ross wrote:
I want to trim any whitepace and check if it is empty in the same line this
is not working.
if (empty(trim($_POST['_createcategory']))) {
perhaps try:
if( strlen(trim($_POST['...']))) <= 0 ) { ... }
don't think empty is the right function for th
Brad Bonkoski wrote:
Ross wrote:
I want to trim any whitepace and check if it is empty in the same
line this is not working.
if (empty(trim($_POST['_createcategory']))) {
perhaps try:
if( strlen(trim($_POST['...']))) <= 0 ) { ... }
don't think empty is
ters
otherwise... 2 options:
$query = "INSERT INTO categories (category_name) VALUES
('".$_POST['cat_name']."')";
-or-
$query = "INSERT INTO categories (category_name) VALUES
('{$_POST['cat_name']}')";
-Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> From: tedd [mailto:[EMAIL PROTECTED]
> At 10:59 AM -0400 3/26/07, Brad Fuller wrote:
> >
> >echo '';
> >
> >This does not "run" or "call" image.php.
> >
> >This line of code sends this output to the browser.
>
Dan Shirah wrote:
Okay, I thought this was VERY simple, but I cannot wrap my mind around
what
I am doing wrong.
echo $_POST['max_id']; *The echo returns the correct result
*if($_POST['max_id'] ='') { *This is suppose to run the below query if
$_POST['max_id'] is not blank*
$max_id = $_POST[
Davi wrote:
Em Terça 27 Março 2007 17:02, Dave Goodchild escreveu:
use: $_POST['max_id'] ==
or even better:
if (empty($_POST['max_id']))
Why not:
if (!(isset($_POST["max_id")))
?
I think the poster *needs* the value to be set to something...
so if (isset(...)) {} would work
or
Dan Shirah wrote:
Should I use something besides mssql_fetch_row to get my result? No
matter
which method I use for determining if the value exists, I still get no
data
populated to my form.
Why not echo out your query before executing it, so you can run it
against the back end if you have it
.
On 3/27/07, *Brad Bonkoski* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Dan Shirah wrote:
> Should I use something besides mssql_fetch_row to get my result? No
> matter
> which method I use for determining if the value exists, I still
Send us the output of print_r($row_info)
feel free to mask out any data values you may wish.
Dan Shirah wrote:
echo $row_info['first_name']; returns nothing.
However I have verified the correct spelling both in the database and
in the
PHP code and they are identical and when I print_r it shows
; Mar 27 2007 5:26PM [25] => Dan Submit [26] => C
[27] => TN )
Bold and in red is the first_name column result.
use the numeric reference then...
[..] is the index into the array, so if you want "John" use $row_info[7]
and if you *want* to use the name or associative array
rea
Jason Pruim wrote:
Hi Everyone,
First off, I'm using PHP 5.2.0 and apache 1.3.33
I am trying to figure out what format a string is in in a database.
It's a timecard system that I have found on-line and I am attempting
to figure out how to write a script that would give me everyones
timecard
Jason wrote:
> Hi Everyone,
>
> First off, I'm using PHP 5.2.0 and apache 1.3.33
>
> I am trying to figure out what format a string is in in a database.
> It's a timecard system that I have found on-line and I am attempting
> to figure out how to write a script that would give me everyones
> time
> -Original Message-
> From: Daniel Brown [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 29, 2007 12:08 PM
> To: php-general@lists.php.net
> Subject: [PHP] IP Geolocation Scripts
>
> Does anyone have any recommendations for existing open source PHP
> scripts that use IP Geolocation?
> -Original Message-
> From: Tana [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 29, 2007 1:02 PM
> To: php-general@lists.php.net
> Subject: [PHP] link on user uploaded pic
>
> Hi
>
> which is the best way to change this code
>
>
>
> to
>
>src="images/user_upload/akarmi.jpg">
> -Original Message-
> From: Brad Fuller [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 29, 2007 1:24 PM
> To: 'Tana'; php-general@lists.php.net
> Subject: RE: [PHP] link on user uploaded pic
>
> > -Original Message-
> > From: Tana [mai
Rahul Sitaram Johari wrote:
Ave,
I have a script where I have to provide a Download Link to a file associated
with a record. The common thing between the record & filename is the phone
number. But the filenames have dates & other symbols besides the phone
number as well. They all do begin with a
nks.
On 3/29/07 3:22 PM, "Brad Bonkoski" <[EMAIL PROTECTED]> wrote:
I'm sure there are many options...
I'm also assuming you are pulling from a file system and not a database...
So, loop through the directory and do something like this:
$phone_num = XXX
$cur_file =
CK wrote:
Hi All,
Experimenting with OOP PHP,please be gentle. Attempting to output a
form within a class:
From calculator.php:
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
http://www.w3.org/1999/xhtml";>
Calculator OOP PHP
From class.calculator.php:
buildInt();
}
revDAVE wrote:
I apologize in advance, however I know almost nothing about PHP - ( but I am
trying to learn now)...
I am wondering if it is possible to create a PHP page that can:
1 - Get the contents of everything in its own folder at the same level (
just list sub folders filenames - not the
marcelo Wolfgang wrote:
Hi all,
I'm new to this list and new to php programming so sorry if I do
something wrong here :)
Ok, now to my problem.
I've created a query to update a mysql db, and it isn't working, and
it's not throwing me any errors, so I need some help to figure out
what's wro
arbitrary
attributes in the HTML tag
Test it with the following examples:
Continue
Continue
http://example.com/path/to/url.html"; class="link">Continue
http://example.com/path/to/url.html";
onlick="someFunction('foo','bar')">Continu
On Fri, Oct 23, 2009 at 1:28 PM, Ashley Sheridan
wrote:
> On Fri, 2009-10-23 at 13:23 -0400, Brad Fuller wrote:
>
> I'm looking for a regular expression to accomplish a specific task.
>
> I'm hoping someone who's really good at regex patterns can lend a quick ha
On Fri, Oct 23, 2009 at 1:48 PM, Ashley Sheridan
wrote:
> On Fri, 2009-10-23 at 13:45 -0400, Brad Fuller wrote:
>
> On Fri, Oct 23, 2009 at 1:28 PM, Ashley Sheridan
> wrote:
>
> > On Fri, 2009-10-23 at 13:23 -0400, Brad Fuller wrote:
> >
> > I'm looking fo
On Fri, Oct 23, 2009 at 1:54 PM, Israel Ekpo wrote:
>
>
> On Fri, Oct 23, 2009 at 1:48 PM, Ashley Sheridan
> wrote:
>>
>> On Fri, 2009-10-23 at 13:45 -0400, Brad Fuller wrote:
>>
>> > On Fri, Oct 23, 2009 at 1:28 PM, Ashley Sheridan
>> > wrote
One thing I would do, and I have done this in many of my applications:
a) Store the username / password in a database.
b) Encrypt passwords (with a salt) with AES-256 using a key stored in a
file OUTSIDE the document path.
c) Add code to the beginning of the included file to ensure it is
o them by the calling code.
I have thought of a method which simply makes a copy of all the parameters
for each listener within call_action(), however what I would really love is
a function which returns whether or not the supplied variable is available
in multiple scopes or is in the original scope which it was initialized in.
Does anyone know of a way to achieve this?
Regards,
Brad
Perhaps my question was not as succinct as it could have been.
Basically, can you think of a means through which to detect whether or not a
variable is currently present in multiple scopes.
IE:
On Tue, Feb 1, 2011 at 7:12 PM, Tommy Pham wrote:
> > -Original Message-
> >
Hmm, would this then be a question for internals?
On Wed, Feb 2, 2011 at 9:59 AM, Ashley Sheridan
wrote:
> "Brad Lorge" wrote:
>
> >Perhaps my question was not as succinct as it could have been.
> >
> >Basically, can you think of a means through which to dete
Essentially, they all require Flash or Java...
Most use Flash...
If you want one that is in Java, and is scriptable in JavaScript, I have one
on my website: http://www.bbroerman.net/code.html
-Brad
-Original Message-
From: Floyd Resler [mailto:fres...@adex-intl.com]
Sent
seful!
Regards,
Brad
currently structured.
--Brad
[ Yes, this is based on the layout of Linus' original post to
comp.os.minix. ]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
401 - 500 of 771 matches
Mail list logo