Search:
Type: Posts; User: rogernem
Search:
Search took 0.03 seconds.
-
August 12th, 2014, 10:56 AM
In C# I can use the following to get information from the IIS Server Object
DirectoryEntry entry = new DirectoryEntry("IIS://" + server + "/W3SVC", "user", "pass");
In VBS I can use the following...
-
June 26th, 2012, 02:38 PM
I get a float value from a xml file and I assign this value to a variable
$value = 13.80;
When I do number_format($value,2,".",","); I get NULL. Any ideas why?
When I try echo empty($value)...
-
April 30th, 2012, 04:05 PM
Perfect. Thanks so much for clarifying.
-
April 30th, 2012, 03:35 PM
actually mbstrings are not the problem.
so strlen actually counts the number of bytes of a certain character instead the character itself?
Because the manual doesn´t make that clear
strlen...
-
April 30th, 2012, 01:06 PM
header("Content-type: text/html; charset=UTF-8");
ini_set('mbstring.internal_encoding', 'UTF-8');
$data = '$1�2';
echo strlen($data);
Instead of 6 I am getting 9. Can someone explain...
-
February 23rd, 2012, 08:43 AM
-
February 23rd, 2012, 06:24 AM
I have a table (SHOPS) as follows:
ID | PRODUCT | QTY
1 | 5 | 1
2 | 5 | 1
3 | 5 | 2
4 | 10 | 3
5 | 12 | 1 ...
-
January 12th, 2012, 05:33 PM
I know I can send emails via localhost with PHP
$to = \"somebody@example.com, somebodyelse@example.com\";
$subject = \"HTML email\";
$message = \"<html>TEST</html>\";
$headers =...
-
January 6th, 2012, 08:28 AM
There are sites that are hosted at several servers. Therefore I have 2 tables in my database as follows:
DB SERVERS
----------------
ID_SV - primary key
NAME
DB data:
1 BRSev1
2...
-
January 29th, 2011, 09:39 AM
Cake works routing things as
Router::connect('/', array('controller' => 'MYCONTROLLER', 'action'=> 'MYACTION'));
So I´d access it typing www.site.com/MYCONTROLLER/MYACTOIN
What I need is to...
-
January 24th, 2011, 06:31 PM
I have a form like this:
<form id="form1" name="form1" method="post" action="">
<input type="checkbox" name="checkbox[]" id="checkbox[]" value="1" /> Item 1
<input type="checkbox"...
-
January 20th, 2011, 01:56 PM
Thanks.
This is my final code
$checkboxes = array();
$i=0;
foreach ($_POST['myCheckbox'] as $index => $checkbox) {
if(!empty($_POST['fone'][$index])){
$checkboxes[$i] =...
-
January 20th, 2011, 08:15 AM
This was what I did:
$checkboxes = array();
foreach ($_POST['myCheckbox'] as $index => $checkbox) {
$checkboxes[$index] = $checkbox.",".$_POST['fone'][$index];
}
...
-
January 19th, 2011, 12:20 PM
that just gives me Array ( [0] => 4 [1] => 1 [2] => 2 [3] => 3 ) but where are the phone values?
See?
I´d need something like this:
Array ( [0] => 4, 8765-8976 [1] => 1, 333-2222 [2] => 2,...
-
January 19th, 2011, 08:44 AM
I have a form like the following
<form action="" method="post" name="fcds">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td>TYPE</td>
<td>PHONE</td>
</tr>
-
January 8th, 2011, 09:09 AM
I have a folder called "pdf" placed outsite public_html folder so files cannot be accessed via url
In that pdf folder I have a .htaccess with "deny from all"
In my index.php I have
<a...
-
September 14th, 2010, 07:24 AM
My web.config
<sessionState mode="InProc" />
My Global.asax
void Session_Start(object sender, EventArgs e)
-
September 14th, 2010, 07:20 AM
My web.config
<sessionState mode="InProc" />
My Global.asax
void Session_Start(object sender, EventArgs e)
-
August 17th, 2010, 03:45 PM
I have 2 InnoDB tables: clients and domains
I´m trying the following:
ALTER TABLE clients ADD CONSTRAINT fk_clients_domains
FOREIGN KEY (id_cli)
REFERENCES domains (id_cli)
I get...
-
June 18th, 2010, 01:05 PM
-
June 14th, 2010, 09:00 AM
If I place that under my root dir I get redirected to www.myapplication.com/public/ and I also get a 500 error:
Internal Server Error
The server encountered an internal error or misconfiguration...
-
June 11th, 2010, 02:17 PM
I´m using Zendframework to build my application.
Its based on a MVC structure
application
library
public
To access my application I have set up my bootstrap.php file and I access it typing...
-
March 31st, 2010, 10:36 AM
Exactly...what should I do then to be able to do that?
-
March 31st, 2010, 09:08 AM
Perfect. Thanks a lot.
Is there a way to know the biggest value from that same query?
Something like "ORDER BY SUM() DESC"
-
March 31st, 2010, 08:02 AM
I have a database:
Total date
10 2010-01-10
12 2010-01-12
15 2010-02-15
22 2010-02-22
34 2010-02-23
|
Click Here to Expand Forum to Full Width
|