On 06/04/2012 12:48 PM, Matijn Woudt wrote:
On Mon, Jun 4, 2012 at 8:38 PM, jasjason.ger...@gmail.com wrote:
On 06/04/2012 11:33 AM, Matijn Woudt wrote:
On Mon, Jun 4, 2012 at 6:54 PM, jasjason.ger...@gmail.comwrote:
Not sure if this is a bug or not...
I have run into an error when
On 06/05/2012 05:40 AM, Matijn Woudt wrote:
On Tue, Jun 5, 2012 at 1:07 PM, jasjason.ger...@gmail.com wrote:
On 06/04/2012 12:48 PM, Matijn Woudt wrote:
On Mon, Jun 4, 2012 at 8:38 PM, jasjason.ger...@gmail.comwrote:
On 06/04/2012 11:33 AM, Matijn Woudt wrote:
On Mon, Jun 4, 2012 at
Not sure if this is a bug or not...
I have run into an error when performing a conditional using iplong()
and the ~ bitwise operator
$ip = '0.0.0.0';
$mask = '24';
$end = (ip2long($ip) || (~ip2long($mask))) + 1;
PHP Fatal error: Unsupported operand types
I even tried to typecast the mask
On 06/04/2012 11:33 AM, Matijn Woudt wrote:
On Mon, Jun 4, 2012 at 6:54 PM, jasjason.ger...@gmail.com wrote:
Not sure if this is a bug or not...
I have run into an error when performing a conditional using iplong() and
the ~ bitwise operator
$ip = '0.0.0.0';
$mask = '24';
$end =
On 05/23/2012 02:00 PM, Matijn Woudt wrote:
On Wed, May 23, 2012 at 9:42 PM, Jason Gerfenjason.ger...@utah.edu wrote:
On 05/23/2012 01:26 PM, Matijn Woudt wrote:
On Wed, May 23, 2012 at 9:12 PM, Jason Gerfenjason.ger...@utah.edu
wrote:
On 05/23/2012 01:05 PM, Matijn Woudt wrote:
On
I have run into a problem that I am altogether unfamiliar with.
A scenario. I retrieve a users private key from a database.
I then use the openssl_pkey_get_private() function to load it as a
resource object and proceed to call the openssl_sign() function to
obtain a digital signature of a
I am familiar with typecasting. Booleans, ints, strings, etc.
However while using an extension, more specifically the OpenSSL
extension I have come across a problem I am not entirely familiar with.
I have an array that looks like...
array('config' = 'config/openssl.cnf',
Ok I am having problems with a command I would like to execute through PHP.
I have tried simple backtick operators on the command, passthru, exec,
system all with the same results of 0 return code.
Here is an example of the command I am attempting to execute if someone
could provide me with
Well if you have the GD libs installed you could do something with
imagecreatefromjpeg() and just send a header with the following before
the page is displayed. header(Content-Type: image/jpeg);
Kevin Murphy wrote:
Hello all,
Following up with my success last week with putting downloadable
Found the problem. I had a typo on my conditional statement.
if( $fix-ValArray( $_POST['add_order_items'] === -1 ) ) {
$errors['add_order_array'] = $erlink;
}
Should have been:
if( $fix-ValArray( $_POST['add_order_items'] ) === -1 ) {
$errors['add_order_array'] = $erlink;
}
My eyes need to be
I am not sure what the heck is going with this but here is my problem.
I am trying to validate the contents of an array, then determine if the
errors are with the array or another form submitted variable.
The problem is after the code validates the array and other form
variables using an if
these actions?
Thanks in advance,
Jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
/path/to/log');
print = textarea$tailed/textarea;
?
Thanks in advance,
Jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
and replaced it with a -n 600 (for six
hundred lines to be output) and it still wont place the $tailed var into
the textarea. It will output to the screen but not to the textarea, I
am just going to scrap it and try it a different way.
Cheers,
Jas
Jay Blanchard wrote:
[snip]
It is now
]); }
Is there something special I have to do to get variables out of an array
for use here? I have used $user = name; and called stuff like
@mysql_connect($name); and it has worked before, I think I am missing
something here.
TIA
Jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Jay Blanchard wrote:
[snip]
$cfg['hostname'] = www.server.com; // Server domain or ip address
$cfg['username'] = username;// Database user name
$cfg['password'] = password;// Database password
$cfg['bugemail'] = [EMAIL PROTECTED];
The do something like this:
function
So something like this?
function database_connection() {
global = $cfg['hostname'],$cfg['username'],$cfg['password'];
@mysql_connect($cfg['hostname'],$cfg['username'],$cfg['password']);
@mysql_select_database($cfg['database']); }
Or could I do an entire array like so...
function
-9a-zA-Z]{1,40}$,$_POST['input'])
Any help is appreciated, right now anything with a space, period, comma
etc gets flagged.
Jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
/manual/en/features.file-upload.php
Just a thought, might not be a comlete solution however.
HTH
Jas
Axel Is Main wrote:
Guys, this isn't THAT stupid of a question is it? From my perspective,
the way PHP seems to see it is that I should already know what kind of
file I'm looking at. In most cases
are there any sess_99898... files?
5. Did you post any examples of your code so we can help pinpoint the
exact problem?
HTH
Jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
it working and even longer to
figure out how it worked. Good luck,
Jas
Craig wrote:
Hi all,
I am truly hoping that someone can help with this.
I am making the ecommerce site for a product that
I had nothing to do with the development of. =)
The product is making a licence file using the .net
3des
to unlink your variables once data has been passed through your cipher.
I would post your problem to the developers of the mcrypt app at
mcrypt.sourceforge.net, I have talked with the guys over there and have
always gotten help. I am sure they would want to know about this as well.
HTH
Jas
Craig
it keeps hanging.
HTH
Jas
Bryan Simmons wrote:
I'm using php 4.3.4 as a loadable module for Apache2
on a Redhat box.
It works for the most part except that for about every
5th page that is
requested, the server hangs. It always finishes the
process and the
page but it hangs for like 5 minutes
Adam Williams wrote:
Hi, is there a way to authenticate a username/password someone enters in a
form with what is in /etc/passwd?
Thanks!
Yep, do a search on .htaccess from http://google.com
Cheers,
jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
is already installed simple do a find
find / | grep libmcrypt
from a command prompt to find the libraries, if you cannot find it them
install it, or just re-compile php to include support.
Hope this helps, it took me awhile to figure it out too.
Jas
--
PHP General Mailing List (http://www.php.net
get the idea, you may to need to Google around for the various
credit card types and how the need them to be formatted, and my regular
expressions may need to be adjusted as I have not tested them out. But
that is just an example of how you would accomplish your goal.
HTH
Jas
--
PHP General
each block of 2 characters is followed by a : and repreated in 6 blocks.
Jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Adam Bregenzer wrote:
On Mon, 2004-02-02 at 14:15, Jas wrote:
I have tried this but its not working.
!eregi(^[0-9a-fA-F]{2}\:[0-9a-fA-F]{2}\:[0-9a-fA-F]{2}\:[0-9a-fA-F]{2}\:[0-9a-fA-F]{2}\:[0-9a-fA-F]{2}$,$_POST['mac'])
so it should match 2 characters 0-9a-fA-F
each block of 2 characters
filled out...
HTH
Jas
if ($firstname = )
$message = Please enter your first name.;
else
if ($lastname = )
$message = Please enter your last name.;
else
if ($homephone = )
$message = Please enter your home phone number.;
else
if ($address = )
$message = Please enter your current home
prior to 4.x
echo $HTTP_SESSION_VARS['variablename'];
4.x and later
echo $_SESSION['variablename'];
Double check the path in PHP.INI then look at the permissions of that
folder and make sure the IIS user can write to it, I think it is
IUSER_WIN2k or something.
HTH
Jas
Jeff McKeon wrote:
Further
Man, you really are a card Erik.
Fellow manual reader,
Jas
[EMAIL PROTECTED] wrote:
Hello Patrick,
I have good news and even better news for you. The good news is that you can make all
your form-related woes disappear in less than a day. The even better news is that
everything you need
to
the current exim binary, and call the mail() function from php.
tried to do a system() to the exim binary as well as
exec(/path/to/exim -io -T, $msg)
All with no luck, could anyone give me an example of how to accomplish this?
Jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Well in that case do a dump_vars($_session[],$_session[]) for each
session variable you register and see if anything is listed.
Jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
John Nichel wrote:
Chris W. Parker wrote:
C'mon dude. Some of use are on dialup (not me now, but when I get home)
and that email REALLY needed to be trimmed.
Chris.
I remember back in the day
We used to do stuff like this.
To
it.
*
MCRYPT_MODE_NOFB (output feedback, in nbit) is comparable to OFB,
but more secure because it operates on the block size of the algorithm.
*
MCRYPT_MODE_STREAM is an extra mode to include some stream
algorithms like WAKE or RC4.
HTH
Jas
--
PHP General Mailing List (http://www.php.net
, php and exim's websites and have not found an example
of how to accomplish this.
Thanks,
jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Brent Baisley wrote:
Look at SquirrelMail. It's an open source PHP web front end to a mail
system. You can look at the source code and see how they do things.
On Jan 28, 2004, at 4:44 PM, Jas wrote:
Not sure if anyone has run into this and I have only found methods of
managing users
holes.
Hope this helps, let me know if it doesn't or if you don't have
dedicated hosting.
Jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Murray @ Planetthoughtful.Org wrote:
Hi All,
I'm trying to implement encryption on certain data fields in my MySQL database and I'm experiencing ongoing problems.
I seem to be able to encrypt the data without issues, but can't figure out how to decrypt the data.
My field in my test
Jas wrote:
Murray @ Planetthoughtful.Org wrote:
Hi All,
I'm trying to implement encryption on certain data fields in my MySQL
database and I'm experiencing ongoing problems.
I seem to be able to encrypt the data without issues, but can't figure
out how to decrypt the data.
My field
http://us4.php.net/manual/en/function.var-dump.php
HTH
Jas
Jake McHenry wrote:
Is there some global variable container that I can print_r out to show me all the variables that are being used on a page? In my efforts of converting from globals over to sessions, I've been getting a little mis
/manual/en/ref.url.php
crypt()
http://us2.php.net/manual/en/function.crypt.php
mcrypt() - Must have packages installed, but works very well
http://us2.php.net/manual/en/ref.mcrypt.php
openssl() - Also must have packages installed
http://us2.php.net/manual/en/ref.openssl.php
Hope this helps...
Jas
--
PHP
restart a service.
just 2 cents
Jas
Ammar Ibrahim wrote:
maybe if you put Call1 and Call2 in seprate PHP files, and you call both of
them. i guess it would work
Ammar
John Clegg [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi
I would like to be able to execute 2 system calls
++) {
$result = system(ping $network[$i])
if($result != ) {
echo host $network[$i] responded; }
}
HTH
Jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
]
$_POST[var02]; }
echo $form;
?
Jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jason Wong wrote:
On Tuesday 13 January 2004 06:46, Jas wrote:
[Please trim your posts!]
Just tried that and I am getting the same error. I guess what I am
really looking for is a way to have apache restart the service without
adding the apache user in the 'sudoers' file.
If you
this service please point me to the tutorial Thanks a ton.
Jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jake McHenry wrote:
- Original Message -
From: Jas [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 12, 2004 4:47 PM
Subject: [PHP] permissions with bash scripts in php?
Something I have never tried... seems fairly straight-forward but I am
running into problems.
My
files into the directory and
delete files form the directory using the 'unlink()' command but the
rename function I am having problems with.
Jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$subbrnetmask $msk {broption domain-name-servers
$dns01, $dns02;broption routers $rtrs;brrange $rnge;br}br; }
}
// Write everything out formated...
echo $vlans[$z]br /\n;
Right now it only pulling the last record???
Jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
something to do with the naming or values of the
checkboxes but if someone could shed some light on it that would be great.
jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
;
fixed-address 155.97.15.11;
}
Any help is appreciated...
Jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Not sure why the last section won't work...
/* Function to search for hosts */
function search_dhcp() {
if ((empty($_POST['search'])) (empty($_POST['hosts01']))
(empty($_POST['hn'])) (empty($_POST['ma'])) (empty($_POST['i']))
(empty($_POST['v']))) {
unset($_SESSION['search']);
Not sure why it isn't checking my post vars correctly... any help is
appreciated.
Thanks in advance Jas
while($a = mysql_fetch_array($x)) {
list($_SESSION['id01'],$hn,$ma,$i,$v) = $a; }
$_SESSION['search'] = ...new form with listed vars...;
} elseif ((empty($_POST['hosts01'])) (empty($_POST
Jas
Haseeb Iqbal wrote:
how can i do that?
btw the script runs on a local machine but updates the records on a
webserver i mean live server. this is also a factor for the timeout. the
script was running smoothly for 24000 recods before but now it suddenly
timeout after 800records. i dont know what
session_start();
$_SESSION['auth'] = base64_encode(1); //encoded var to deter session
hijacking
} else {
header(location: login.html); }
?
Hope this helps a bit... more info on stuff like this is available at
google.com. =)
Jas
Thomas Andersen wrote:
Hello,
I'm trying to develop a secure web based
content=2; URL=mypage.php?nLoopStart=?=$nLoopStart;?
?
}
else
{
// all records updated so redirst to calling page.
?
meta http-equiv=Refresh content=2; URL=main.php?nStatus=1
?
}
?
Haseeb
That might help out with the timeouts too.
Jas
--
PHP General Mailing List (http://www.php.net
(!empty($_POST['variable_001']) {
// Do positive result code
...
Or if it the name of the actual form you want try setting a hidden
field with the same name as the form.
ex.
form name=form_001 action=nextpage.php
input type=hidden name=form_001 value=form_001
HTH
Jas
Php wrote:
Hi,
If I have more
Let me know if that solves your problem if you would be so kind... I am
sure it will but I just want to make sure.
Jas
Jas wrote:
Have you tried setting a limit on your MySQL insert and update
statements to limit the amount trying to be processed?
Haseeb Iqbal wrote:
hi,
i need to update
it works except when selecting an item from the select box
it will only display the first form when there are $_post vars present.
I think I am missing something, could someone look over my code?
Thanks in advance,
Jas
function vlans_dhcp() {
$lvl = base64_decode($_SESSION['lvl']);
if ($lvl
Well have you thought about maybe an array of illegal or extended
characters and simply replacing them?
eg.
$b = $_POST['whatever_variables_you_have'];
$match = array(ö,ç,ä);
$replace = array(o,c,a);
$z = str_replace($match,$replace,$b);
Might not be exactly what you want but hope it helps.
Jas
Sven wrote:
Jas schrieb:
For some reason this will not work... my $_POST variables check for no
form variables and display a form... if they choose an item from a
select box it queries the database for a field matching the $_post var
and builds a new form creating 8 separate $_post variables
(uniqid(microtime($rand_image),1));
}
echo $hash;
?
[end snippit]
Hope that helps some...
Jas
Ryan A wrote:
Hi,
I am making a personal project like so:
I enter something in the text box (eg. PHP REALLY ROCKS!!!)
then the program checks if that string already exists in the database
information on the different options available for your ./configure.
HTH
Jas
Ivone Uribe wrote:
Hi all!
I'm installing php4.3.3, apache 1.3.28 with
mysql3.22.32
I'm using this option --with-mysql=/usr/local/mysql
But when I compile the php code, I get this error:
ext/mysql/php_mysql.o: In function
New set of eyes maybe or maybe I am indeed regressing...
Page calling functions looks like such...
?php
require 'sessions.php';
require 'inc.php';
if (($_SESSION['user'] == ) || ($_SESSION['pass'] == ) ||
($_SESSION['lvl'] == )) {
$_SESSION['msg_01'] = You have not entered the correct
LMAO, I am in concordance.
Jas
Ryan A wrote:
One wonders how two retards got together to give birth to a bigger retard
like you.
Hi,
I am a bit puzzled here, I have to wipe my a$$ after
taking a $hit...but I have to wipe while i'm on the
toilet!
My usual way is to stand up and do it.
I
on using numbers instead
of names for my session vars.
Jas
Chris W. Parker wrote:
Jas mailto:[EMAIL PROTECTED]
on Wednesday, December 10, 2003 3:44 PM said:
having no idea you could use numbers as session variable names I kinda
feel like a retard right now. You solution worked, thank you very
Can we get the code posted so we know what is going on?
Sometimes there are a dozen different ways to accomplish the same
objective and looking at what your code is doing may assist us in
assisting you.
Jas
Taualex wrote:
Hello!
I'm having a problem with my php script on my linux web server
works better for this page. Thanks again.
Jas
Chris W. Parker wrote:
Jas mailto:[EMAIL PROTECTED]
on Thursday, December 11, 2003 7:21 AM said:
Well just so you understand why I needed something like that here is
the finished result below
[snip]
$i = 0;
while(list(...) = mysql_fetch_row
Well have you tried to define one function to include the for all
variables that require mt_rand()?
Jas
Brent Baisley wrote:
Personally, I wouldn't worry about it unless it is actually interfering
with other processes. The OS will give any process or thread 100% of the
CPU if there is nothing
then listing the contents of the array (with new
values) it might improve cpu performance but then again. I am still
fairly new to php.
Jas
Jas wrote:
Well have you tried to define one function to include the for all
variables that require mt_rand()?
Jas
Brent Baisley wrote:
Personally, I
var
then just write a function to look on the users machine for a cookie
from your site with auth=1, then if you see that present simply
authenticate the user.
HTH
Jas
Evan Nemerson wrote:
On Thursday 11 December 2003 04:17 pm, ROBERT MCPEAK wrote:
I've dug around quite a bit and can't figure
) =
mysql_fetch_row($sql_subs)) {
$_session['something to automaticly increment session var'] =
$sub+$msk+$dns01...
}
I have been scouring the various functions and as of yet have yet to
accomplish what I need. Any help would be great.
Thanks in advance,
jas
--
PHP General Mailing List (http://www.php.net
having no idea you could use numbers as session variable names I kinda
feel like a retard right now. You solution worked, thank you very much.
Jas
Chris W. Parker wrote:
Jas mailto:[EMAIL PROTECTED]
on Wednesday, December 10, 2003 3:21 PM said:
while(list($id,$sub,$msk,$dns01,$dns02,$rtrs
here.
http://www.webopedia.com/TERM/S/SSL.html
Hope this helps
Jas
Chris Mach wrote:
Greetings,
I'm working on a project that involves a password protected area of a
website. Some one also involved brought up the point that this area should
be secure (Whit the lock icon indicating it is encrypted
($v) = explode(},$ar); }
print_r($v); }
I am hoping to get something like
array([0]=first row of data[1]=second row of data)
Any help would be great...
Jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
such as a
eregi statement, explode etc. and so far explode has done what i need it
to by separating one db entry into multiple components for editing.
Jas
David Otton wrote:
On Sat, 06 Dec 2003 11:38:18 -0700, you wrote:
I think I am loosing my mind this afternoon... could someone review
this:
Array ( [0] = Array ( [0] = Array ) ) 1Array
So it sees 1 array and inside are two indexes both containing a new
array... now I need to know how to pull the contents out of the second
arrays.
Sorry, still trying to figure out arrays.
Jas
--
PHP General Mailing List (http://www.php.net
, or maybe some insight into the various
characters used (besides the basic, ^, $, +, etc).
Thanks in advance.
Jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I call this function it checks a session variable then displays 1 of 3
menus... for some reason it will only display the first menu regardless
of the results of my decoded session var. Any help or just a new pair
of eyes would help. Thanks in advance.
jas
function menu() {
$lvl
Nevermind, I got it to work...
cheers
Jas wrote:
I call this function it checks a session variable then displays 1 of 3
menus... for some reason it will only display the first menu regardless
of the results of my decoded session var. Any help or just a new pair
of eyes would help. Thanks
,$vlan02,$hosts02,$vlan03,$hosts03,$vlan04,$hosts04,$vlan05,$hosts05,$vlan06,$hosts06,$vlan07,$hosts07,$vlan08,$hosts08,$vlan09,$hosts09,$vlan10,$hosts10))
// insert line break here
}
Any help with this would be appreciated
Jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
is appreciated...
Jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yeah I did that, sorry I just didn't note it in the snippit.. and it is
now working with the $_SESSION function, i just had to restart the
browser to clear the cache after updating the code.
jas
Pete M wrote:
need to issue a
session_start()
at top of page
Pete
Jas wrote:
Not sure why
I am at a loss here but doesn't $_SERVER['HTTP_HOST'] return the remote
computer name?
[Snippit used]
$ipaddy = $_SERVER['REMOTE_ADDR'];
$host = $_SERVER['HTTP_HOST']; // as of now it is getting the name of
the server (i.e. localhost, 168.2.2.1)
jas
--
PHP General Mailing List (http
Evan Nemerson wrote:
On Tuesday 18 November 2003 01:13 pm, Jas wrote:
Curt Zirzow wrote:
* Thus wrote Jas ([EMAIL PROTECTED]):
I am not sure if I should post my question here but I will anyways.
Ok, I have compiled the mcrypt libraries on a Redhat 9 box running
apache 2 with php4. And I need
Curt Zirzow wrote:
* Thus wrote Jas ([EMAIL PROTECTED]):
I am not sure if I should post my question here but I will anyways.
Ok, I have compiled the mcrypt libraries on a Redhat 9 box running
apache 2 with php4. And I need to know the next step(s) in getting php
to use the libmcrypt libraries
pointers (other than reading the manual) I would appreciate it.
Jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
For some reason my form to edit selected items is not working, I think I
need a new set of eyes.
Any help is appreciated...
Jas
// inc.php
function db_retrieve() {
require 'dbase.inc.php';
$tble = $_SESSION['table'];
$show = @mysql_query(SELECT * FROM $tble LIMIT 0, 15,$db)or
die(mysql_error
box
http://www.nsa.gov/snac/index.html // for windows and linux
HTH
Jas
Stephen Craton [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I'm not sure where he tried to find the ports that were open but I'd guess
from his apartment in Lafayette.
We have a hardware firewall protecting
I think I am just over looking something here, a new pair of eyes would be
useful. Thanks in advance.
The var $ipaddy is not getting passed to code listed below
/* Form for IP checking */
$table = cm_sessions;
$record = mysql_query(SELECT * FROM $table,$dbh);
while ($row =
Not sure why this isn't working, any help is appreciated. I am trying to
read the files in a directory and place them into an array. Here is the
code:
/* Function to create array of directory contents */
function dCNTS($files) {
$dir = opendir(/path/to/directory/);
while($imgs =
I got it fixed, thanks again. Just in case anyone else needs help with this
type of item look at readdir() at http://www.php.net
Jas
Jason Wong [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On Thursday 01 August 2002 03:00, Jas wrote:
Not sure why th
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
You forgot the session_start(); call. You will have to do that before you
can tap into registered vars. Hope that helps.
Jas
Alexander Ross [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I'm trying to understand sessions so I can set session variable
Just wondering if anyone has come across the need to develop a class to test
a string of numbers based on a credit card type. If you have where would I
be able to get information on what string of numbers is consistent with each
of the different credit cards? Any help would be appreciated!
Jas
So there is no way to use some sort of string comparison to check the number
then? I would have to have a merchant account? Sorry for being nieve, just
never tried to work with credit card numbers etc.
Jas
Kristopher Yates [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">new
Yeah, I have looked at that class file and I don't want someone elses
example to use, I want to build my own but have no way of knowing what makes
up a valid visa number etc
Jas
Richard Baskett [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Try this
problem is finding the correct way to check the seconds in php. Any help or
pointers is appreciated.
Jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a check on the session var (seconds) vs. the seconds var + 5*60 (or
5
J minutes) to time out the session and force the user to log back in. My
J problem is finding the correct way to check the seconds in php. Any
help or
J pointers is appreciated.
J Jas
time() will give you a UNIX timestamp. Use
1 - 100 of 178 matches
Mail list logo