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 sir patulong nman po dito.. pano ko g2win eto dko alam kung pano ko si2mulan to

bale eto ung task n pnapgwa samin



bale sir eto ung kailngan niang i-analyze n file..
http://www.mediafire.com/download.php?uw9pi48mqr7sbhp

Hint, tips, or advice pano ko ga2win eto or ano ung dapat kong pag-aralan para magawa ko eto mga sir.. need help badly.. maraming slamat :)


Gawa kang form na may file na input type.

Code:
<form>
	<input type="file" name="upload_file" />
</form>

Tapos dun sa php when you submit, read mo yong file.

It would be better to use the file() of php. Then loop mo cya.

Code:
<?php
	$result = file("filename.log");

	foreach ($result as $key => $value)
	{
		if (strpos($value, "warning") === TRUE)
		{
			//found warning.
		}
		elseif (strpos($value, "error") === TRUE)
		{
			//found error.
		}
		else
		{
			//message.
		}
	}
?>

Be careful on ===, it should be that way. Read on strpos for more details.
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

mga sir..patulong naman po..nahihirapan po kasi ako mag design sa attendance monitoring system..ano po bang una kung gagawin..sana may makapagbigay nang flow...thanks....
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

hindi ba parang DTR yan? Parang class attendance ba?kung ganun, default value is present silang lahat everyday, otherwise, pag may absent, pwedeng yung class officer/admin maglalagay ng absent..
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

pwede po ba humingi nang data flow...:)
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

ano ang mga entity ng kailangan sa monitoring system kasama ba ang mga teacher? or exclusive lang sa mga estudyante? this is for the whole school? kasi kasama dun ang gradeschool, HS saka college students.
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

weh! gagaling ng mga utak ng mga ito,, sana sing-talino din ninyo ako:upset:
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

weh! gagaling ng mga utak ng mga ito,, sana sing-talino din ninyo ako:upset:

Di naman po. We just trying to help each other, the best way that we can ^_^ through sharing of ideas. :salute:
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

Write a program that interactively reads lines of input from the user and
prints them back out, reversed. The program should exit if the user types
"tiuq".

Hint: use function charAt() , .equals() and .length() . use the internet for reference

(tol pa help naman sa program nato oh plz.. Urgent eh ^_^ hehe)
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

for our department lang poh.....
 
Zend Framework Installation in Tagalog!

As promised i-post ko na ang installation ng Zend Framework in pure tagalog lol. Windows 7 user ako kaya yung instruction dito ay base sa ginawa ko sa OS na gamit ko :)

--- BAGO MAG-UMPISA ---
Sorry nakalimutan kong ilagay to sa instructions.

Paki-edit lang yung php.ini at hanapin niyo yung include_path at ireplace siya into:

include_path = ".;C:\wamp\bin\php\zend\library"

--
Let’s begin!

1. Download Zend Framework here at http://framework.zend.com/download/latest
Bago kayo makapagdownload, kelangan muna mag-register. I recommend the minimal version kasi mas maliit ang file size.
Yun ang ginamit ko. Meron yatang demo codes sa full version.

2. Extract it and then copy niyo yung “bin” and “library” folder sa location ng php installation niyo. Pwede naman kahit san ilagay pero for your convenience, sundin niyo lang yung instruction dito :P
Ganito ang pag-copy para sa WAMP users:
Gumawa ng “zend” folder sa “C:\wamp\bin\php\” gaya ng picture sa ibaba.
zendfolder.jpg



3. Ilagay yung “bin” and “library” folder na galing sa dinownload niyong Zend Framework file sa “zend” folder na ginawa niyo sa step 2.


4. Click “start” at i- right-click ang “computer” pagkatapos ay i-click ang “advanced system settings” and click “environment variables” as shown below:
advanced.jpg


environment.jpg



5. Hanapin niyo yung path sa system variables at i-edit niyo, pagkatapos ay i-paste ang location ng
“bin” folder. Separated by semi-colon bago ipaste sa dulo ng line as shown below.
systemvariables.jpg



6. Pwede na kayong gumawa ng zend project pagkatapos ng mga steps na nabanggit.

Ngayon ay i-open ang command prompt, at pumunta sa loob ng www folder ng WAMP using your command prompt. Just type in: cd c:\wamp\www

Pagkatapos ay I-type ang “zf create project symbianizetut” at may makikita kayong confirmation message na mayroong nagawang project as shown below.
commandprompt.jpg


Pagkatapos ay pwede niyo ng tignan sa c:\wamp\www folder na mayroong generated symbianizetut folder na may lamang files na inyong gagamitin sa pag-develop as shown below:
symbianizetut.jpg


7. I-open ang readme.txt sa loob ng docs folder sa loob symbianizetut project na inyong ginawa.
(Mas maganda kung i-open ito gamit ang inyong text editor gaya ng notepad)

Palitan yung line ng <VirtualHost *:80> ng <VirtualHost 127.0.0.1> at ang final result ay dapat ganito:

<VirtualHost 127.0.0.1>
DocumentRoot "C:/wamp/www/symbianizetut/public"
ServerName symbianizetut

# This should be omitted in the production environment
SetEnv APPLICATION_ENV development

<Directory "C:/wamp/www/symbianizetut/public">
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>

</VirtualHost>



8. Kopyahin yung xml script na inedit niyo o yung naka-paste sa taas at ilagay sa pinaka-dulo ng httpd.conf. (para mas madali, i-click niyo lang si WAMP at itutok kay Apache. May makikita kayong httpd.conf at iopen niyo siya sa text editor.
Pagkatapos ay i-dagdag ang xml script na nabanggit at i-paste sa pinakababa.
I-save ang httpd.conf at i-restart ang WAMP.

9. Last step:

I-open ang hosts file sa loob ng System32\drivers\etc. In my case sa C:\Windows\System32\drivers\etc
I-dagdag sa hosts file ang symbianizetut as shown below
hosts.jpg


TAPOS NA!!! Ngayon ay pwede niyo ng i-type sa browser niyo ang http://symbianizetut
outcome dapat ay ito:
welcome.jpg


Hindi pa ako ganon kagaling sa ZF. Nag-uumpisa pa lang ako, due to time constraints hindi pa ganon kalawak ang kaalaman ko. Naisipan ko lang mag-share. Pero kung may questions I'll be willing to answer basta alam ko :)
 
Last edited:
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

sir pno po ung menu na may tree view? kc klangan ko my category, section..

example:

+ Storage Devices
Hard drive​
Flash Disk​
- Network Devices

tnx in advance.. :help::help:

Click here to join the Social Group

1406939385.png
 
Re: Zend Framework Installation in Tagalog!

As promised i-post ko na ang installation ng Zend Framework in pure tagalog lol. Windows 7 user ako kaya yung instruction dito ay base sa ginawa ko sa OS na gamit ko :)

Let’s begin!

1. Download Zend Framework here: I recommend the minimized version kasi mas maliit ang file size. Yun ang ginamit ko. Meron yatang demo codes sa full version.

2. Extract it and then copy niyo yung “bin” and “library” folder sa location ng php installation niyo. Pwede naman kahit san ilagay pero for your convenience, sundin niyo lang yung instruction dito :P
Ganito ang pag-copy para sa WAMP users:
Gumawa ng “zend” folder sa “C:\wamp\bin\php\” gaya ng picture sa ibaba.
zendfolder.jpg



3. Ilagay yung “bin” and “library” folder na galing sa dinownload niyong Zend Framework file sa “zend” folder na ginawa niyo sa step 2.


4. Click “start” at i- right-click ang “computer” pagkatapos ay i-click ang “advanced system settings” and click “environment variables” as shown below:
advanced.jpg


environment.jpg



5. Hanapin niyo yung path sa system variables at i-edit niyo, pagkatapos ay i-paste ang location ng
“bin” folder. Separated by semi-colon bago ipaste sa dulo ng line as shown below.
systemvariables.jpg



6. Pwede na kayong gumawa ng zend project pagkatapos ng mga steps na nabanggit.

Ngayon ay i-open ang command prompt, at pumunta sa loob ng www folder ng WAMP using your command prompt. Just type in: cd c:\wamp\www

Pagkatapos ay I-type ang “zf create project symbianizetut” at may makikita kayong confirmation message na mayroong nagawang project as shown below.
commandprompt.jpg


Pagkatapos ay pwede niyo ng tignan sa c:\wamp\www folder na mayroong generated symbianizetut folder na may lamang files na inyong gagamitin sa pag-develop as shown below:
symbianizetut.jpg


7. I-open ang readme.txt sa loob ng docs folder sa loob symbianizetut project na inyong ginawa.
(Mas maganda kung i-open ito gamit ang inyong text editor gaya ng notepad)

Palitan yung line ng <VirtualHost *:80> ng <VirtualHost 127.0.0.1> at ang final result ay dapat ganito:

<VirtualHost 127.0.0.1>
DocumentRoot "C:/wamp/www/symbianizetut/public"
ServerName symbianizetut

# This should be omitted in the production environment
SetEnv APPLICATION_ENV development

<Directory "C:/wamp/www/symbianizetut/public">
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>

</VirtualHost>



8. Kopyahin yung xml script na inedit niyo o yung naka-paste sa taas at ilagay sa pinaka-dulo ng httpd.conf. (para mas madali, i-click niyo lang si WAMP at itutok kay Apache. May makikita kayong httpd.conf at iopen niyo siya sa text editor.
Pagkatapos ay i-dagdag ang xml script na nabanggit at i-paste sa pinakababa.
I-save ang httpd.conf at i-restart ang WAMP.

9. Last step:

I-open ang hosts file sa loob ng System32\drivers\etc. In my case sa C:\Windows\System32\drivers\etc
I-dagdag sa hosts file ang symbianizetut as shown below
hosts.jpg


TAPOS NA!!! Ngayon ay pwede niyo ng i-type sa browser niyo ang http://symbianizetut
outcome dapat ay ito:
welcome.jpg


Hindi pa ako ganon kagaling sa ZF. Nag-uumpisa pa lang ako, due to time constraints hindi pa ganon kalawak ang kaalaman ko. Naisipan ko lang mag-share. Pero kung may questions I'll be willing to answer basta alam ko :)

I will try the idea. I wonder lang kasi kung paano gumawa ng file. Dun mismo sa framework. Hehehe.

Dun sa <virtualhost> in Ubuntu you can use that to have multiple ports sa server. Dun mo cya e.configure if you have a single apache installation tapos marami kang projects for each port.

<VirtualHost *:80>
#Assign to htdocs
</VirtualHost>

<VirtualHost *:8080>
#Assign to other document root
</VirtualHost>

<VirtualHost *:8081>
#Assign to other document root
</VirtualHost>

Then dun sa ports mo.

Listen to port
80
8080
8081

Then when you're on your browser

You can have
localhost #This will display the document root for port 80 Default port.
localhost:8080
localhost:8081
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

^
Pag gagawa ka ng file i-open mo lang yung command prompt and then type what you want to generate. Like for example gagawa ka ng Controller:
So you type "zf create controller mysamplecontroller".
Pwede mo rin itype yung "zf --help" to see all the available commands.
Once na nasanay ka na sa filesystem, kahit di ka na gumamit ng command prompt ok lang, yun nga lang pag hindi na-update yung .zfproject.xml pwede mag-malfunction si Zend Tool :)
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

I'll crack that later, parang nagka.idea na kasi ako. Need ko muna gawan ng reports tong client. grrrr... I hate it bat now pa. Hahaha.
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

tanog ko alng kung pano magkaroon ng sariling domain name? newbie kasi ako sa php hehe
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

mga sir help naman po sa assignment ko. yung pdf file po ang gagawin tapos po yung zip file po tung para dun sa link na gagawin sa problem. thanks in advance. paki dl nlng po ng attachments. God BLess. Yung link five po para po iview yung mga registered. thanks
 

Attachments

  • Web%20Prog%20Lecture5.pdf
    193.7 KB · Views: 31
  • exer3 by tanzuaco.zip
    2.4 KB · Views: 11
Last edited:
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

ask to lang. pano kaya yung code sa php kung gusto mo mag print sa printer mismo?
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

im thonthon from tugue...
BS Info. Tech.
im done with E-Commerce Website..
may copy ako ng mga kodes..
pero gusto matutunan ung cuztumization...may animation ang per link...
tnx :clap:
:help:
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

Hi mga ka SB.

Ask ko lang po kung paano ko po iddeffirentiate ang admin, prof and student kapag nag log in sya.

Paano po ba ang database nun? iba ibang tables po ba ang admin, prof and student or isang table lang sila?

Thanks po. :salute:
 
Back
Top Bottom