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
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
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?
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.
How to extract website content of HTML pages ?
I want to access and communicate over serial port using PHP. How can I do that?
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?
CodeIgniter, Yii, Laravel, Zend, Prado, CakePHP, Simfony
Do we have a opensource Project for for Payment gateway in PHP?
Any flow Diagram for Payment gateway design?
What is the PHP code for running a link without redirecting?
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.
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?
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?
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?
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.
What is the PHP or Javascript code for continuous running the several links without redirecting?
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?
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.
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.
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
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.
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.
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
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).
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?
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.
Can anyone suggest papers related to soil and water analysis and create a database using sql and php?
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.
can I use sql with php , javascript , css , html?
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.
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....
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.
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.
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.
Like Github but with additional feature for hosting
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.
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
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.
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.
I'm looking for an educational tool for developing dynamic web sites using:
PHP
MYSQL
The database needs to handle large scale data (12 Mio entries at a time).
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?
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?
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.
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?
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?
I have to use Lucene to solve a problem and I've no experience in Java.
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.

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.