Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
replace
- Page 1
Re: Cannot run exe from asp.net
Programming
Web Development
2 Weeks Ago
by lennyli
…socket.AF_INET, socket.SOCK_STREAM) client_socket.connect(('REMOTE_IP_ADDRESS', 9999)) #
Replace
with the server's IP address while True: command = input…in main client_socket.connect(('192.168.0.2', 9999)) #
Replace
with the server's IP address ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ TimeoutError: [WinError …
How to connect to the Pinterest API using PHP?
Programming
Web Development
2 Months Ago
by FarrisFahad
… ... <?php $clientId = "xxx"; //
Replace
with your App ID $clientSecret = "xxx"; //
Replace
with your App Secret $redirectUri = "…
Running Apache Tomcat behind a IIS reverse proxy with SSL termination
Programming
Web Development
2 Months Ago
by riahc3
… to one spot or another. All of this is to
replace
a Netscaler Ive tried to setup this with ARR, URL…
Re: How old is your computer?
Hardware and Software
2 Months Ago
by SCBWV
2021 Dell XPS 8940 desktop, Intel i7 10700 2.9 GHz, 16 GB RAM, 1 TB SSD, 1 TB SATA HDD, NVidia GeForce GTX 1660 6 GB, Dell 27" U2720Q display I run at 3840x2160. I'm retired, so I didn't
replace
my laptop when it suddenly died.
Re: Will AI take jobs?
Digital Media
Digital Marketing
2 Months Ago
by Heatman
Yes of course, AI have been taking human jobs for a long time now and it's going to keep happening with how much our world is now relying on the use of technology and AI tools to
replace
human labor jobs. They still need human labor but it's now in lesser number.
Re: How to connect to the Pinterest API using PHP?
Programming
Web Development
2 Months Ago
by Dani
Never trust ChatGPT to write fully flushed out code for ya :) Pinterest uses OAuth to authorize your app on behalf of your app's end-user, if that makes sense. For example, your goal is for your end-user to load up your app, and have access to *their* Pinterest account. What OAuth does is give your end-user the ability to grant your app …
Re: How to connect to the Pinterest API using PHP?
Programming
Web Development
2 Months Ago
by Dani
Oh, it looks as if the tutorial was for the old DaniWeb API that no longer exists. The [DaniWeb Connect API](https://www.daniweb.com/connect/developers) is also OAuth-based and has some of its own documentation.
Re: Running Apache Tomcat behind a IIS reverse proxy with SSL termination
Programming
Web Development
2 Months Ago
by blud
IIS should be able to do this just fine - "Bad Gateway" actually has a lot of different subcategories in IIS, so the first thing is to figure out which of those sub categories this falls into. This can sometimes be defined on the error pages if they are enabled. Connection Timeout - This is generally the most common and usually has to …
Re: Custom Media Server
Hardware and Software
Linux and Unix
1 Month Ago
by Vince_6
I used Plex and a Mac for years to stream to my TV. When I switched to linux, PLex ran but couldn't find my media directories. I finally found a product called Emby. It has a server that runs and aps for many different divices. It even has one for my FireTV. Works great.
Re: Question/Answering over SQL Data Using LangGraph Framework
Programming
Computer Science
1 Month Ago
by Pelorus_1
Through its combination of natural language processing and structured query generation, LangGraph makes interfacing with databases and extracting insights over SQL data easier than ever.
Re: replace $v in a string with a random replacement
Programming
Web Development
12 Years Ago
by tpickett
…( 'racer', 'race car driver', 'racing', 'race team' );//array to
replace
$match with $search = "text"; //keyword to match n = &…quot;3"; //number of times to
replace
in artcle $str = 'this is example text. it has text…
Re: replace part of field with FIND IN SET
Programming
Web Development
11 Years Ago
by pritaeas
Replace
`replace1` with `table1`, same for 2.
Re: Replace page content jquery - tricky question
Programming
Web Development
12 Years Ago
by JJenZz
Replace
your `$('body').ready(` with `$(document).ajaxStop(`
Replace all % with %%
Programming
Software Development
14 Years Ago
by Legend32A
… function. Yet, I done this: [CODE]void
replace
(std::string& target, const std::string oldstr,…(x, newstr); } } string text = "% % %";
replace
(text, "%", "2A"); cout << text…loops forever: [CODE]string text = "% % %";
replace
(text, "%", "%%"); cout << …
Re: Replace all % with %%
Programming
Software Development
14 Years Ago
by L7Sqr
… instance:[code]original: "% % %" find("%") -> 0
replace
("%%") -> "%% % %" find("%") -> 0…;%%") -> "%%% % %" find("%") -> 0
replace
("%%") -> "%%%% % %"[/code]And so on. My …
Re: Replace from... to...
Programming
Software Development
13 Years Ago
by codeorder
…(xiStartIndex, xiEndIndex - xiStartIndex) '// extract content. myEntireCoolString = myEntireCoolString.
Replace
(myFoundCoolString, "something here to
replace
with") '//
replace
content. MsgBox(myEntireCoolString) '// get result.[/CODE]
Replace "
Programming
Web Development
17 Years Ago
by cancer10
Hey Does anyone knows how do I
replace
a " (double quote) in a string with nothing I …
Replace
Programming
Software Development
15 Years Ago
by nimmyliji
Hi, I am new to Python programming... I have a .txt file....... It looks like.. 0,Salary,14000 0,Bonus,5000 0,gift,6000 I want to to
replace
the first '0' value to '1' in each line. How can I do this? Any one can help me.... With sample code.. Thanks in advance. Nimmyliji
replace
Programming
Software Development
15 Years Ago
by kinyuadave
Is is possible to
replace
the shutdown.exe with another exe developed in vb.net that can shutdown the system.?
Replace from... to...
Programming
Software Development
13 Years Ago
by iisniperz
How to
replace
text from (abc) to (cba) in vb.net Example: [CODE]here is text (abc)random text here(cba)[/CODE]
Replace "\" by "(nothing)"
Programming
Web Development
12 Years Ago
by Sanchixx
How do you
Replace
"\" by "(nothing)"?
Re: Replace "\" by "(nothing)"
Programming
Web Development
12 Years Ago
by diafol
Try: echo stripslashes($str); But that'll only work with certain combos. Using it to
replace
\n etc won't work as expected. To get around most of these problems, enclose the string in single quotes '...'. $str = 'wkvcw\swfvwnl';
Re: Replace "\" by "(nothing)"
Programming
Web Development
12 Years Ago
by Sanchixx
I dont understand can this
replace
evrything in a php page. if i put this in a php page? I'm knew to php.
Re: Replace "\" by "(nothing)"
Programming
Web Development
12 Years Ago
by Sanchixx
Id like to
replace
"\" in a php page with this html code …
Re: Replace "\" by "(nothing)"
Programming
Web Development
12 Years Ago
by diafol
try: $file = "myfile.php"; $str = stripslashes(file_get_contents($file)); echo $str; May be unpredictable w.r.t results - perhaps a more focussed
replace
of \' or \" would be better?
Replace
Programming
Software Development
11 Years Ago
by bullet_1
want to
replace
Figure 1, Figure 2 and so on ........ with <a href="#fig1">Figure 1</a> plz help me thanks in advance
REPLACE syntax
Programming
Databases
13 Years Ago
by magicmarkuk
…right syntax to use near 'update posts set post_text =
replace
(post_text, '[/del]', '')' at line 2 Now from … have tried // i.e. update phpbb_posts set post_text =
replace
(post_text, '[//del]', '[//i][/b]') but this gives the …question is: I want to run a similar
replace
query to
replace
: [quote author="magicmarkuk" date="…
replace $v in a string with a random replacement
Programming
Web Development
12 Years Ago
by tpickett
… get array value 3. etc... public function replace_random ($str, $search, $
replace
, $n) { // Get all occurences of $search and their offsets within… $match) { $str = substr($str, 0, $matches[0][$match][1] + $offset).$
replace
[$arrayNum].substr($str, $matches[0][$match][1] + $searchLen + $offset); $offset…
Re: replace $v in a string with a random replacement
Programming
Web Development
12 Years Ago
by LastMitch
… n = "3"; //number of times to
replace
in artcle $str = 'this is example text. it …has text. wouldnt you like to
replace
this text? text is amazing';//string to analyze You…$str = substr($str, 0, $matches[0][$match][1] + $offset).$
replace
[$arrayNum].substr($str, $matches[0][$match][1] + $searchLen + $offset);
replace in time.asctime?
Programming
Software Development
16 Years Ago
by Seagull One
…import random import sys, time, math, string string = string.
replace
(":", " ") TimeStr = [ "…))[/CODE] but that gave an exception saying
replace
takes at least 3 arguments (2 given).…import speech import sys, time, math, string string = string.
replace
(time.asctime(),":", " ") TimeStr = …
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC