Symbianize Forum

Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.

All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!

Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok dito

Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

mga boss bakit po hindi lumalabas ang aking javascript? ano bah probz n2 sa code ko? maraming salamat po mga sir :praise:


<script type="text/javascript">
jQuery(document).ready(function($) {
$('a[rel*=facebox]').facebox({
loadingImage : 'src/loading.gif',
closeImage : 'src/closelabel.png'
})
})
</script>

<!--dock menu JS options -->
<script type="text/javascript">

$(document).ready(
function()
{
$('#dock2').Fisheye(
{
maxWidth: 60,
items: 'a',
itemsText: 'span',
container: '.dock-container2',
itemWidth: 40,
proximity: 80,
alignment : 'left',
valign: 'bottom',
halign : 'center'
}
)
}
);

</script>

Baka wala kang naka intall/include na jQuery file sa html mo. :noidea:
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

help sa php, ngaun ko lang to naencounter

after magtrigger ng
Code:
if(isset($_POST['submit']))

may error ako sa function ko

Notice: Undefined index: mypword in directory\loginfile.php on line 18


eto ung function ko

Code:
function confirmUser($myuser, $mypword)
{
	global $conn;
	if(!get_magic_quotes_gpc()) 
	{
		$myuser = addslashes($myuser);
	}

	$q = "SELECT pwordfield from tableko where userfield = '$myuser'";
	$result = mysql_query($q,$conn);
	if(!$result || (mysql_numrows($result) < 1))
	{
		return 1;
	}

	$dbarray = mysql_fetch_array($result);
	$dbarray['mypword']  = stripslashes($dbarray['mypword']); [COLOR="SeaGreen"][SIZE="2"][B]//dito ung pinpoint ng error ko[/B][/SIZE][/COLOR]
	$mypword = stripslashes($mypword);

	if($mypword == $dbarray['mypword'])
	{
		return 0;   
	}
	else
	{
		return 2; 
	}
}

anyone??? salamat!
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

sir my WAMP po ba kau jan?
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

help sa php, ngaun ko lang to naencounter

after magtrigger ng
Code:
if(isset($_POST['submit']))

may error ako sa function ko

Notice: Undefined index: mypword in directory\loginfile.php on line 18


eto ung function ko

Code:
function confirmUser($myuser, $mypword)
{
	global $conn;
	if(!get_magic_quotes_gpc()) 
	{
		$myuser = addslashes($myuser);
	}

	$q = "SELECT pwordfield from tableko where userfield = '$myuser'";
	$result = mysql_query($q,$conn);
	if(!$result || (mysql_numrows($result) < 1))
	{
		return 1;
	}

	$dbarray = mysql_fetch_array($result);
	$dbarray['mypword']  = stripslashes($dbarray['mypword']); [COLOR="SeaGreen"][SIZE="2"][B]//dito ung pinpoint ng error ko[/B][/SIZE][/COLOR]
	$mypword = stripslashes($mypword);

	if($mypword == $dbarray['mypword'])
	{
		return 0;   
	}
	else
	{
		return 2; 
	}
}

anyone??? salamat!

nevermind this. na-solve ko din agad :lol:
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

Baka wala kang naka intall/include na jQuery file sa html mo. :noidea:

sir salamat po sa rply mo.. naka include po lahat nang jquery ko sa page na ginagawa ko.. pero ayaw parin nya.. may nabasa ako na kailangan lang daw gumamit nang onload para maka gawa nang 2 functions.. kaso d ko alam kung paano e generate/gawin ang codes using javascript d kasi ako kabisado sa javascript sir.. :upset:
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

Os Mint 13
After executing update and upgrade my mysql didn't start, any idea?
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

sir, gagawa ako ng database, webserver parang ganyan, gamit ko po ubuntu 12.04 tapos gusto ko sana secured. ano pong magandang gamitin language at editor o software?. salamat po
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

bm ko muna to, mag aral nko ng webprog :salute:
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

sir salamat po sa rply mo.. naka include po lahat nang jquery ko sa page na ginagawa ko.. pero ayaw parin nya.. may nabasa ako na kailangan lang daw gumamit nang onload para maka gawa nang 2 functions.. kaso d ko alam kung paano e generate/gawin ang codes using javascript d kasi ako kabisado sa javascript sir.. :upset:


tingin nag co2nflict ung facebox plugin mo and ung isang plugin mo ?..do some debugging para mlaman mo ang error ? :D.try to remove the other plugin and try the script :D..pag nag work ang isa un conflict nga sila :D
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

sir possible po ba na lagyan ng videochat ung gnagawa namin website ?? sana mtulungan nyo po ako.. salamat
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

mga boss bakit po hindi lumalabas ang aking javascript? ano bah probz n2 sa code ko? maraming salamat po mga sir :praise:


<script type="text/javascript">
jQuery(document).ready(function($) {
$('a[rel*=facebox]').facebox({
loadingImage : 'src/loading.gif',
closeImage : 'src/closelabel.png'
})
})
</script>

<!--dock menu JS options -->
<script type="text/javascript">

$(document).ready(
function()
{
$('#dock2').Fisheye(
{
maxWidth: 60,
items: 'a',
itemsText: 'span',
container: '.dock-container2',
itemWidth: 40,
proximity: 80,
alignment : 'left',
valign: 'bottom',
halign : 'center'
}
)
}
);

</script>

Change your selector condition.

Code:
<script type="text/javascript">
    jQuery(document).ready(function() {
        $('a[rel="facebox"]').facebox({
            loadingImage: 'src/loading.gif',
            closeImage: 'src/closelabel.png'
        });
    });
</script>

Then you should have a DOM like this.

Code:
<a href="#" rel="facebox">Click Me</a>

Observe rel="facebox"
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

Paano po mag-generate ng thumbnail from the uploaded image ? Yung pag-naclick lang si thumbnail dun lang magdidisplay yung original size nya? Gets nyo po? :D
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

tambay ako dito after graduation...
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

hello po!
may sample code po kau para sa sms inquiry with autoreply po??

ganito po sana ung part ng project namin:

SMS Inquiry po..i have here Wavecom Fastrack M1306B for the project po..how it works po is that a user send "RMOVATS 01a23b" to example 09125327715 (number po nung gsm modem) tapos po ung 01a23b po is the particular unique code in each user, then mag rereply po ung modem ng info about dun sa unique code coming from the database po.

in any language po.

pahelp naman po.please.
 
Last edited:
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

sir tanong lang po about codeigniter ... log out po ako ... pag nag lolog out po ako dinidestroy ko naman po ng maayos ung session kaso pag ni click ko ung "back" button ng browser pinapakita pa din nya sa akin ung previous page na hindi pwede makita pag hindi ka naka login ....

first time ko lang po gumamit ng framework sa project ko po ...
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

sir tanong lang po about codeigniter ... log out po ako ... pag nag lolog out po ako dinidestroy ko naman po ng maayos ung session kaso pag ni click ko ung "back" button ng browser pinapakita pa din nya sa akin ung previous page na hindi pwede makita pag hindi ka naka login ....

first time ko lang po gumamit ng framework sa project ko po ...

i disable mu yung cache ng CI (CodeIgniter) or use this following codes

Code:
CodeIgniter Framework version:

$this->output->set_header('Last-Modified:'.gmdate('D, d M Y H:i:s').'GMT');
$this->output->set_header('Cache-Control: no-store, no-cache, must-revalidate');
$this->output->set_header('Cache-Control: post-check=0, pre-check=0',false);
$this->output->set_header('Pragma: no-cache');


PHP version:

header('Last-Modified:'.gmdate('D, d M Y H:i:s').'GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0',false);
header('Pragma: no-cache');
 
Last edited:
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

i disable mu yung cache ng CI (CodeIgniter) or use this following codes

Code:
CodeIgniter Framework version:

$this->output->set_header('Last-Modified:'.gmdate('D, d M Y H:i:s').'GMT');
$this->output->set_header('Cache-Control: no-store, no-cache, must-revalidate');
$this->output->set_header('Cache-Control: post-check=0, pre-check=0',false);
$this->output->set_header('Pragma: no-cache');


PHP version:

header('Last-Modified:'.gmdate('D, d M Y H:i:s').'GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0',false);
header('Pragma: no-cache');



sir yan po ginagawa ko ... linalagay ko po sya sa constructor ng controller ko at gumagana po siya... kaso may isa po ako na function sa controller ko na hindi na aapektuhan ng code na yan :noidea:....
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

Maaung Hapon, tanong lang po. kapag mgdidisplay kaaau nang mga imahe/image gallery sa php ano ginagamit niyo table or list or anu b? sabi nila d daw maganda gamitin ang table...

Thank You po!
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

Can I ask a simple tip/trick on how to prevent Ms SQL injection? I just want to stop someone attacking my website thanks in advance
 
Back
Top Bottom