PHP is an open-source server-side scripting language widely used in web development. Use this tag for questions about PHP classes, methods, functions, syntax and use.

learn more… | top users | synonyms (6) | php jobs

0
votes
0answers
8 views

Failed to conect iphone Push

This is my connection string $per_file_path = file_upload_absolute_path()."calert.pem"; $ctx = stream_context_create(); stream_context_set_option($ctx, 'ssl', 'local_cert', $per_file_path); ...
0
votes
0answers
6 views

htaccess not load css and background images in socialengine4

In my site I want to redirect some pages from "http" to "https" and after leaving these pages url should be "http". I put some rules in existing htaccess file. It working properly in all browsers ...
0
votes
1answer
23 views

How to create comment box in PHP without database?

I'm a noob trying to get some functionalities done on a website. Unfortunately, I have very little authorization, so I would like to create a comment box as simply as possible without the use of ...
0
votes
1answer
8 views

Connect to sample SOAP 1.1 with PHP

Hello i need to connect to SOAP web services with password, username and SourceId in php. the SOAP request is: POST /webservices/AgentOnlineReservation.asmx HTTP/1.1 Host: 54.228.189.53 ...
-1
votes
1answer
42 views

PHP/MySQL, How to update just some records in database, not all at once?

Can anyone tell me how not to update all my records in table. This is my update statement. public function update() { try { $form = new Form(); $form ->post('id') ...
0
votes
2answers
20 views

How to parse this XML?

example for xml= http://catalog.viglink.com/vigcatalog/products.xml?key=7833311c212d309916a780221309a84d&keyword=samsung I can only get here <?php DEFINE ...
0
votes
0answers
11 views

PHP: What is the relationship of asmx and WSDL to SOAP?

I have a username and password to use this server, but being new to asmx and WSDL, I'm not sure what method in PHP to use to successfully do a SOAP request. This is the URL: ...
-1
votes
1answer
59 views

How should I write an OR inside an if statement? [closed]

I feel quite stupid asking this question but I've read the documentation for if and or in php.net without success. MAJOR EDIT (i've posted a working code instead of my faulty code) This code: ...
0
votes
2answers
18 views

How to send array of elements from iOS to PHP webservice

I want to send array of <Full name, Email> pairs to my php webservice. Should I use NSMutable array of dictionaries? What is the proper way? Update: I want to send in JSON.
0
votes
0answers
6 views

Embedded video not displaying on website which is hosted on amazon ec2 instance

I have one problem. I have host my site on amazon ec2 instance. Everything working well on website excepting some youtube embedded videos that are not displaying on web page instead of this it shows ...
0
votes
0answers
14 views

pdo/xml how to use records selected by database and put into html select tags

My problem is the following. I have some select html boxes that have to be populated by xml nodes. <province> <provincia value="PE">Pescara</provincia> <provincia ...
0
votes
2answers
44 views

PHP Rename and illegal filename

I have a strange problem with renaming an existing file: I have on my server a series of html files that need to be selected via a file selection dialog and then renamed. The form that opens the ...
0
votes
0answers
9 views

Running composer commands from php?

I'm looking at creating a modular application (in this example, assume its something like Wordpress where you have 'plugins'). The 'plugins' will each be their own little MVC structure. What I want ...
0
votes
0answers
7 views

How to create a UML diagram from a XMI file?

I need to create a (UML) diagram from existing PHP source code and stumbled upon the phpuml tool as suggested here. However, this tool created a xmi file, and no diagram. Since I am lost as another ...
0
votes
4answers
26 views

Database error doesn't get values inserted phpMyAdmin

ctimings.html <html> <head> <link rel="stylesheet" type="text/css" href="cstyle.css"> // <script type="text/javascript"> // ...

1 2 3 4 5 26735
15 30 50 per page