landavia
-
Posts
140 -
Joined
-
Last visited
Never
Posts posted by landavia
-
-
imho .... is better to redirect to 404 than just an error.
-
just make new reply
*but plz.. don't create new topic with same topic
i'm waiting
-
horay... the problem solved
please add to above (topic title) Solved
sry 4 late respond..
-
1.. plz use
to type ur code 2. where is css 3. where is php? >>I'm sure no one wants to spend time looking over someone elses code lol, but i figured id try. i try help . but not much
-
i dunno
i think this a matter what WAMP u use
do you use xampp or WAMP?
-
hmm perhaps the proble on Double u use above?
-
sry.. english is not my primary languages
>>if it would be a problem for google
NO
please read google manual more.. none of the rule said about using 404 error page
and review the reason you use .. 404.. i vote for allow the content in your pages
-
can u type the whole script.. i think this script is no problemo..
-
how about change your css with another name
like...
cpywright?
btw.. where css for box?
<div class="box"> ??
-
how about this
<div > THIS TOURNAMENT IS SANCTIONED BY USYSA<br> HOSTED BY SHENENTAHA SOCCER CLUB <div class="copyright">© Steven Stangle 2008-09 for Mad Dog Mania College Showcase. All Rights Reserved</div> </div>
-
NOOOO
that's what u done is a matter of security
-
to many div..
<div > THIS TOURNAMENT IS SANCTIONED BY USYSA<br> HOSTED BY SHENENTAHA SOCCER CLUB </div> </div> </div> </div> </div>
how about put there.. after THIS
like this
<div > THIS TOURNAMENT IS SANCTIONED BY USYSA<br> HOSTED BY SHENENTAHA SOCCER CLUB </div> <div class="copyright">© Steven Stangle 2008-09 for Mad Dog Mania College Showcase. All Rights Reserved</div> </div> </div> </div> </div>
-
<html> <head> <title>IU Webmaster redirect</title> <META http-equiv="refresh" content="5;URL=http://www.indiana.edu/~wmhelp/new-directory"> </head> <body bgcolor="#ffffff"> <center>The contents you are looking for have moved. You will be redirected to the new location automatically in 5 seconds. Please bookmark the correct page at <a href="http://www.indiana.edu/~wmhelp/new-directory"> http://www.indiana.edu/~wmhelp/new-directory</a> </center> </body> </html>
http://webmaster.indiana.edu/tool_guide_info/refresh_metatag.shtml
sry.. no time to explain.. just read the link
the main source was here
<META http-equiv="refresh" content="5;URL=http://www.indiana.edu/~wmhelp/new-directory">
-
u know.. i not build form head like above!!
i just type without any action ^^
<form method="post">
or even i use action.. i will type
<form action="?act=enterMsg" method="post">
but in every last before submit i was place hidden value
<input type=hidden name=act value=enterMsg> if this form using GET not POST
anyway.. you problem is interesting..
i think.. this problem because you click wrong submit?
-
i believe.. the problem is not in yours phpmyadmin but in the length of your sql..
can you split it before import to mysql?
-
hmm.. i can't see this script gone into
well.. we might help.
1. where you put your image
2. what condition you delete ur image
if i'm not mistaken.. nothing in your script contain about image, upload image or sort of
-
paging is a problematic in my script too
well.. i think you need to follow guru said
btw.. plz don't create 2 topic with same entry
-
you might consider to use well
htmlentities($str);
ex:
<?php $str='<table class="main_text" border="1" cellpadding="5" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1">'; print htmlentities($str); ?>
tell me.. what the output !
-
that's can work but that not good
better use
galery.php?tag=cat
in script.. u just try to find cat in the description, tag or whatever you can find cat in the pic
-
plz type your code here.. we can't help without view your script
btw.. how about use
<b>$text = str_replace("\n","<br>",$row[str]);</b>
-
>>can you tell me What is your version of php ??
PHP Version 5.1.6
my mistake.. after read and try it out..Did you actually try that code? They both return the integer 2. And yes they both are the same. This is why sizeof() doesn't have it's own manual on php.net but a link to count().i found out that's function have same result
btw.. let's solve the TS problem
-
omg...
this request need more than 1 script.. u need 2 script to have what u need
in global..
1. u need 2 table
a. table contain image => build yourself but have picid
b. table named pic_counter=> contain picid & picclick
this pic/image table must seperated.. don't ever try to put together.. and DON't make same mistake like i do
*and don't ask what is it.. that's something related to corrupt table
2. let's say when you want to see 1 image.. he/she must click mypic.php?id=1 plz add time after id. reason.. to avoid someone steal ur image and put on his/her site; to expire your image. you image today have expire until ... (put on time).. without time.. he will show blank img
3. inside mypic.php contain 3 modules.. more the better
a. view if the time already expire or not
b. if everything goes wrong.. show bad img.. but if not.. query table pic_counter to add 1
c. show the image
sry.. i was work here.. and there a lot user need my/our help
-
thx.. buat how about this...........
I'd personally use count()
is there 2 dimension array
$box=array(array(1,3,4),array(5,6,1));
count($box) => ....
sizeof($box) => .....
hm both same?
<form action="<?php echo $editFormAction; ?>" method="POST" name="form1" style="margin:0px;" > <table width="100%" border="0" cellspacing="0" cellpadding="1"> <?php // table 4 ?> <tr valign="baseline"> <td width="30%" height="20" align="left" class="lbtxt">Select Device : </td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="1"> <?php $darr=array(1,3,4,2,6,8,12); for ($i=0;$i<sizeof($darr);$i++) { ?> <tr> <td width='25%'></td> <td width='75%' class='intxt' align='left'> <input type="checkbox" name="box[]" value="<?php echo $darr[$i];?>"><?php echo $darr[$i]; ?></td> </tr> <?php } // closing for loop ?> </table> <table width="100%" border="0" cellspacing="0" cellpadding="1"> <tr valign="baseline"> <td width="25%" height="20" align="right" class="lbtxt">Selection Criteria : </td> <td width="75%" height="20" class="intxt"> <input name="m_status" type="radio" value="a" checked> Available <input type="radio" name="m_status" value="p"> Pending</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="1"> <tr valign="baseline" class="wntxt"> <td colspan=2 height="20" class="wntxt"> <?php echo "Note : ".$errmsg; ?></td> </tr> </table> <hr size="1" noshade class="whiteBox"> <?php // if (empty($errmsg)) { ?> <input type="submit" name="Submit" value="Go"> <?php // } ?> <input type="button" name="Submit" value="Return" onClick="window.history.back();"> <input type="button" name="Submit" value="Cancel" onClick="window.location='main-menu.php'"> <input type="hidden" name="MM_insert" value="form1"> </form></td></table> <?php if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) { for ($i=0;$i<count($_POST['box']);$i++) { print $_POST['box'][$i]."<br/>"; } } print_r($_POST); ?>
huh.. that's strange.. work on my komp
-
1) Where in the process might the system use cookies?
cookie is better.. u prefer use cookies.
___________________________________
2) Where in the process might the system use sessions?
u don't need sessions..
___________________________________
3) Would it be better to use a server side database for all the information or a file on the notebook computer?
use both Note and DB.. u will never know if there a problem.. and backup is nice
___________________________________
4) Are there any security issues with this process?
* someone will spam your site
*someone will deface your site
*DOS
*other wedding service will take ur customer.. well.. talking about healthy business
*database corrupt => this not security.. but it will be security if you lost 2 month DB
[SOLVED] SOLVED! THANKS! What is wrong with this code?
in PHP Coding Help
Posted
hmm... next time.. create like this
hmmm.. strange echo inside?