PHP GTK Vs Every Other Stand-alone Language
It seems to me PHP-GTK has all those nifty PHP-features packed inside.
I must say I am kindof a PHP-freak because te syntax and variant-types
I like so much I really want to keep programming in PHP and PHP-GTK
more and more. Does somebody have a different view on this? I am
progamming this on a windows-machine and haven't seen any other
language perform better after slamming programs together.
View Complete Forum Thread with Replies
Related Forum Messages:
Stand Alone PHP
I want to use PHP as a stand alone scripting language. By that I mean without a web server present and without any HTML in the code. I have done this in a few tests on a Win 2000 platform and, with just PHP.exe and a DLL and the ADOdb stuff in a lone directory, I have successfully run some scripts to talk to a database. All fine and good. But the real goal is to make this into a tiny runtime environment that I can deliver to any machine ... Linux or Windows ... and run some performance tools on the local database engines ... all without any installations on those host machines (i.e. just copy the files ... run the analysis scripts and copy the results for post analysis . without changing the host system). Is there a discussion anywhere about: Keeping the runtime size to a minimum? Cross platform got-ya's ? (I read a couple of messages about this, just now in this group) If this is a topic that has been covered to death .. then I apologize and will continue my search of back news articles. However, if anyone else is interested in this or would care to shed some light on these issues for me, please contact me either here or directly.
View Replies !
What Does %something Stand For?
There is this line in a code I have to modify in order to be able to use: %response = $lperl->curl_process($myorder); And I can't find anywhere what does %response stand for nor what the % operator is used for in this line... It is clear that I'm not an OOP PHP programmer so I can't even begin to understand this line... Anyways it gives me a syntax error and I can't use it like this... I searched the PHP manual for % operator all I get is nothing since it is is somekind of wildcard sign and same situation on these forums... All I know is that % is used as modulo operator but that's clearly not the case here..
View Replies !
Stand Alone Win98?
how would i get php running with mysql on a windows 98 machine with out a server so that i could test my scripts after i create them.?
View Replies !
Stand Alone PHP Parser
I'm wondering if someone could give some direction on a problem I have or share their experiences. I'm wanting to create a little PHP application that will run on a local machine and use ODBC to connect to a Access database on that machine. A series of forms will interact with the database but if I understand correctly, I need some way to parse the PHP code. Is there a stand alone parser that could be used in place of a HTTP server?
View Replies !
!= Code What Does It Stand For?
I googled around but couldnt find the meaning for the following code: if ($pass != $pass1) Im not sure if you'd need to see the rest of the code to explain this to me. If so just say so and I can post the entire script I found this on.
View Replies !
Stand Alone Script
Is it possible to have a script run on a client pc that does not have PHP or web server installed? The rationale here is that I am trying to script a page that will manipulate images for sizing and then ftp them to my host, and I want to keep the look and feel of the whole application. I have worked with PHP and Javascript so don’t have the skills to create this in any other languages. I have also searched to see if Javascipt would do this but no luck so far.
View Replies !
Compiling PHP To Stand Alone Executable In 64bit?
I know that there are easy ways to compile PHP into a stand alone executable in 32bit.. but does anybody know of a program that works for doing this in XP 64bit with 64bit PHP so that it will generate a 64bit executable? P.S. Yes I have searched but haven't been able to find any for 64bit it seems that most people who make software hate us 64bit users.
View Replies !
Language Would
Most social networking sites seem to be coded in PHP. I really want to build mine using classic ASP as this is the language my trusted friend has a talent for. This seems to make sense in the short term. However I worry about the lack of social networking sites built with ASP. There must be reasons for this. So plan to recode using PHP and transport existing database across once I have earnt enough from the website to pay for the services of a qualified person.
View Replies !
Language Translator
I need a language translation script for my site but I don't want to use such a translator which change my url like google does , as if i m on page mysitename.com and I need to translate it to spanish and use google widget it translates my page in a way that it changed my url to translate.google.com/?site=mysitename.com can any body help me in this regard so that I might be able to translate my web pages which have dynamic contents are rapidly changing, with out changing the url or any other change to my pages. I just ned to translate my pages to spanish and user should not feel any difference that I have used any widget or any other site facility.
View Replies !
Multi Language
I have thought a bit about how to implement multi language on a site. It seems to me that there are to ways. 1. The gettext method. That is, create a class for every supported language. 2. Put the language into the db. Now there are to ways that I could walk to find my wisdom in this area. 1. Try both methods an see which is best. 2. Ask someone else what they think. I have alot of text on the site.
View Replies !
Is PHP A Dying Language?
Most web jobs I see advertised are looking for programmers with .NET, JAVA or C/C++. Is there any point persevering with PHP when these languages are the future?
View Replies !
Language Recognition
Okay, this trick could be seen on GOOGLE, if your system's default language is not English. If it is, for example, Russian, GOOGLE automaticaly recognizes it and loads all the links and the such (the interface in other words) in Russian. My question: if and how it could be done, using PHP?
View Replies !
Language Functions
Is there a way in php to tell what language a string is in? IE: I've got 4 different language coming into my DB. I need to be able to tell what language a certain string is in, and then setting a flag on that record accordingly. The languages in question are korean, japanese and chinese. (and english)
View Replies !
Language Problem
I have site under development and having problem with language swithching. When I switch to another language it forwards me to index.php instead I need to stay under same web page but on another language. and wish to switch to english clicking on flag, link should only add this on above mentioned url so I can then stay on same page and see page on other language I selected from link to flag: PHP Code:
View Replies !
Multi-Language
i was trying to make a multilanguage system for my web site and got into trouble this is how it looks like PHP Code:
View Replies !
Language Script
For example I compare two values and if those values match then script should take another value from array and then echo it.I just need do know how do skip saying the variable value when they match.Hope someone gets what i need. It's like script for learning new words in other languages and when he asks me a new words, then i don't want to see those words come around...
View Replies !
Language Direction
I have a php site. It is multilingual. I would like to have the language direction be ltr for english and rtl for the other language, I know in regular html I would be inserting in the html tag of the specific language index file <html dir="rtl">. What do I do in php - I know which files to insert in but I dont know what? I understand it should be a define statement and I have one define statement define('LANG_CODEPAGE', 'iso-8859-1') should I be adding something to this?
View Replies !
Scripting Language
I want to learn a scripting language to make my website interactive. Between Javascript and PHP, Which is easier to learn? Which is more popular? Which can do more tasks? Which is more stable? Which do you prefer and why?
View Replies !
Language Session
I maintain a site, whose main language is german, but I want to provide an international version in english too. I thought of putting a language choice on the entrypage and directing all requests for the english pages to an subfolder (e.g. root/en/). The problem now is, that there is an guestbook script, which then is used by german-speaking and english-speaking visitors, and I want the english visitors return from the guestbook to the english pages and all others to the german ones.
View Replies !
Scalable Language Db
Using multiple language files for static content is no problem. However I have a drop down option menu that is updated daily...The data is kept in MySql... Example of the database fields: item_id item_parent_id item_name item_description I don't want to add: item_name_english, item_name_spanish because we will get many more languages and this needs to scale... Would you build a seperate language table and do a join? Or is there an easier way that I'm not seeing?
View Replies !
Name This Programing Language
Working on a redesign using PHP and static HTML nothing special realy. But through all the pages the programmer use a language I'm not familiar with to do includes like this one: [+ inc('.mnu') +] And database connections. Can any one tell me what this is? PEAR?
View Replies !
Change Language
tell me if it is possible to change in language of the complete website by clicking on just the flag of different country. i have seen it in many website.
View Replies !
Selecting The Next Language
We are a software company that provides Inventory & Procurement mangement to the hospitality industry. For the past twenty years we have been using Progress Software as both the development language and the underlying database. We are in the process of exploring new languages to write our application in, as Progress is becoming expensive for us. Code:
View Replies !
Language For Website
i want to add French German etc. language to my site but don't have and idea what to do or where to start will this be a big job to do?
View Replies !
The Language Development
Is PHP developed from C programming language? If one has to to contribute to the language, what are the steps he/she should take. I can't categorize my C programming skills at the top end, but I can be better at it through time to contribute certain things at some point in time.
View Replies !
Language Problems
I have a script which dumps my entry(blog) into the database everytime i finished typing. I have a problem with sending asian languages into the database using this php script. I currently do not have the script with me as my comp is down. The script uses only simple "insert" statements to add an entry into the database.Can anyone tell me what I should do either at the db end or at the script end to solve the problem? The asian languages I am having problem with is Chinese(both simplified and traditional). The encoding I use for browser is UTF-8.
View Replies !
Using Language Files
I have a script which is in English, but i need this script to show both English and German. the English language already has a language file ( english.php ), so i am going to translate all the English wording to German ( german.php ) so how can i select the language file, i am going to let the user select the language via a flag image so when the user clicks on there country flag it will change the site to the requested language.
View Replies !
Language Translations
We are looking for Freelance Translators and bilingual people to work on our Translation Projects. Globalization process creates more than ever growing demand for Language Translations. We have being constantly expanding, and looking for additional resources in various languages, and areas of expertise.We will be contacting you when projects, requiring your skills and expertise are needed. We and our team look forward to hearing from you and working.
View Replies !
Language Support
I have used file_get_contents to grab some information from a page that is written in Chinese and then stored it in a database. When I retrieved this information and printed it onto my website the characters are all messed up. I know this has something to do with Character sets but can someone please explain this to me. The site was http://cn.yahoo.com/. Am I able to retrieve information from websites in Asian languages using file_get_contents ??
View Replies !
Language Pack
I have decided to create a similar method as a resource file for my language pack. I have a table with a filed for each langugae and a filed for the key - this enables me to generate an array with the as listed in the database table and the corresponding string. When using characer sets like chinese and japanese I only see the or those infernal rectangles. My databse can store the characters as they are but the page just won't play ball I have.
View Replies !
Different Language Conversion
I am trying to change some text which is written in default language i,e english language now i am want to change it language like Deutsch ,English (UK),Italiano,Français etc.Is it possible with the help of php?.
View Replies !
Language Filter
I am using a language filter and for some reason I am getting this error Notice: Undefined variable: stars in C:Program Fileslahh on line 61 here is my code: function language_filter($string) { $obscenities = @file("foul_language.txt"); foreach ($obscenities as $curse_word) { $curse_word = trim ($curse_word); if (stristr(trim($string),$curse_word)) { $length = strlen($curse_word); for ($i = 1; $i <= $length; $i++) { $stars .="*"; } $string = eregi_replace($curse_word,$stars,trim($string)); $stars = ""; } } return $string; }
View Replies !
Detecting Language
I have been looking for something like this, but can only find detection of the users language. But thats not what I am looking for. I tried to build it myself, but to be honest it's not very beautiful and not (not even nearly) a good solution. Now, how do you figure out, what language he has typed. (I need to check between THAI, ENGLISH, JAPANESE, CHINESE, FRENCH, GERMAN (at least, more would be better).
View Replies !
Preg_replace :: Language
i have a problem regarding how to update a certain assign word i have a file called language.php the content is something like this $language["other"]="other content"; $language["meuforlife"]=" this is the menu "; now how can i use preg_replace to replace a certain language like i want to change the content of $language["other'] = "other content" to $language["other"]="this is the latest update";
View Replies !
Language Encoding
im writing a multi-language website and need to use this: <meta http-equiv="Content-Type" content="text/html; charset=big5"/> for the chinese version. It works well on a noraml html files but somehow it fails to work on php files, and all chinese characters were not able to display correctly. Im not sure what went wrong, can anyone give me any suggestions?
View Replies !
Language Preference Detection
Here is something I came up with to detect the language preference of the browser, and to keep track of any user-defined language preference. Very useful for site translation projects! // Keep track of preferred language session_start(); session_register('language'); // Determine language preference if(IsSet($language_request)) $language = $language_request; elseif(IsSet($language)) $language = $language; else $language = substr($HTTP_ACCEPT_LANGUAGE, 0, 2); $language_request would be a variable that the user would set, for instance by clicking on a link that said "English", something like the following: <a href="<?php echo $PHP_SELF; ?>?language_request=en">English</a> If anyone else has other methods for doing this, I would love to see them...
View Replies !
Sharing Php Object In A Different Language
Please somebody help me to know how to access an object from a php application, in a different application developed in different language running on a different operating system. in short how to share processing between a php programm and program developed in different languages running on different paltforms.
View Replies !
Site In Multiple Language
I am creating a site which will have one option for change language. once user selects the language i am storing his reply in session variable. then i want to display the site in his selected language. so can anyone give me idea that how can i achieve this???? whether i should use database for storing words in different languages or i should use file for each language. is there any other better way to solve this problem?
View Replies !
Assembly Language Inside PHP - Possible / Not ?
I'd like to know whether it is possible to use inline assembly code inside PHP? Remember good old Turbo Pascal 7, one could write Assembly language inside it if you have a function that will be ran millions of times inside a loop? This sped up the process by hundred-folds because of the speed of that bit of assembly language. Well, I'd like to do the same in PHP, but am unable to find any conclusive evidence (and help) on whether this works and how.
View Replies !
Multi Language Support
Just curious to how easy/heard it is to incorporate multi language support in a dating script. I'm confused on how the language is changed to whatever language.
View Replies !
PHP As An Embedded Scripting Language
......ie in my application! Basically I want to add a scripting language to a cross platform application. The prime requirements are that it is: a) Small b) May be easily staticlly compiled into the app and require nothing more than libc and sockets. c) It must be easy to add new functions in C to hook into the app. d) Reasonably easy to learn and use. After looking at the many options available I have almost settled on Lua, however I would **like** to use PHP, I have used the apache PHP module for server side scripting in the past and like it. It has been excluded a bit from my choice because I could not find out anything **about** using it as an embedded scripting language for apps, and any attempt to search for e.g "PHP embedded" results in zillions of references to embedding in HTML etc. Can anybody give me any pointers or tips on this aspect/use of the language?
View Replies !
Language File, Best Practice
I would like to add international support for my site to allow some of my users to translate the site if they really feel the urge to do it. I don't use any CMS, the site was developed, (and refined :)), by me. But I see that various CMSs handle languages very differently. Joomla! for example has a smallish define file that has all the translations. Wordress on the other hand seems to have a function __(...) that is altogether a lot more complicated but also more flexible. But I am not sure that the Joomela! approach is the best, defining what could become a rather big language file seems a bit silly to me, (well in my case it seems to be). And there does not seem to be any naming convention of all those defines, that could spell<sictrouble. So, what is the best way, so far, of handling languages?
View Replies !
Multi Language Concept
i would like to implement multi language option for my scripts.Like, when the user clicks on the english, the pages are viewed in english and if in french, they are viewed in that language.For instance, i have settings on my navigation bar and when i click on that, a php page is opened.Inside this php page, i included some .ini files.Now, i want these ini files to be displayed in the language chosen.For this, i created a table called language, added all those .ini modules and their corresponding text phrases in the 2 different languages. How can i proceed further?
View Replies !
HTML Language Question
I know this is not an HTML newsgroup per se. I looked for comp.lang.html, I guess there is not one. After writing PHP code within my application and viewing the HTML code. I've noticed my editor has caused the positioning of all my HTML tags to be misaligned and jammed together. Do you know of a utility that will realign and set up the indentations for an HTML file? Is there a code beautification program for HTML?
View Replies !
|