Science topic

PHP - Science topic

PHP is a general-purpose server-side scripting language originally designed for Web development to produce dynamic Web pages. It is one of the first developed server-side scripting languages to be embedded into an HTML source document rather than calling an external file to process data.
Questions related to PHP
  • asked a question related to PHP
Question
2 answers
We have an experiment coded in HTML/JavaScript, for which we would like to add EEG triggers via a parallel port.
After quite some Google searching, I am impressed how complicated it seems to set parallel port pins via JavaScript.
Therefore my question: Is there an easy solution you could recommened?
We are using a Windows 10, 64 bit system.
I tried to install the node package "parport" via npm but with no luck (fails with error "ERR! code ELIFECYCLE"), which I couldn't resolve.
I am also open to options using PHP or HTML, if there are any.
Any help or pointers are very welcome and highly appreciated.
Thanks,
Nico
Relevant answer
Answer
Not clear your exact requirement.
I think you are trying to create a web app to manipulate EEG data?
hope you can do use a simple php web service for that.
if you trying to render your data. you can use react js (with charts)
  • asked a question related to PHP
Question
4 answers
Hi everyone,
my question is related to post hoc when dealing with huge size effect, e.g. Cohen's d> 2.
No one asked me to perform this kind of analysis, it is just a matter of personal curiosity. It is claimed that in post hoc power analyses, p-value is in a 1-to-1 relation with the observed power, and this is clearly true. However, for huge size effects, I used a Monte Carlo simulation to understand if this holds anyway. Surprisingly, the curve shows a quite big area instead of a line (you can see it attached, N=1000 experiments from normally distributed populations).
Am I wrong to say that for huge size effects, PHP analysis gives reasonable results?
Relevant answer
Answer
Given power is determined by a small set of things, like effect size (so in pre-study power, the min effect size to detect) and sample size, you should think if reporting power adds anything to reporting these.
  • asked a question related to PHP
Question
41 answers
I would like to build a simple movie web application in which users register, then they have to answer some questions (about movie features like genre, actors, etc.) and rate movies. The goal is to make a dataset for my university research (not for commercial use), to collect users' ratings on movies and also features of movies.
I searched a lot to find the quickest way to build this app and finally I found PHP easier for me (also because I built my database with Mysql and I use Apache as a web server)
I also searched for some popular frameworks for PHP like Zend framework, Joomla, Symfony, CodeIgniter etc. Now I am actually a bit confused and I am not sure if I have to build it from scratch or using a framework (and if I have to use framework, which one is better in my case?)
I really appreciate any help and if there is a good tutorial for me.
Relevant answer
Answer
There are many methods to build a web application. Modern PHP frameworks containing Laravel, Symphony, Zend Framework, CodeIgniter, Cake2 and Phalcon follow the Model View Control (MVC) pattern that separates presentation, logic, and advanced web development practices. Laravel is a new PHP framework; however, it is the most popular in building rapid website or application development.
Laravel and Vue.js is a great combination so that developers can build a completed full-stack website.
  • asked a question related to PHP
Question
7 answers
How to extract website content of HTML pages ?
  • asked a question related to PHP
Question
9 answers
I want to access and communicate over serial port using PHP. How can I do that?
Relevant answer
Answer
Yes you can Use the PHP-DIO library
  • asked a question related to PHP
Question
12 answers
I have got some data (humidity and temperature) in real time with IOT and saved them on a database. Now I want to create a web page to monitor real time weather data in control charts. How do I plot real time control charts on a web page using MySQL data and PHP?
  • asked a question related to PHP
Question
13 answers
CodeIgniter, Yii, Laravel, Zend, Prado, CakePHP, Simfony
Relevant answer
Answer
But one should not overlook the power and successive updates and powerful support of Laravel
But my suggestion is to you Laravel
  • asked a question related to PHP
Question
12 answers
Do we have a opensource Project for for Payment gateway in PHP?
Any flow Diagram for Payment gateway design?
  • asked a question related to PHP
Question
5 answers
What is the PHP code for running a link without redirecting?
Relevant answer
  • asked a question related to PHP
Question
4 answers
I am currently working on a project where I am testing the effectiveness of te implemented security measures.
I was wondering how the effectiveness of php sanitization functions, filtering functions can be best tested.
Relevant answer
Answer
the answer's hidden in your question: google "penetration test for php" with "kali Linux" you will find a lot of things.
  • asked a question related to PHP
Question
3 answers
Where can I find a PHP code takes a string, and match it with the content of the PDF file, and return the complete sentence from the file?
Relevant answer
Answer
I personaly use this library (https://en.wikipedia.org/wiki/Pdftotext) to extract text from PDF with PHP and than make what do you want with text.
In attachment a sample script show how to use it.
  • asked a question related to PHP
Question
8 answers
I’m trying to implement semantic similarity based on Normalized Google Distance and i have many problems to obtain correct data. I tried to simulate browser, get data via Google API (PHP, Java, R, Google Docs) and every time i had different results. Is there any proper way to get accurate and current data?
Relevant answer
Answer
1) They do not provide in their API the same results as in Google Live.
2) The results are just an estimate of the total. If you navigate through the results pages you will see that for some queries there are actually less results than the number they show you.
3) Another point is that it is very difficult to compute NGD, you can check this thesis (chapter 4 (also 3)) as an alternative (method CBM): http://www.dbd.puc-rio.br/pergamum/tesesabertas/1012681_2014_completo.pdf
  • asked a question related to PHP
Question
3 answers
I have got some data (humidity and temperature) in real time with IOT and saved them on a database. Now I want to create a web page to monitor real time weather data in control charts. How do I plot real time control charts on a web page using MySQL data and PHP?
Relevant answer
Answer
You can use D3 (https://d3js.org/). It is a javascript library for graphs. However, for real-time applications, I believe that you need use AJAX.
  • asked a question related to PHP
Question
5 answers
If ANN model is created using MATLAB 2015a or later. How this model is used in other programming languages e.g. Python, PHP or any.
How can I pass parameters if the input of the ANN model is two, three or more.
Recommended language that implements OOP appraoch.
Relevant answer
Answer
Hi,
When you are faced with big data it takes a long time to train the networks, so it would be better to implement the code with C or C++ . if you want to easily implement your code, Python, Matlab or Octave are good choices. Note that Python and Matlab can perform codes faster if they are written based on Linear Algebra.
Good luck.
  • asked a question related to PHP
Question
6 answers
What is the PHP or Javascript code for continuous running the several links without redirecting?
Relevant answer
Answer
you could simply iterate over the different variables and keep the base url the same
for(var id=0;id<5000;id++){
document.getElementById('targetFrame').src=baseUrl+id;
}
  • asked a question related to PHP
Question
5 answers
I'm taking a class where I need to run a PHP web page on Internet Information Server. I have followed every instruction I can find and still I keep getting an HTTP 403.1 error: no handle. I have Windows 10, PHP 7.2, IIS Express 7. Any software networking pros out there?
Relevant answer
Answer
Hi John
Let me start by asking you why you need to run IIS on Windows 10? Windows 10 is a Desktop machine, and what you need is a proper Server environment to do this properly. IIS is a poor man's mock up of a server. You would be better off with a more robust approach, such as using some Web installation software such as XAMPP, which allows you to run Apache 2.4, MySQL 5.5 and PHP 5.6 inside a running web environment within your desktop. You can find out about XAMPP, and download it for Free:
Another option would be to install VirtualBox on your Desktop. This would allow you to configure a full Linux Server running on a VirtualBox instance inside your Desktop. You can then use the same Free software as XAMPP above.
However, with a VirtualBox server instance, you can run this as a standalone server inside your Desktop which can run at the same time. This will behave far more like a proper server, but will take just a little more work.
Both options will behave far better than IIS, which in my opinion is a bit of a pig to configure successfully. At least the above options will actually work properly, and you can use your browser to access your web pages to test how they are.
I would also not recommend using IIS because it is dreadfully insecure. Your Desktop is quite secure, but when you run IIS on it, you open it up to all sorts of terrible people trying to do terrible things.
I hope that helps.
Regards
Bob
  • asked a question related to PHP
Question
8 answers
I want to use the Java classes in the PHP snippet with the help of javascript or JQuery. As i found one way, using command prompt.. But is there any standard or direct connection exist? I tried but in real-time it won't works smoothly.
Relevant answer
Answer
I will recommend the following:
  • ScriptEngine
  • Rhino
for the first one:
he Java ScriptEngine API support many Scripting language like
JavaScript
for the second one:
an open-source implementation of JavaScript written entirely in Java
Best
  • asked a question related to PHP
Question
19 answers
nowadays, everyone is talking about IoT and machine learning? python and R programming languages have gain huge popularity lately. I am wondering is it still vital for programmers to learn
PHP which was once a popular programming language or they should focus on those related to cloud programming.
Relevant answer
Answer
PHP is an evolving web programming language and most active websites still using PHP in some sort of way. Hence, no doubt that php is still an important language. Since current hot topics are related to cloud and machine learning, people tend to discuss more about cloud computing than web programming languages like php.. I supposed Python is now the fastest-growing major programming language and has greater popularity than others.
  • asked a question related to PHP
Question
7 answers
We are asking somebody who can help us about calculation of the Lyapunov exponent from experimental time series. We could not find numerical routine explicitly written in any of the most common languages: FORTRAN, C, PHP, BASIC, PASCAL PHYTON
Relevant answer
Answer
Dear Sir,
You may use Non Linear Dynamical Toolbox (NDT), I have used it many years ago. https://www.pks.mpg.de/~tisean/TISEAN_2.1/docs/indexf.html has many free program that you can freely download.
Regards,
  • asked a question related to PHP
Question
4 answers
I am beginning at an PHP and IOP eating disorder clinic and I am new to this field.  I am interested in following latest research on effective treatment methods as well as assessments.  I am unfamiliar with who is also working in this field. 
Relevant answer
Answer
Hi Jenifer, and welcome to the field of eating disorders. It's great that you are wanting to familiarize yourself with research and I endorse Claire and Stephen's answers. Organizations such as the Academy for Eating Disorders and the Eating Disorders Research Society (who are holding their annual meeting next week in Leipzig, Germany) are great ways of keeping up with the latest research developments and clinical options and recommendations. Sign up for the AED conference in Chigago in April, 2018, I'm sure you'll benefit a lot from that. Also, take a look at what is published in professional journals on eating disorders - the International j of EDs; the European ED Review; Eating Disorders, Treatment and Prevention; the Journal of ED, Appetite, Eating and Weight Behaviors and more... You can look up the authors of articles that interest you and find more of their research. And meet a lot of them at the AED conference! Good luck, Rachel.
  • asked a question related to PHP
Question
7 answers
I have seen many examples of encryption up to about 256-bit. But how does one programmatically scale the logic upwards in a language such as PHP or Java to say 1024-bit or even 4096-bit and higher?
Are there any websites that explain the workings of a very large encryption on a modern 64-bit computer? For example what kind of numbers (Long Int, Double, etc.) would one use and how can one even extend that range and still keep it computable to the computer?
Would this scaling's security be compromised by the limitations of the processing power available, i.e. 64-bit processor?
I understand that time is a factor in very large encryptions, but in this case time doesn't matter that much.
Relevant answer
Answer
Let's sort out a possible misunderstanding: n-bit security means that any attacker needs at least 2^n operations to break the system in some specified sense.
AES-128 is believed to provide about 126-bit security.
RSA-1024 is estimated to provide about 80-bit security.
The length of the key is related to the security level, but it's not the same. The question asks for 1024-bit security or more which seems to think of RSA.
However, these statements are not mathematically sharp as up to date no one can prove things about "all attackers", for example Cook's hypothesis P \neq NP is still open. Have a look at https://www.cryptopp.com/wiki/Security_level.
As mentioned, 3AES-256 would be twice as secure as AES-256, so you can scale (and iterate that if need by). Unfortunately, the ratio between key length and security level gets worse with each tripling. X-AES does *not* provide better security against linear or differential attacks, despite a longer key. Peter's proposal is better here but amounts to the construction of new ciphers which have to be analyzed first.
Moreover, better hardware -so far- can only gain constant factors. So it does not matter that much whether you are using a 64-bit architecture or something else.
  • asked a question related to PHP
Question
7 answers
Hello Community,
I'm not very familiar with these kind of tasks and my web development skills could also be better. If anyone is familiar with how to get the source code of an external web site using jquery, javascript, ajax or whatever it would be very cool! :-)
The situation is as follows: I have a list of URLs that were built using a CMS. To the CMS, however, I have no access whatsoever. The previous task was to move all the images by Drag&Drop from an old destination to a new one. Since I'm sure that a lot of images were skipped, my idea was to search the source codes for each occurance of "<img" until a ">" appears. Then within each of these substrings I would search and test whether the new path is missing, and if so, I would list the image name and the page it appears on. That would facilitate the task of checking for forgotten images a big time. My idea was to obtain the source code of these URLs as a sting-variable and fill it into a text area within an html form. Then, once one site was completed, it would do the same for the next page, and so on. The problem with this method (php) is that it requires that the site is refreshed after loading each source code. Maybe some javascript method would be faster?!
I would also appreciate other, maybe less awkward ideas. Also if anyone could hint me to some code snippets I would be very happy.
thanks in advance,
Martin
Relevant answer
Answer
If you have a bunch of URLs and you have PHP, then a quick 10 line script will give a simple solution.
- Loop through the URLs
    - Use file_get_contents to read each webpage into a string (the scrape!)
    - Use preg_match_all to seek the tags within the string (pattern matching)  
    - Display / log matches
- Continue loop 
This may need to more "stuff/tweaking" depending on the scale of the problem (how many URLs have you to got to check?)
  • asked a question related to PHP
Question
2 answers
I have a PHP code which does some image processing functions and depending on the input size, it takes from one minute to 20 minutes (and sometimes forever) to execute it. I checked the ram usage in task manager, it is not crossing 230 MB and I thought of increasing memory usage of the apache server but I am not successful in it. Please suggest me how to increase the ram usage of apache server in wamp(Windows).
Relevant answer
Answer
Dear researcher
you can check this attachment also.
Regards 
  • asked a question related to PHP
Question
10 answers
I am designing a document reccommender system, where i need to use maching learning algorithm for document classification and PHP language do not have libraries available to do this task. as i have to play with user behaviours as well that's why i have designed my application in PHP. Is it possible to use python/java for document classification (using machine learning algorithm such as SVM, Naive byes) and use its results in PHP application?
Relevant answer
Answer
If your application is enterprise, the best way is to use general integration patterns like Web Services or Messaging. This way you can integrate PHP to Java, Python or every other programming language. Also you can decouple the implementations of front-end (PHP) & back-end (Java/Python) in a very clean manner.
There are a lot of Web Service (SOAP/REST) libraries or Messaging libraries for either PHP, Java, Python or other languages. You can find the best option which is proportionate for your application by searching in google.
  • asked a question related to PHP
Question
19 answers
Most of my web development is on .net framework (ASP.net with VB). Some of my friends suggested to learn php as it is open source as well as can get help from online easily. But from my perspective i think open source development can get attacked by malware.
Relevant answer
Answer
Dear Syed,
I you wish to create a static website,basic HTML knowledge with CSS and jQuery is enough...Angular JS will be added advantage.But if you go for dynamic website you should have some knowledge with PHP,Perl etc.
  • asked a question related to PHP
Question
3 answers
Can anyone suggest papers related to soil and water analysis and create a database using sql and php?
Relevant answer
Answer
Are you wanting a database to store the information and a front-end application (made in php) to create reports? I may be able to help out.
  • asked a question related to PHP
Question
2 answers
I wanted to send an email by using the mail() function in php using wamp server. I have changed the setting in php.ini for smtp server, but am still getting the warning, "Warning: mail(): SMTP server response: 530 Authentication required in C:\wamp\www\sammail.php on line 20".
Please suggest a possible solution for this.
Relevant answer
Answer
better to use the classic email sending library for PHP:  PHPMailer:
you can download it here:
and here is instruction how to use it with wamp:
  • asked a question related to PHP
Question
3 answers
can I use sql with php , javascript , css , html? 
Relevant answer
Answer
if you mean mysql (by sql) y can do it using querries:
now in javascript you can't do that --> you need to use ajax
html and css are for web page creation and design only u must use php (<?php ..... ?>.
  • asked a question related to PHP
Question
4 answers
I want to use PHP to pull data from the PostgreSQL Database into my application. I wanted to know whether this method is secure, if my various users will have to interact with data.
Relevant answer
Answer
restful api.
  • asked a question related to PHP
Question
16 answers
i am using only text editor for designing my website now.. even though it is useful for me to develop my programming skill, but takes too much time to design forms.. is there any free IDE available to do this....
Relevant answer
Answer
I agree Vincent, you should try Netbeans since you can debug.  You should install xdebug (http://www.xdebug.org/) on your test server to do remote debugging.
Currently, I do not know about a PHP IDE that has a form designer.  And since there are many PHP frameworks out there, the forms code depends on the form helpers of the framework.
  • asked a question related to PHP
Question
11 answers
I am developing a web server for a purpose. I have my core programming stuff in perl language. So I want somehow, I can execute my perl console when user gives input from php and html interface.
I tried some php functions, which I got on web like exec and shell_exec. But these all found to be good for nothing. Sometimes I found some perl script got executed in browser only but failed to fulfill the need due to unavailability of supporting packages in browser.
So I want that perl script should be executed in its console not on web. 
Please help me as soon as possible.
Thank you.
Relevant answer
Answer
use system function to run the perl script if in windows or wamp server.
system()- Execute command line 
exec() - Execute an external program
passthru() - Execute an external program and display raw output
popen() - Opens process file pointer
escapeshellcmd() - Escape shell metacharacters
pcntl_exec() - Executes specified program in current process space
example
$str_pass="perl abc.pl ".$dir_name;
system($str_pass);
  • asked a question related to PHP
Question
4 answers
I have a database with millions of records stored in it. I want to implement Search and Functionalists in My db with some AI and data mining techniques and methods.
Suggest me Some Algo, Methods and  Techniques for implementing this with AI. So that it becomes more and more efficient as the time passes.
It would be nice if anyone suggest with keep in mind that I am working with Python Frameworks and PHP.
Relevant answer
Answer
YOU CAN USE WEKA AND RAPID MINER TOOLS. THEY HAVE GOT VERY RICH FUNCTIONALITY FOR ALL THESE TASKS.
  • asked a question related to PHP
Question
14 answers
Maybe we should compare these three languages according to:
  • Rendering Performance
  • Database Communication Performance
  • Cache Performance
  • Most Extendable (Gives the liberty to do almost anything with fair understanding)
  • Biggest Developers Community
  • WebServers Statistics (Running on those languages)
I won't include C, although there is a framework that runs on C called Raphters, I think the "Most Extendable (Gives the liberty to do almost anything with fair understanding)" point excludes it right out of the box unless you suggest it and that you know that is really good in the other points.
Relevant answer
Answer
There are a few more fundamental things to consider first. Which programming language is the right tool might be dependend on that:
First you should think about the general architecture of your project: Is there a lot of (real-time) connectivity between the client and the server? Then you should consider asynchronous programming. PHP or Ruby would be a poor choice, if that's the case. Also consider how you want to distribute the actual programming logic between the client and the server. If you want your web-application to feel reactive and modern, you'll likely have to move much to the Client. On the Client-Side you won't get around JavaScript. This might go as far as the server could be an API for persistance and some server-logic only.
Second, after you've decided your general approach, I think the choice of a Framework is more important than the programming language itself. After all, you'll spent most of the time with the workflows/APIs and limitations of the chosen framework. A programming language does not put so much limitations on you and is usually learn relatively fast.
If you mention performance: Of course there are languages that tend to be slower, Python and Ruby usually fare on benchmarks worse than JAVA or JavaScript. BUT that might be a misleading conclusion. If you want to have fast performance, you have to learn how to write fast running code - whatever language you chose. 
So my conclusion would be: The Programming Language is maybe one of the least important choices. You should rather take a deeper look into  the architectural choices you have and try around with some frameworks.
My personal oppinion: If you want to "shine" on the web, why not go with a pure JavaScript Aproach and use Node.js on the server? This might be not as mature and widespread as the PHP envirionment, but thats where a lot of innovation on the web happens right now. And you have to learn JavaScript anyway, since you'll need it on the client.
  • asked a question related to PHP
Question
4 answers
Like Github but with additional feature for hosting
Relevant answer
Answer
Many web hosting providers have a free tier or a free trial of their services so you can use their services for testing. Git repositories can be setup to automatically copy across your code to the web hosting provider through scripts associated with hooks.
If you do not wish to write your own scripts, you can use a service such as FortRabbit or PhpFog. Both providers have a free tier and support deployment through Git.
  • asked a question related to PHP
Question
5 answers
For some months I have been looking for a good textbook on how we can use the PHP language for scientific and engineering applications, but so far I have not found any. For example, I'd like to know how to solve differential equations using PHP code. So if somebody knows any good PHP textbooks on this topic (downloadable ebook is preferable), please kindly let me know.
Relevant answer
Answer
Here is a rather simple introductory textbook on PHP language for scientific and engineering applications, Alas,it does not give recipe for solving differential equations.
  • asked a question related to PHP
Question
4 answers
I am developing a Part-of-Speech (POS) Tagger system for isiXhosa one of South African official language. The system needs to be intelligent enough such that it identifies POS of each word (e.g. noun, verb,...) based on the context that the word is in. The problem with POS tagging is the issue of ambiguity. One word can have more than one POS.
Example: The word book;
1. I want to book a 07:30 flight to Cape Town.
2. Xolani can you please pass me that book.
The word book from the above two sentences have different part of speech tags (i.e. verb and noun respectively). The same problem occurs for isiXhosa and it is what I am solving.
Now I want to use Maximum Entropy Markov Model (MEMM) to solve this problem. My problem is the implementation of MEMM in PHP, can someone refer me to a link that will help solve this problem.
Thank you in advance
Relevant answer
Answer
I really don't think you want to have this as PHP since its will be very inefficient. I would recommend you do the 'back-end' work on a Python/Java program and just pass the results to PHP. PHP scripting is designed for basic sever-side things, not something like what you want to do. There are many ways of connecting Python/Java to PHP, and I am sure you can find an MEMM implementation in those languages.
  • asked a question related to PHP
Question
3 answers
Does anyone know a good alternative to Doxygen for generating documentation for a PHP project with proper documentation annotations for classes, member elements, methods etc.
I am trying to find a suitable replacement, hopefully an open source or at least a free solution for automated documentation generation.
Relevant answer
Answer
ApiGen works really fine. Recommended!
  • asked a question related to PHP
Question
13 answers
I have to create a server which can be accessed by the people which are connected in LAN as well as the people which are not connected in LAN. Please suggest a proper solution.
Relevant answer
Answer
The following link may be helpful for this:
Moreover, you need to purchase a public IP from your ISP.
  • asked a question related to PHP
Question
9 answers
I'm looking for an educational tool for developing dynamic web sites using:
PHP
MYSQL
Relevant answer
Answer
Netbeans and Eclipse are open source. PhpStorm from jetbrains is a great idea but is paid.
  • asked a question related to PHP
Question
7 answers
The database needs to handle large scale data (12 Mio entries at a time).
Relevant answer
MySQL is controlled by it self, as you know its a DBMS.
PHP is just used to retrieve data from MySQL database. Therefore, I think you should look for the MySQL DBMS optimization.
What type of data it is? What do you mean by processing 12M data at a time? If your database has 12M entries and you want to update and retrieve data, then you need to improve your searching algorithm in your PHP script. However, this will improve the performance of the program, not the MySQL database.
These are my 2 cents.
Good luck,
Sarves
  • asked a question related to PHP
Question
4 answers
I have a php script with that I have to run clustalw and display the results in browser.
I used the command
system("clustalw -INFILE=$in -ALIGN -MATRIX=$matrix -GAPOPEN=$gapopen -GAPEXT=$gapext -GAPDIST=$gapdist -OUTORDER=$outorder -OUTPUT=$output -OUTFILE=$out >result.txt");
I have installed clustalw for linux and also I am able to run the above mentioned command in terminal and outfile is produced.
If I run the same command in php script clustalw worked and outfile is not produced.what might be the reason?
Relevant answer
Answer
I don't know php but if you consider perl and calling another program from web browser then look for:
1) do you have the write permission to the directory where the output file is to be generated
2) view you Errors in browser "display_errors = On ", this might give you some indication where it went wrong.
3) If you using the php script for you own then it is ok otherwise it is not safe to call system cmd and its following part in a double quote
  • asked a question related to PHP
Question
5 answers
How do I upload multiple files like images, audio, video and also keep restrictions on it like their extension, size etc. I searched around but I didn't find the code for it. Any advice?
Relevant answer
Answer
Google is your friend!
a) no frills multifile upload: http://www.phpeasystep.com/phptu/2.html
c) off-the-shelf solution: http://www.uploadify.com/
to name a few. Hope that helps.
  • asked a question related to PHP
Question
3 answers
I have the network model for my PhD research for specific organisms. Now I would like to prepare the network model browser like facility amongst this network model.
Please suggest the procedure to display this SBML/XML file as web browser on my website.
Relevant answer
Answer
I'm not sure if I understand, but I've got a hunch that you might be after something like CellPublisher...
  • asked a question related to PHP
Question
5 answers
I want to enhance some modules inside Moodle software, but the most problem is I have idea what I can enhance, but I can't change inside the code of Moodle. I don't have good experience about that.
How can I change and add some page by PHP, inside Moodle software?
Relevant answer
Thank you very much prof. Afaq Ahmed for your Quick reply,
is it possible to add some page inside Moodle using PHP
if it is possible how can we do it?
  • asked a question related to PHP
Question
10 answers
Usually metadata in the form of RDF triples are stored within databases, called triplestores. However, in order to expose them through a web page in the RDFa format, you need a way to dynamically query the RDF database and the results should be returned as RDFa annotations inside HTML code. I could not locate tools / frameworks that ease such a task. Should this be done programmatically through PHP, ASP, etc.? Or is there an easier way?
Relevant answer
Answer
Hi Nick,
i know a Apache Project called Stanbol that can enhance Plaintext based on so called enhancer chains with RDF Data.
  • asked a question related to PHP
Question
2 answers
I have to use Lucene to solve a problem and I've no experience in Java.
Relevant answer
Answer
Thanks!
  • asked a question related to PHP
Question
7 answers
I'm working on my final project of using Google CSE API. I intend to create a domain-specific search engine in which the results only return for a particular domain (here, I intend to create statistical search engine).
Google gives developers a feature to filter the search results even more, I might only use that. But I decided to use a classifier on the results returned, so I need XML data format or something, then I can filter the results (do classification on them). If its only the HTML format I get, I won't be able to explore more (like doing classification on it).
But still, I haven't really understood the way to retrieve the XML data format for the results returned. I just know about the http request or something.
For more details about my problem, I enclosed the screen-shoot of my current project. I intend to chop the results (into the statistics-related only). That's why I need the results returned in XML format or something else, and present the final results from the classified -XML..
And I use PHP, Javascript and some other web programming languages.
Relevant answer
Answer
The first link leads to an example where a text expression
is interpreted as a JSON object, which is then parsed
by eval(...).
What you could do is to create the HTML file with the JavaScript
in it by program. At the place where the variable txt is assigned
you could insert the JSON output of your program. Then you
must, of course, run the JavaScript program to do something
useful with it.
Writing a JSON parser by oneself is simple, but I'm convinced
there is code available in any language. At the first glance
the PHP function json_decode does the job (I don't
use PHP).
Regards,
Joachim
  • asked a question related to PHP
Question
6 answers
I am trying to send a mail by PHPMailer, but some mailproviders can not receive this due to mailscanner facility. It is possible if SMTP authentication is provided. I want to know about the relation between php and SMTP.
Relevant answer
Answer
The main difference with these is that if you are using SMTP there are less connections to the server.
If you are sending via cron you will find that there is a slight increase in speed as there is a smaller overhead in regards to the connections.
However, if your mail server is optimized in anyway then the server that is set up better will obviously increase your speed of sending.
You should talk to your host to find out if mail server optimization is a service that they offer as the mail server is where your send speed will bottleneck.