|
by: Xaradas |
last post by:
Someone could tell me why preg_replace eat a slash when it do replacement?
<?
$stringToReplace = "blah blah {nome} blah blah";
$replacement = "Two slash: \\\\";
$stringToReplace =
preg_replace("/{nome}/Us",$replacement,$stringToReplace,1);
echo($stringToReplace);
#
|
by: steve |
last post by:
Anyone knows a good script that basically delivers functionality
similar to slash dot? I use phpnuke, but am thinking if there is
something better out there written in php.
--
Posted using the http://www.dbforumz.com interface, at author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.dbforumz.com/PHP-slash-dot-script-ftopict199369.html
Visit Topic URL to contact author (reg. req'd). ...
|
by: Stephen Ferg |
last post by:
I have a question that is not directly Python-related. But I thought
I'd ask the most erudite group that I know... :-)
When did Windows start accepting the forward slash as a path separator
character?
At one time, it was accepted as a truism that Windows (like MS-DOS)
was different from Unix because Windows used the backslash as the path
separator character, whereas Unix used the forward slash.
|
by: eloymaster |
last post by:
Hi!
I do have a problem while retrieving the AccountName of Members of a Active Directory-Group.
I get the members with the DirectorySearcher (of the System.DirectoryServices namespace).
It all works well with member-entries like:
"CN=blablabla,OU=Users,OU=xxx,OU=xx,DC=xx,DC=xxxxxx,DC=com"
or
"CN=lastname\,firstname info&X moreinfo-A,OU=Users,OU=xxx,OU=xx,DC=xx,DC=xxxxxxx,DC=com"
|
by: Greg Collins [Microsoft MVP] |
last post by:
In reviewing my web site statistics, I see that I get 404 errors (often enough to make me ask about it) when users try to click on a link to a secure external site (i.e. an https:// link).
I've tested these links multiple times, and they always work fine for me. Other links do not seem to have trouble. It seems to be related to "https://" for some reason. I get this for another site too.
The statistics page shows the 404 failed link with...
|
|
by: fredo |
last post by:
I have in my page:
<base href="http://www.simple-nude.com/">
and later want to direct a visitor to, say,
http://www.simple-nude.com/today/hippie-goddess/15b.jpg
It seems that the link text can read as either of:
|
by: Kberg |
last post by:
In case anyone is interested, this is how I solved the problem of
replacing a back slash with a forward slash (as in being able to access
a document on a file share on an intranet via a browser)
if you cut and paste a path from windows explorer
\\myshare\mydir\mydoc.txt into a form textbox, you can use the
following code to transform it into something usable by a browser:
mytxt = document.myForm.myTextBox.value;
mytxt =...
|
by: Perl Beginner |
last post by:
Hi,
Is there a way to find a line in a text file that starts with a forward slash? This is how i find a line in text file that starts with a word and then print that line to another text file:
open( FILE, "<$file" );
open( COPIED_FILE, ">$copiedfile" );
while( <FILE> )
{
$templine = $_;
if ($templine =~ m/DELTA\//)
|
by: Ilya |
last post by:
Hi, all!
Some weird thing happens...
I'm trying to create a shortcut programmatically in C#. I need to
create a shortcut with the "target" parameter using slash. Actually
I'm creating a shortcut to a file using command line arguments, smth
like:
"C:\PATH\MyFile.exe" /param1
The problem is that when I create a shortcut the regular slash that
comes before param1 changes to backslash. I checked it in the
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|