Array ( [kanye] => Array ( [0] => Kanya [1] => Janaye [2] => Kayne [3] => Kane [4] => Kaye ) [wst] => Array ( [0] => ST [1] => St [2] => st [3] => EST [4] => West ) )
Array
(
[0] => Kanya
[1] => Janaye
[2] => Kayne
[3] => Kane
[4] => Kaye
)
Array
(
[0] => ST
[1] => St
[2] => st
[3] => EST
[4] => W...
Hi there,
I'm a little stuck, it's due to my inexperience with html/css and iframes.
Basically, I've got a LH column, which is my menu. and a RH column which house's my content. the RH column is a iframe.
The problem is i can't get the height of the iframe to equal 100%, it's constrained by the height of the LH column.
See below;
h...
Hello,
Am not sure if what I am doing is absolutely correct. But here goes:
User logins into chat via web-based interface
User is informed of updates via Comet
User enters details which goto a PHP file which further connects to a Jabber server
Now the problem is that when the user wants to send a message, its simple, run php in whic...
Duplicate:
How do I find a user's IP address with php?
Edit: Server is a Debian linux box running PHP5 through suPHP. Above post has been read. This code covers all points mentioned but still returns unknown addresses.
My code always requires that the remote IP address be known. It doesn't matter if we pick up the proxy address on...
I recently found this post on SO:
best-resources-to-learn-javascript
and have really learned a lot from Douglas Crockford's video series.
I'm not new to PHP, but I would like to see a comparable video series on PHP (either from a beginner's perspective, or from a more advance angle)
Can anyone suggest similar videos / lecture series...
I need to selectively flatten an array in PHP, but do it selectively. If a key matches a pattern then all sub elements below that key should be included in the 'flat' output.
SO If I had a catalogue of music:
=> array of albums => each of which is an array of song titles
Then I could search for a string, and would get a flat array in...
Hi,
What is the easiest way to convert a PHP script (.php) into OpCode/Bytecode (Operation Code) using C#? I can use DLLs if I have to.
I need this to be done for the project I am working in order to analyze PHP code easier.
Any thoughts or ideas are welcome.
...
Currently I am using ImageMagick to merge multiple PDFs into one in a PHP script on my Linux system. However, the resulting PDFs are of very low quality. I have stumbled across pdftk which seems to have a better quality after the merging, but I need to use ImageMagick if possible because I need to get the script to run on another server ...
I am trying to create an RSS feed in PHP using DomDocument but every time I try to make a node like http://domain.com the script fails
$oDomDocument = new DOMDocument( "1.0", "iso-8859-1" );
// Create the root now
$oRootNode = $oDomDocument->createElement( "rss" );
$oRootNode->setAttribute( "version", "2.0" );
$oDomDocument->appendChil...
What is supposed to happen is that a row gets inserted into a table, then that row's id is selected by means of comparison of the name and surname of that particular entry.
The id returned is then inserted into another table:
$result = false;
$result = mysql_query("INSERT INTO `reunie` (`naam`, `van`,`nooiensvan`, `selfoon`, `email`, ...
Hi,
I just enabled Failed Request Tracing for a site and I get a URL_CHANGED event as the third item on the log.
1. GENERAL_REQUEST_START SiteId="1", AppPoolId="DefaultAppPool", ConnId="1610613013", RawConnId="0", RequestURL="http://example.com:80/test/wp-admin/", RequestVerb="GET" 15:35:54.176
2. GENERAL_SET_REQUEST_HEADER HeaderName...
Hello all,
My PHP application is taking user input and sending it to a WCF Web Service.
Sometimes my users copy and paste from Word and get UTF-16 Characters into their message such as the "En Dash" \u2013
I get the following error when this occurs.
PHP Fatal error: SOAP-ERROR: Encoding:
string '\xe2...' is not a valid
utf-8 st...
Hi
I have a problem with reverse for regex routes, my config file is below:
routes.route1.type = "Zend_Controller_Router_Route_Regex"
routes.route1.route = "([^\,]+)([^p]*)(?:\,page_[0-9]+)?\.html"
routes.route1.defaults.controller = "index"
routes.route1.defaults.action = "find"
routes.route1.map.1 = "url_path"
routes.route1.map.2 = "u...
Duplicate: PHP validation/regex for URL
My goal is create a PHP regex for website name. The regex is for a lead gathering form and should accept any legit kind of website name syntax that someone might enter. After an exhaustive search, I'm surprised that I can't find one out there.
Here are the regex matches that I'm looking for:
...
Hi, I am trying to loop though my users database to show each username in the table in their own row. I can only get it to show one user but loops through this the number of rows there are. Code is below
<?php
require_once ('../login/connection.php');
include ('functions.php');
$query = "SELECT * FROM users";
$results=mysql_query($quer...
Can I use TIBCO General Interface with PHP? Or better, with CakePHP? If it's possible, how can I do that? Maybe some documentation in the web? (I search but I don't find anything). Thanks.
...
The site I am developing in php makes many MySQL database requests per page viewed. Albeit many are small requests with properly designed index's. I do not know if it will be worth while to develop a cache script for these pages.
1) Are file I/O generally faster than database requests? Does this depend on the server? Is there a way to ...
Bear with me if this is unclear; I have trouble fully wrapping my head around this (hence why I am here to ask for help).
I have an array that looks like this:
Array
(
[DimA1] => Array
(
[DimB1] => Array
(
[DimC1] => Array
(
[value1] => 13708
...
My boss has a windows application that he wrote. It is not a Windows console application, but a Windows GUI application. We, of course, have the source code, but he does not want it to be a console app. He wants it to remain a regular GUI application.
The thing is, he wants to be able to call it from PHP, passing it parameters, and h...
Hi, I'm trying to merge two arrays for the values of array1 that are set
Array1 ( [0] => false [1] => 200 )
Array2 ( [0] => true [1] => 80 [2] => 60 [3] => 75 [4] => 50 [5] => 0 [6] => 0 [7] => 30 [8] => 40 )
for instance result array:
Array3 ( [0] => false [1] => 200 [2] => 60 [3] => 75 [4] => 50 [5] => 0 [6] => 0 [7] => 30 [8] => 4...