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
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 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
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
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 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,
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
logging setup on each and every script which I have not included here
(different topic), just in case someone does get in I can at least "try" to
find them. Any help, pointers, tutorials, examples, etc. would be
appreciated!!!
TIA
Jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
including: creating a page that tries to include one of
the pages I have my security checks on from another website, linking
directly to a script within the application etc. In any event, I also have
logging setup on each and every script which I have not included here
(different topic), just in
I cannot believe that no one with alot of PHP and MySQL experience has not
replied to this post yet. Is PHP not a secure scripting language? I would
really like a little insight into this question, anyone?
"Jas" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]"&
ion list and it
will break it down alot better for you
HTH
Jas
"Marcos Lois BermúDez" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
A have two webs made in php, both uses a authentication based on session
suport.
I use in every page a
Ok, so you have pointed out an problem, now that you have been so kind to do
this could please recommend how to resolve this?
Thanks,
Jas
"Jay Blanchard" <[EMAIL PROTECTED]> wrote in message
002201c20d80$552be430$8102a8c0@niigziuo4ohhdt">news:002201c20d80$552be430
ow off" my code,
simply find ways to improve my existing ideas. Thanks again,
jas
"Jay Blanchard" <[EMAIL PROTECTED]> wrote in message
002301c20d82$444a6130$8102a8c0@niigziuo4ohhdt">news:002301c20d82$444a6130$8102a8c0@niigziuo4ohhdt...
> [snip]
> Ok, so you have
o not need some
script kiddie messing with the time and research I have put into making this
application. Any resources would be appreciated!
Jas
"Scott Hurring" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> No language is "secure&
to this effect, and if so could you give
me the names of the functions you used to get said properties?
TIA
Jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
let me know where I can do some good research on this subject. Thanks in
advance,
Jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
It also has support for snippits, or a code library that you can add, edit
or delete. Saves alot of time in re-using code. I definately recommend it,
not only for that reason for but for the code debugging options available.
HTH
Jas
"John Holmes" <[EMAIL PROTECTED]>
What is the best function or operator to compare two text strings being
inputted by a text field within a form? Any help is appreciated.
Thanks in advance,
Jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
http://www.adobe.com/products/premiere/demodnld.html#win
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello all,
I have a parse error and I am not sure why, I think my eyes are giving up on
me, or its a friday. Any help is appreciated.
// just trying to compare the session var $date to timeout if older than 5
minutes
[snippit]
/* Begin Session and register timeout, random image & client info vari
I am wondering how we can get a newsgroup for security type of things, with
either php, mysql or apache... To be honest I am interested in the php
security newsgroup the most being as there is for the following two
applications. How can one ask a moderator about that type of newsgroup?
Jas
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
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
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> $
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
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
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
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
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
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
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 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 in
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
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
{
$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
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
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.
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
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,
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
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
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
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
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
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
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
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
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']);
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
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
= "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))]; }
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
/ 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. =
='$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
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
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
.
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
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 ((
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 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']);
;;
} 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
$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/
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
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
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
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
f it helps.
";
} elseif((!empty($_POST['var01'])) || (!empty($_POST['var02']))) {
$form = "
";
} else {
$form = "$_POST[var01]
$_POST[var02]"; }
echo $form;
?>
Jas
--
PHP General Mail
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
/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
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
done
quite a bit of research on php.net on both the session() and the setcookie()
functions. =) Thanks again. Jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrato
to
web users. I hope this helps, let me know if you get stuck or dont
understand something k?
Jas
"Spamsucks86" <[EMAIL PROTECTED]> wrote in message
000601c1a468$9c9c2f40$7f523944@cc1966780a">news:000601c1a468$9c9c2f40$7f523944@cc1966780a...
> With apache, you can
info so I may begin
incorporating this into my scripts.
Thanks in advance...
Jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
directly then it would redirect the user to the index.php page?
Thanks in advance...
Jas
P.S. A tutorial on this would definately prevent me from posting the same
question again. =)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I feel kinda dumb for posting this but here it is... I am trying to query a
table then format the results so it looks like the rest of the site and the
darn delete button to remove db entries keeps showing up at the top. Here
is the code... Thanks in advance.
Jas
Current
Inventory";
$count
I must be doing something wrong, for that solution did not work.
"Robert Cummings" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> jas wrote:
> >
> > // second selection for main image on main page
> > $dir_
If you look on php.net and run a search on ereg() you will find examples on
how to use regex. Your string would look like this:
ereg('[a-z][A-Z][0-9]{7}')
With your special characters I am not sure how that would work but check out
php.net.
hth
Jas
--
PHP General Mailing
How can I delete a file in php?
thanks in advance,
Jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am wondering if any one has a good idea on how to do checking based on a
files extension, what I am trying to accomplish is to be able to upload
files to a webserver however I only want to have .jpg files uploaded. If
anyone has a good way to do this please share.
Thanks in advance,
Jas
Nevermind... =)
"Jas" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am wondering if any one has a good idea on how to do checking based on a
> files extension, what I am trying to accomplish is to be able to upload
> files t
nsion should be
// Also the directory in question needs permissions set to 755 for it to
work.
"Michael Andersson" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Maybe you want to share with the rest of us, or at least me how you did
it?
Could you explain that a little more?
thanks,
Jas
"Miguel Cruz" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Not sure what you're tring to achieve, but that only checks the file's
> name. You might want to use file
Ok, I understand how it works at least, however I am not familiar enough
with unix systems to know how to effectively use that command. Could you
give me an example in code so I can mess around with it?
Thanks again,
Jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
would be
great.
Thanks in advance,
Jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
data to a text file, how can one verify that someone is not just typing in
the name of the last page and therefore inserting a blank entry into the
text file? Any help would be great.
Thanks in advance,
jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
to work, any help or pointers would be great. Thanks in advance,
jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This is a simple problem but for some reason it is eluding me...
I have a form that has text fields and check boxes, the function checks the
form, counts words, strips the slashes, then based on the number of words
and number of checkboxes selected calculates a cost... I have added 4 new
checkboxe
any other checking with out that. Please help, good tutorials on this are
very appreciated!
Thanks in advance,
Jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ok I think I am a little confused as to if this is working or not: I have
commented in the places where I am confused... if someone could please point
out why the variables "u_name & p_word" are not being registered that would
help me out a ton... thanks in advance,
Jas
--- Form
;
while ($file_name = readdir($dir)) {
if (($file_name != ".") && ($file_name !="..")) {
$file_list .= "$file_name";
}
}
$file_list .= "";
closedir($dir);
HTH
Jas
"Ashley M. Kirchner" <[EMAIL PROTECTED]> wrote in message
[EMAIL
I can get the variables I have registered to pass from the login form to the
login check, and from there it seems to drop the session variable I
registered. Any pointers would be great!
Thanks in advance,
Jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
is is line 13 that is my error
generator
}
This is the code for the db.php script:
Any help would be great! I am assuming there is another way to redirect
users besides the header function, just not sure what it is or how to use
it. Thanks in advance,
Jas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
That worked, I had about 3 blank lines trailing my ?>. Thanks a ton!
Jas
"Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> What is on line 6 of the db.php file? Do you have a stray carriage return
> at the end
readdir();
search for that and you should find what you need.
HTH
Jas
"Hawk" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Is there some var that does this automaticly? I don't really know what to
> search for on php.net.
I am trying to register an array containing file types, htm, jpg, jpeg, gif
and pdf. I think I am missing something, if someone could look at this and
tell me what I am doing wrong that would be awesome, thanks in advance.
jas
"1",
".jpg"=>"2",
I don't think I am using the syntax correctly, I have been looking at this
function on php.net and everything I have seen says my code should be
working.
A form allows the user to upload a file:
Resulting file (upload_done.php):
And here is my error:
Warning: Wrong datatype for first arg
1 - 100 of 183 matches
Mail list logo