Search Results

Showing results 1 to 40 of 160
Search took 0.05 seconds.
Search: Posts Made By: w_3rabi
Forum: PHP Aug 2nd, 2009
Replies: 6
Views: 7,115
Posted By w_3rabi
try this one

<?php
$allowed_age = 19;
$bdate = strtotime($_REQUEST['y'].'-'.$_REQUEST['m']."-".$_REQUEST['d']);
$age = (time()-$bdate)/31536000;
if($age >= $allowed_age) {
header('Location:...
Forum: PHP Sep 13th, 2008
Replies: 1
Views: 468
Posted By w_3rabi
http://php.net/curl
is a good place to start
Forum: PHP Aug 13th, 2008
Replies: 3
Views: 723
Posted By w_3rabi
try using
system ( string command [, int return_var])
Forum: PHP Apr 23rd, 2008
Replies: 4
Views: 2,400
Posted By w_3rabi
you can use a php file in the url instead of the real pdf name.
this file should check the owner of the file then
prints the contents of the file (echo)
with the apropriate...
Forum: PHP Apr 2nd, 2008
Replies: 4
Views: 767
Posted By w_3rabi
Forum: PHP Mar 31st, 2008
Replies: 9
Views: 799
Posted By w_3rabi
try printing the sql statement before executing it
that could help u
Forum: PHP Mar 31st, 2008
Replies: 2
Views: 440
Posted By w_3rabi
windows is ok
Forum: PHP Mar 31st, 2008
Replies: 3
Views: 1,209
Posted By w_3rabi
Forum: PHP Dec 10th, 2007
Replies: 4
Views: 9,942
Posted By w_3rabi
you could change the encoding of the page from utf-8 to windows-1256
i guess that would work better
Forum: PHP Dec 10th, 2007
Replies: 1
Views: 676
Posted By w_3rabi
there is special programs offers status about the websites
you need to install one like this
i guess one of them called awstat
Forum: PHP Dec 6th, 2007
Replies: 3
Views: 651
Posted By w_3rabi
if im getting this right you are trying to insert some value from php into the js
if so you could do it like this
<?php echo "<script>some-js-code-with-$varableName</script>"; ?>
Forum: PHP Dec 6th, 2007
Replies: 3
Views: 4,034
Posted By w_3rabi
so i guess you need to calculate days (mon-friday)
and to exclude sat & sun
is that it?
Forum: PHP Nov 21st, 2007
Replies: 6
Views: 1,424
Posted By w_3rabi
u can put a page on the local server
which takes the request and prints out the result
the from your code u can call that page
through CURL request
and handle the output
Forum: *nix Software Oct 20th, 2007
Replies: 3
Views: 1,990
Posted By w_3rabi
Forum: *nix Software Oct 20th, 2007
Replies: 3
Views: 1,990
Posted By w_3rabi
what i need to do is to enable the frontpage on the hosting server im administering
(what i mean is editing pages from the client using frontpage , i never tried to use this way and i dont know why...
Forum: PHP Oct 20th, 2007
Replies: 6
Views: 4,089
Posted By w_3rabi
i have something like this
i insert data into db
in the db the data is not readable
but when select it on a php page
everything goes well
so the application is running anyway
Forum: PHP Sep 23rd, 2007
Replies: 0
Views: 1,716
Posted By w_3rabi
how to force a page to some character set?
im not talking about the meta thing
what i need is something like yahoo mail beta
when u change the character set the page rechange it to the one...
Forum: *nix Software Sep 20th, 2007
Replies: 1
Views: 927
Posted By w_3rabi
i had s system crash and then my gnome gone crazy
how could i reinstall it or fix?
anyway i could check it for missing files or something ........?
BTW : i have ubuntu 7.04
Forum: Window and Desktop Managers Sep 20th, 2007
Replies: 5
Views: 1,593
Posted By w_3rabi
well
i did an
apt-get remove nautilus
apt-get install nautilus
but still nothing changed
i guess there is a problem in gnome
Forum: Window and Desktop Managers Sep 19th, 2007
Replies: 5
Views: 1,593
Posted By w_3rabi
:|
anything else..........
i dont think im gonna take that risk
Forum: Window and Desktop Managers Sep 19th, 2007
Replies: 5
Views: 1,593
Posted By w_3rabi
Forum: Window and Desktop Managers Sep 19th, 2007
Replies: 5
Views: 1,593
Posted By w_3rabi
hi
once upon the time there was a gnome just working so nicely and quitley when a crash happened the system admin rebooted the and then "fsck" came out and asked him to do another fsck manually...
Forum: *nix Hardware Configuration Sep 8th, 2007
Replies: 8
Views: 6,542
Posted By w_3rabi
thnx alot for anyone helped here
i figured out that there is something in the
system->prefs.->screen resoltion
"make default ..."
i just checked it and it turned everythin ok
thnx alot again...
Forum: *nix Hardware Configuration Sep 8th, 2007
Replies: 8
Views: 6,542
Posted By w_3rabi
sorry man
still not working
i did just exactly as u said
Forum: *nix Hardware Configuration Sep 8th, 2007
Replies: 8
Views: 6,542
Posted By w_3rabi
Forum: *nix Hardware Configuration Sep 8th, 2007
Replies: 8
Views: 6,542
Posted By w_3rabi
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildmeister@builder3) Thu Nov 9 17:56:12 PST 2006

Section "ServerLayout"
Identifier ...
Forum: *nix Hardware Configuration Sep 8th, 2007
Replies: 8
Views: 6,542
Posted By w_3rabi
hi
i have an ubuntu 7.04 and nvidia card
i use nvidia-settings to change the resolution and then i save the conf to the file and it is so cool
the problem is whenever i restart my window manager...
Forum: PHP Aug 27th, 2007
Replies: 1
Views: 1,048
Posted By w_3rabi
i guess u should do it on each file
Forum: PHP Aug 27th, 2007
Replies: 4
Views: 1,393
Posted By w_3rabi
i guess it should be 755
Forum: PHP Aug 27th, 2007
Replies: 4
Views: 1,393
Posted By w_3rabi
looks like the script is trying to access files outside the website scope (the folder it is allowed to access files in)
and also trying to change the permissions of some file
u should check the...
Forum: PHP Aug 27th, 2007
Replies: 4
Views: 4,112
Posted By w_3rabi
could u explain more
and in a little detail
Forum: PHP Aug 27th, 2007
Replies: 29
Views: 4,143
Posted By w_3rabi
the only thing that could be wrong is u have something u are not seing
so u could rewrite the code again
maybe..........
;P
Forum: IT Professionals' Lounge Aug 23rd, 2007
Replies: 18
Views: 3,694
Posted By w_3rabi
if u want to install ubuntu
after booting from the cd normally
you shold find some icon on the desktop says "install" it is gonna launch a wizard wich includes a partitioning tool
it is not that...
Forum: Windows Software Aug 23rd, 2007
Replies: 11
Views: 1,756
Posted By w_3rabi
i would say NOD32 it is effective and it si light on the PC resourses
i had too many probels with antivirus software but i solved'em all
know how.....?
i installed Linux :P
Forum: Windows Software Aug 21st, 2007
Replies: 0
Views: 795
Posted By w_3rabi
hey
anyone have an idea how to create a cert on iis
or where to buy one
Forum: PHP Jul 19th, 2007
Replies: 12
Views: 4,141
Posted By w_3rabi
i dont think so..!
it is widely known when validating the input that allowing only the accepted characters is more better than preventing the non-acceptable ones , if the user enters data in another...
Forum: PHP Jul 18th, 2007
Replies: 12
Views: 4,141
Posted By w_3rabi
well what u did was the black list thing
and what i did is white one
it may look the same
but it is not!
Forum: PHP Jul 18th, 2007
Replies: 14
Views: 1,343
Posted By w_3rabi
this code is so fine
are u sure the code u r trying is the same u posted !!!!!
Forum: PHP Jul 18th, 2007
Replies: 12
Views: 4,141
Posted By w_3rabi
preg_replace( "/[^a-zA-Z0-9_]/", "", $stringToFilter );

i guess this could work for your case
replacing everything that is not char. or digit with whitespace
Forum: PHP Jul 11th, 2007
Replies: 18
Views: 3,926
Posted By w_3rabi
if u want a way to tell thats a page is submitted or just loaded
u could use a hidden input in the form
then check if the name of this var is in the $_POST
then it is submitted else it is just...
Showing results 1 to 40 of 160

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC