On 06/05/2012 05:40 AM, Matijn Woudt wrote:
On Tue, Jun 5, 2012 at 1:07 PM, jas wrote:
On 06/04/2012 12:48 PM, Matijn Woudt wrote:
On Mon, Jun 4, 2012 at 8:38 PM, jaswrote:
On 06/04/2012 11:33 AM, Matijn Woudt wrote:
On Mon, Jun 4, 2012 at 6:54 PM, jas wrote:
Not sure if
On 06/04/2012 12:48 PM, Matijn Woudt wrote:
On Mon, Jun 4, 2012 at 8:38 PM, jas wrote:
On 06/04/2012 11:33 AM, Matijn Woudt wrote:
On Mon, Jun 4, 2012 at 6:54 PM, jaswrote:
Not sure if this is a bug or not...
I have run into an error when performing a conditional using iplong() and
On 06/04/2012 11:33 AM, Matijn Woudt wrote:
On Mon, Jun 4, 2012 at 6:54 PM, jas 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 = (ip2long($ip
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 t
On 05/23/2012 02:00 PM, Matijn Woudt wrote:
On Wed, May 23, 2012 at 9:42 PM, Jason Gerfen wrote:
On 05/23/2012 01:26 PM, Matijn Woudt wrote:
On Wed, May 23, 2012 at 9:12 PM, Jason Gerfen
wrote:
On 05/23/2012 01:05 PM, Matijn Woudt wrote:
On Wed, May 23, 2012 at 8:29 PM, jas wrote
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 stri
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',
'e
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 s
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 downloadabl
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 b
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 state
help me or point me in a better direction for performing
these actions?
Thanks in advance,
Jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-f 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.
Anyone know what this wouldn't work? I have tried using a couple of
functions defined at http://us2.php.net/manual/en/ref.exec.php and none
seem to have the desired effect.
$tailed";
?>
Thanks in advance,
Jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
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 database_con
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 data
e],$cfg[username],$cfg[password]);
@mysql_select_database($cfg[database]); }
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
someth
t;^[0-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
an check for the mime types...
http://us4.php.net/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 k
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
unset()
call 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.
et 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
y 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 min
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
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/)
To unsubscribe
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 b
characters 0-9a-fA-F
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
-9]{16}$",$_POST['cc'])) || eregi("^[0-9{2}/+[0-9]{2})) {
echo "Your card is a Mastercard"; }
?>
You 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 b
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 t
th"] C:\\WINNT\\system32;C:\\WINNT;C:\\WINNT\\System32\\Wbem
_ENV["PATHEXT"] .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
_ENV["PATH_INFO"] /phpinfo.php
_ENV["PATH_TRANSLATED"] C:\\Inetpub\\wwwOpSupDev\\phpinfo.php
_ENV["PROCESSOR_ARCHITECTURE"] x86
_ENV["PROCESSOR_IDENTIFIER"] x86 Family 6 Model 8 Stepping 10,
GenuineIntel
_ENV["PROCESSOR_LEVEL"] 6
_ENV["PROCESSOR_REVISION"] 080a
_ENV["ProgramFiles"] C:\\Program Files
_ENV["REMOTE_ADDR"] 10.16.2.55
_ENV["REMOTE_HOST"] 10.16.2.55
_ENV["REQUEST_METHOD"] GET
_ENV["SCRIPT_NAME"] /phpinfo.php
_ENV["SERVER_NAME"] opsup_dev.telaurus.net
_ENV["SERVER_PORT"] 80
_ENV["SERVER_PORT_SECURE"] 0
_ENV["SERVER_PROTOCOL"] HTTP/1.1
_ENV["SERVER_SOFTWARE"] Microsoft-IIS/5.0
_ENV["SystemDrive"] C:
_ENV["SystemRoot"] C:\\WINNT
_ENV["TEMP"] C:\\WINNT\\TEMP
_ENV["TMP"] C:\\WINNT\\TEMP
_ENV["USERPROFILE"] C:\\Documents and Settings\\NetShowServices
_ENV["windir"] C:\\WINNT
Jeff McKeon
IT Manager
Telaurus Communications LLC
[EMAIL PROTECTED]
(973) 889-8990 ex 209
***The information contained in this communication is confidential. It
is intended only for the sole use of the recipient named above and may
be legally privileged. If the reader of this message is not the
intended recipient, you are hereby notified that any dissemination,
distribution
or copying of this communication, or any of its contents or
attachments,
is expressly prohibited. If you have received this communication in
error, please re-send it to the sender and delete the
original message,
and any copy of it, from your computer system. Thank You.***
--
PHP General 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://www.php.net/unsub.php
ts 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/)
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
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 Mc
t combine them all like so...
if((empty($_POST["$firstname"]) || (emtpy($_POST["$lastname"])) || ... {
$message = "nothing filled out...
HTH
Jas
if ($firstname <= "")
$message = "Please enter your first name.";
else
if ($lastname <= "&qu
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
oogle, 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
it is not
recommended to use 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 Mail
shell script checks to see if a temporary file is present
and if it is executes the command on the server as the root user. No
privledge escalation 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
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 littl
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 dat
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 tabl
it should 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
/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
etc...);
for($i = 0; $i > $network; $i++) {
$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
f it helps.
";
} elseif((!empty($_POST['var01'])) || (!empty($_POST['var02']))) {
$form = "
";
} else {
$form = "$_POST[var01]
$_POST[var02]"; }
echo $form;
?>
Jas
--
PHP General Mail
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
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
run
good tips on what would be the most efficient & SECURE way of
starting 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
ent user (test_user)... I can write 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
$num; $z++) {
$vlans[] = "subnet $subnetmask $msk {option domain-name-servers
$dns01, $dns02;option routers $rtrs;range $rnge;}"; }
}
// Write everything out formated...
echo $vlans[$z]\n;
Right now it only pulling the last record???
Jas
--
PHP General Mailing List (http://www.php.net/
;;
} else {
unset($_SESSION['details']);
$_SESSION['details'] = " You must select an access log(s)
to view the details of."; }
?>
I think it has 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
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']);
ost MTPC-01 {
hardware ethernet 00:02:B3:A2:9D:ED;
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 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 ((
.
HTH
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
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 a
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.
HTH
Jas
Php wrote:
Hi,
If I have more than one form on a page, how can I get the
name of the form that was sent on the recieving page
without
='$PART_NUM',products.desc='$DESCR',COST='$COST',retail='$RETAIL',qty='$QTY',list_price='$LIST_PRICE',eff_date='$EFF_DATE',tech_fax='$TECH_FAX',status='$STATUS',upc='$UPC'
WHERE grp='&quo
/ if a match is found do the rest of the code
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. =
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: I
= "shared/image03.jpg";
$x++; $rand_image[$x] = "shared/image04.jpg";
/* Randomly select image to encrypt and use as session variable */
function random_image() {
global $rand_image;
srand ((double) microtime() * 100);
print $rand_image[rand(1,sizeof($rand_image))]; }
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
e($match,$replace,$b);
Might not be exactly what you want but hope it helps.
Jas
Jswalter wrote:
I've hit my limit on regular expressions.
I need to check a string to see if it contains legal characters...
A thru Z [a-z], SPACE, PERIOD, DASH/HYPHEN, APOSTROPHE [\' -,\.]
OK, this is
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']);
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 i
New set of eyes maybe or maybe I am indeed regressing...
Page calling functions looks like such...
require 'sessions.php';
require 'inc.php';
if (($_SESSION['user'] == "") || ($_SESSION['pass'] == "") ||
($_SESSION['lvl'] == "")) {
$_SESSION['msg_01'] = "You have not entered the correct authori
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
hen 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 would
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 no
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
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 s
0 {
option domain-name-servers 128.110.22.4, 128.110.29.3;
option routers 128.110.22.1;
range ;
}
Which allows for easy reading of configuration variables and the ability
to modify the individual vars using a form etc.
Thanks again for all who gave me some pointers on using numbers instead
of names for my se
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,
ist($id,$sub,$msk,$dns01,$dns02,$rtrs,$rnge) =
mysql_fetch_row($sql_subs)) {
$_session[''] =
"$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/)
To unsubscribe, visit: http://www.php.net/unsub.php
m;
for ($x = 0; $x < $num; $x++) {
print "$result[$x]\n"; }
?>
On data in "one" field that looks like:
host dhcp-01 {
hardware ethernet 00:D0:B7:BD:D2:8D;
fixed-address 155.97.1.190;
}
host dhcp-02 {
hardware ethernet 00:02:B3:A2:B6:FD;
fixed-address 155.97.1.
t; => "00:02:B3:A2:B6:FD",
"6" => ";",
etc...
I hope this clarifies my problem. I have tried a few things 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 c
{
$v = array();
list($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
n be found 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 i
help would be great, 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
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 in
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
te,$user,$level,$global,$vlan01,$hosts01,$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 L
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
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
x27;date']; //This is not showing up in browser?
Any help is appreciated...
Jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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, 1
and tools to help secure
your 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 apartme
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 = mysql_fetch_a
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,
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 = readdir($d
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; }
/* Che
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 PROTECT
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:[E
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
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 s
so using time() will work
better. Thanks a ton.
Jas
"Asmodean" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> J> I am not able to test from this machine so please tell me if I am right
or
> J> wrong on this:
> J> $
the seconds and register them in a session var,
then
> J> do 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 p
1 - 100 of 183 matches
Mail list logo