Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,150,726 members, 7,809,771 topics. Date: Friday, 26 April 2024 at 02:37 PM

How May I Help You On Php Language, I'm A Php Guru? - Webmasters - Nairaland

Nairaland Forum / Science/Technology / Webmasters / How May I Help You On Php Language, I'm A Php Guru? (1050 Views)

When You Are A Computer Guru And Your Girlfriend Needs Your Assistance / Php Guru Pls Help Your Brother / Gurusloaded.tk On Php Hoster (2) (3) (4)

(1) (Reply) (Go Down)

How May I Help You On Php Language, I'm A Php Guru? by campusconnects: 7:50am On Aug 23, 2010
I always feel proud of being a PHP programmer while i'm looking for novice, expert and wizard to share my experiences with, i also have materials to release for the progress of PHP programmers.
Re: How May I Help You On Php Language, I'm A Php Guru? by Nobody: 8:43am On Aug 23, 2010
Also a PHP Programmer, at least i cut off the term Guru,

Bro, lets see good codes spin in! grin
Re: How May I Help You On Php Language, I'm A Php Guru? by campusconnects: 9:01am On Aug 23, 2010
It just dat i need challenges 4rm Nigerians PHP programmers, may be with time u'll get 2 knw if i worth to be called guru or not.
Re: How May I Help You On Php Language, I'm A Php Guru? by ogzille(m): 9:17am On Aug 23, 2010
@campusconnects

I created a simple comment wall that submits using ajax.

Using javascript i collect user input:

var sharetxt = encodeURIComponent(document.getElementById("cw_share_txt"wink.value);
then pass it to a php page, on the php page, i collect the passed data:

$text=nl2br(htmlentities(trim($_POST["txt"])));
Encoding of the php page above:

header("Content-Type: text/xml; charset=utf-8"wink;
My problem is that

the wall doesnt still support multi languages (displays as ? and causes my xml not to work)

i still problems with some special characters (displays as � or ?)

Assist in fixing. I am ready to send you the files.
Re: How May I Help You On Php Language, I'm A Php Guru? by campusconnects: 9:48am On Aug 23, 2010
solution: escape the client scripting languages in PHP, then output it as PHP code or use database instead.
Re: How May I Help You On Php Language, I'm A Php Guru? by ogzille(m): 10:03am On Aug 23, 2010
my bro there is something that works in this webmasters section,

less english, more codes :: pls write code samples

i dnt get the idea of scape the client scripting languages in PHP (pls show code sample)

then output it as PHP code (thought line above said , in PHP

use database instead (explain)
Re: How May I Help You On Php Language, I'm A Php Guru? by Nobody: 10:27am On Aug 23, 2010
@ogzille, Do you want to kill the dude! grin grin grin
Re: How May I Help You On Php Language, I'm A Php Guru? by ogzille(m): 10:29am On Aug 23, 2010
Im looking for a solution to my problem o! dont want to kill anybody!
Re: How May I Help You On Php Language, I'm A Php Guru? by Nobody: 10:35am On Aug 23, 2010
Simply put, The solution to your problem does may not lie in this thread!
Re: How May I Help You On Php Language, I'm A Php Guru? by campusconnects: 10:35am On Aug 23, 2010
Explain an exert thing u wanted to do, forget abt the language u want 2 use,.
To escape in PHP use for beginner:
(1)
<?php
?>
//client scripting lang(html, css, xml,javascript/vbscript etc). goes here
<?php
?>
(2)
heredoc
<?php
echo <<< TEXT
//client scripting lang. goes here
TEXT;
?>
PHP is a server scripting language
Re: How May I Help You On Php Language, I'm A Php Guru? by ogzille(m): 10:42am On Aug 23, 2010
@campus connect, pls is there any part of my problem that is not clear lemme explain?

What is the relationship between my problem and your post.

I know that am not a guru, bt at least i know that php is a server side language.

If you cant help me with my problem, kindly let me know, so i can look else where
Re: How May I Help You On Php Language, I'm A Php Guru? by campusconnects: 11:14am On Aug 23, 2010
pls explain the exert thing u want 2 do, forget abt the lang. u want use, i'm a specialist in Javascript, PHP & MYSQL.
Re: How May I Help You On Php Language, I'm A Php Guru? by ogzille(m): 11:26am On Aug 23, 2010
ok no wahala

i want to support multi langauges, and im nt just submitting the form just the normally way.

Im using ajax to submit (which im sure u will b familiar with, cos its simply js).

The other things in my post below is just to show you what i ve done so u can make corrections:

ogzille:

@campusconnects

I created a simple comment wall that submits using ajax.

Using javascript i collect user input:

var sharetxt = encodeURIComponent(document.getElementById("cw_share_txt"wink.value);
then pass it to a php page, on the php page, i collect the passed data:

$text=nl2br(htmlentities(trim($_POST["txt"])));
Encoding of the php page above:

header("Content-Type: text/xml; charset=utf-8"wink;
My problem is that

the wall doesnt still support multi languages (displays as ? and causes my xml not to work)

i still problems with some special characters (displays as � or ?)

Assist in fixing. I am ready to send you the files.

Re: How May I Help You On Php Language, I'm A Php Guru? by Nobody: 11:28am On Aug 23, 2010
Una still dey here, !

Laughing in Japanese!,

Now Campusconnects, What you posted is off what Ogzille wants,

The code you even posted are The 1st Code i do give out for my PHP class,

Now lets forget that,

You guys can keep trying for all i care, After all you are a Guru!

What i think Ogzille issues is, He created a Simple Comment Wall, Something like what you see on facebook,

Now, definitely comments get saved somewhere, be it Filebased or a Database, in his case, i presume a Database,

Those comment get posted using Asynchronous JavaScript and XML,

He attempted making it's content type to support multilanguages, so come Character does not result to gibberish!

But his attempt failed and on display, those Characters show the Gibberish,

He wants it to show the Characters!

Take it up from there Dudes!
Re: How May I Help You On Php Language, I'm A Php Guru? by ogzille(m): 11:36am On Aug 23, 2010
DonPuzo, thanks i cant explain any better. I hope that campusconnect will end my search *** and pls look into the problem critically ***
Re: How May I Help You On Php Language, I'm A Php Guru? by campusconnects: 11:43am On Aug 23, 2010
Donpuzo, i luv dat, hope u knw we are here 2 support one anoda, pls correct the code posted.
Re: How May I Help You On Php Language, I'm A Php Guru? by ogzille(m): 11:47am On Aug 23, 2010
LWKMD grin grin grin

Dunpuzo u don buy market ::: fast fast
Re: How May I Help You On Php Language, I'm A Php Guru? by Nobody: 11:54am On Aug 23, 2010
@campusconnects, Which of the code should i correct Yours or his

@ogzille, LOL, No be small thing here ohhh, PHP GURU don dey push him suppose code project to Mark Donpuzo,
Re: How May I Help You On Php Language, I'm A Php Guru? by campusconnects: 3:22pm On Aug 23, 2010
Mark Donpuzo, i noticed u're a good detector, can u help me out 4 d solutions of dose syntax including my own?
Re: How May I Help You On Php Language, I'm A Php Guru? by campusconnects: 3:25pm On Aug 23, 2010
Mark Donpuzo, why would u expect me 2 knw all, i stated PHP not integration of AJAX & PHP.
Re: How May I Help You On Php Language, I'm A Php Guru? by DualCore1: 3:29pm On Aug 23, 2010
Stunt gone wrong.

--------------------------
Ogzille, everything here feels like greek to me so I can't help sad
But I hope you get help from somewhere soon.
Re: How May I Help You On Php Language, I'm A Php Guru? by Nobody: 3:39pm On Aug 23, 2010
@Dual Core, Lol, The guy is coding some really Cool Thing, Same with me, so for now, my help remains reserved,

And like you said, to translate Greek to English no be small fin! tongue

@PHP GURU, Let me look at your own ohh, Cause the last time i checked, it does not perform anything at least not much!

I don't expect you to know all, Not at all, Knowing just well enough is fine and enough to build something cool, !

As for Ogzilles's issue, he will solve it! The dude is a good developer, at least the little i know of him! Too busy to code such thing he wants, He never even dropped the full code, to see it's a problem which need to be debugged!
Re: How May I Help You On Php Language, I'm A Php Guru? by Nobody: 3:47pm On Aug 23, 2010
PHP GURU, Just checked it again,

Honestly, there is nothing there to be debugged,

The much i saw was, The use of

<?php
echo<<<text
Something goes here
text;
?>

Which is a right code  shocked But quite elementary!

So bros, keep coding!
Re: How May I Help You On Php Language, I'm A Php Guru? by campusconnects: 3:54pm On Aug 23, 2010
Donpuzo, let forget abt d issue of dat,now can u configure an intranet on internet information server(IIS) or any suitable web server?
Re: How May I Help You On Php Language, I'm A Php Guru? by Nobody: 4:00pm On Aug 23, 2010
Nope, And have close to no information on that. cry

But Dual Core may have useful info/help,

He is into the server and Host stuffs,

The best i can do is Develop Applications and Sites,

Meanwhile nice site you have dude,
Re: How May I Help You On Php Language, I'm A Php Guru? by Nobody: 4:11pm On Aug 23, 2010
And another php guru enters, and kataka don start!

campusconnects:

solution: escape the client scripting languages in PHP, then output it as PHP code or use database instead.
that code is 100% in-correct. It is solved by using the php code
<?php
header('Content-type: text/html; charset=iso-8859-1');
?>

at the begining of the page that outputs the rubbish codes. Usually, if it does not work, you may try changin it to utf.
Re: How May I Help You On Php Language, I'm A Php Guru? by campusconnects: 4:21pm On Aug 23, 2010
*dhtml , did i right for the solution i provided for dose guyz, because i'm totally confused abt wht they are lookin where as an implementation of PHP & RDBMS(MYSQL) can solve easily.
Re: How May I Help You On Php Language, I'm A Php Guru? by campusconnects: 5:14pm On Aug 23, 2010
Dual Core, pls  can u help me for the configuations of an intranet on internet information server(IIS)?
Re: How May I Help You On Php Language, I'm A Php Guru? by DualCore1: 5:20pm On Aug 23, 2010
Sorry bro I am into really into Windows as per server admin. Linux all the way for me.

But you can try Google.
Re: How May I Help You On Php Language, I'm A Php Guru? by Nobody: 5:29pm On Aug 23, 2010
@DHTML,

I honestly did almost point to that place, but i thought he may have done that,

Maybe he tried that and it failed, but let's see how it goes!

I hardly use text/xml, mine is always text/html
Re: How May I Help You On Php Language, I'm A Php Guru? by Nobody: 5:12am On Aug 24, 2010
I can setup php/mysql on IIS perfectly. First you install IIS on your pc by going to windows Add/Remove Programs. Mind you, i dont know if it is xp or vista you are talking about. Windows Component, you find IIS, check it, and continue the installation.
Next you need to setup php and mysql. For php, you need to download the php5 binaries from php.net
then, you will download the standalone installation for mysql5 from the mysql website.
You will now setup a script mapping for that php from IIS so that your php scripts will be executed right.

That is just a few briefing, to do this for a first-timer, you will need a number of screenshots which i am not ready to give now. Meanwhile, you can search for this in google, but i have already given you the highlights sha.

Donpuzo:

@DHTML,
I honestly did almost point to that place, but i thought he may have done that,

Maybe he tried that and it failed, but let's see how it goes!

I hardly use text/xml, mine is always text/html
It is still essentially the same thing. . . .
Re: How May I Help You On Php Language, I'm A Php Guru? by ogzille(m): 11:16am On Aug 24, 2010
I hv been missing out on this page, a lot has happened in my absence.

Have used text/html before it didnt work

I know there is one lil dude am nt just getting right.

@campusconnect, hmmm, lipsrsealed

(1) (Reply)

# 1 School Management & Information System Portal - Afriportal / Earn $200+ After 3 Months Of Joining SFI Business / 11.4K Likes Facebook Page For N6,000

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 33
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.